Forum Moderators: open

Message Too Old, No Replies

Flash working javascript

can it work?

         

electricocean

6:56 pm on Dec 3, 2004 (gmt 0)

10+ Year Member



If I have a flash document on my webpage and in the flash, in the actionscript file, can I have a link to a javascript function?
heres the function I want: " javascript:newFrame('no.html') ". can flash call upon the javascript file?

whoisgregg

7:23 pm on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<added>  Yes, you can do that. :)   </added>

You want to learn about FSCommand, and probably the best place to start is at the Macromedia site:

"An example of communication between JavaScript and Macromedia Flash"
[macromedia.com...]

After that, try searching around the web for "fscommand" and you'll find a lot of helpful tutorials. I personally have bookmarked moock's tutorial for when I need to remind myself. :)