• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Calling All Javascript!

At first, you may think that calling a JavaScript function from Flash is difficult, but it’s really not. Knowing JavaScript itself is going to be the hardest part about this tip. If you have a JavaScript function defined on the same HTML page where your Flash movie is embedded, then all you have to do is put the following code in your document.

On a button or movie clip instance:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint