Re: [Flashcoders] AS1 and ExternalInterface.available

2008-11-10 Thread Morten


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 LLD
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: flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AS1 and ExternalInterface.available

2008-11-07 Thread Merrill, Jason
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 
LLD
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: flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS1 and ExternalInterface.available

2008-11-06 Thread Morten


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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders