• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Flash ActionScript and JavaS... > Passing Variables from Flash 5 to Ja...

Passing Variables from Flash 5 to JavaScript

When the fscommand() statement was added to the Flash ActionScript lexicon way back in Flash 3, many developers were optimistic about easily passing variables from Flash to an HTML page via JavaScript. However, something happened along the way, and about the only browser around that supports the fscommand() and JavaScript is version 4 of Netscape Navigator. Tested on NN6.1, the fscommand() was not recognized in the browser, and while IE can handle a VBScript version of an fscommand() statement, it doesn’t respond to the JavaScript version.

In Flash, the fscommand() has this format:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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