Summary
Working with Flash is an important role for JavaScript. Passing data, variables, functions, and other information between an SWF file on an HTML page and the HTML page itself enables data from multiple sources to be used interchangeably. Having the capability to call JavaScript functions from Flash using the getURL("javascript:jsfunction()") action enables Flash to have most of the power that JavaScript has in working with HTML pages.
Unfortunately, limited exchange between Flash and JavaScript, even with the fscommand action, does not allow the kind of full exchanges between the SWF file and JavaScript as would be desired. Currently, only Netscape Navigator 4.x provides a platform on which JavaScript can receive and use data from Flash. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access