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

FSCommand

The other way to call a JavaScript command from Flash is the FSCommand. The FSCommand in Flash 5 is an interesting thing. It can be used to access a specific JavaScript function, or it can be used to control the standalone Flash Player. Note FSCommand doesn't work in Netscape 6 (which is why I don't use FSCommand), but future versions of Flash should fix this.

Let's look at the way to access JavaScript via fscommand. It's not the way I recommend accessing JavaScript from Flash—getURL is easier. We'll go over it just so you know.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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