Re: [Flashcoders] update to Flash - JavaScript API since FP5?

2006-01-10 Thread Jim Kremens
I know you know about ExternalInterface, but the addCallback method
makes this method of communication obsolete.

//name of method, scope where method exists, actual method to be called
ExternalInterface.addCallback(sayHiToFlash, this, callBackMethod);

Once you've added the callback, javascript has access to it.  So, from
javascript, you can set variables, call methods - whatever - in any
class or timeline you choose.

I don't know if TCallLabel still exists (I hope not), but even if it
does, this is much better...

Jim Kremens

On 1/9/06, Mike Lyda [EMAIL PROTECTED] wrote:

 I'm trying to confirm that the API used to communicate with the Flash Player
 (via JavaScript for example) hasn't changed since this document was created:
 http://www.macromedia.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html

 I know about the Flash Integration kit and the External Interface... I'm 
 tasked
 with finding out specifically if things such as TCallLabel have changed at all
 from Flash Player 5 through 8.  According to that doc nothing has changed, and
 I can't seem to find another doc that replaces it.



 __
 Yahoo! DSL – Something to write home about.
 Just $16.99/mo. or less.
 dsl.yahoo.com

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



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


[Flashcoders] update to Flash - JavaScript API since FP5?

2006-01-09 Thread Mike Lyda

I'm trying to confirm that the API used to communicate with the Flash Player
(via JavaScript for example) hasn't changed since this document was created:  
http://www.macromedia.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html

I know about the Flash Integration kit and the External Interface... I'm tasked
with finding out specifically if things such as TCallLabel have changed at all
from Flash Player 5 through 8.  According to that doc nothing has changed, and
I can't seem to find another doc that replaces it.



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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