Hi. I'm struggling with ExternalInterface in an old AS1 project while trying to get SWFAddress to work. The calls to the JavaScript never make it, and I've traced it to this in the SWFAddress.as:

if (this._availability && SWFAddress._init) {
  flash.external.ExternalInterface.call('SWFAddress.setValue', value);
}

Where this._availability is false (or null) - it get's set at the start of the .as file like this:

this._availability = flash.external.ExternalInterface.available;

Do I need to do anything special in AS1 to enable ExternalInterface? I'm setting allowScriptAccess in the params. Any tips much appreciated.

Thanks,

Morten


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to