I'm trying to get javascript to call a function within my actionscript, but I can't seem to find anything to tell me how. I can set and get variables and change frames etc but I can't seem to make the javascript call an actual function. Any ideas?
dont know if that is possible because what you would be doing is handing over flash to javascript
i suppose you could pass as a variable eg "loadmovie". have flash check for the variable value then execute a function depending on that value.
Yeah, I pretty much figured that was the only way. I ended up setting a variable and using setInterval to check for it. Do you know how much stress a setInterval will put on memory or anything else if it is continually running?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.