That was it! Thank you so much!
On Nov 7, 2008, at 5:13 PM, Merrill, Jason wrote:
What .swf version are you publishing to? ExternalInterface was not
available until Flash 8.
Jason Merrill
Bank of America Instructional Technology & Media ยท GCIB &
Staff Support L&LD
Interested in Flash Platform technologies? Join the Bank of America
Flash Platform Developer Community
Interested in innovative ideas in Learning? Check out the
Innovative Learning Blog and subscribe.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Morten
Sent: Thursday, November 06, 2008 6:08 PM
To: [email protected]
Subject: [Flashcoders] AS1 and ExternalInterface.available
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
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders