PDA

View Full Version : Running Flash functions



???
01-15-2008, 04:23 AM
I was wondering how you run Flash functions from JS. I thought it was something like:

document.getElementById ("myFlash").myFunc ();
Also, the examples in Flash don't work. Am I dong something wrong or is it my browser prefs? Also, in Flash I can run JS.

beeps
01-15-2008, 07:47 AM
Here its mentioned. Its purely as1 based and would not work on non-windows platform.

http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html

???
01-17-2008, 03:13 PM
Could someone make an example of external interface from JS to AS? Also, I'm wondering if you need Flash 8 Pro?