0

I search almost the internet but not find the solution.

I just use ExternalInterface.addCallBack() in AS3, and it throws exception when I loaded this swf by Chrome or FireFox. But it's ok with IE.

The code I used( the last example in this AS3 reference page )

I modified the allowScriptAccess to "always" and added Security.allowDomain( "*" )

Browsers' version:

IE: 8.0.6001.18702CO

Chrome: 27.0.1453.94 m

FireFox: 7.0.1

How to fix this iusse?

Thank you for your time.

Zachary
  • 127
  • 1
  • 2
  • 15

1 Answers1

2

A guess: Are you hitting a file: URL from your browser? Instead, use an http: URL (which of course means either running an HTTP server locally, or copying the files to a remote HTTP server).

Mike Morearty
  • 9,953
  • 5
  • 31
  • 35