Table of Contents
Integrating Flash with HTML, JavaScript and Ajax
FlashForward, New York City, July 2005
Christian Cantrell, Mike Chambers
Integrating Flash with HTML, JavaScript and Ajax
FlashForward, New York City, July 2005
Christian Cantrell, Mike Chambers
Integrating Flash with HTML, JavaScript and Ajax
Why integrate Flash /
HTML
/ JavaScript
Example
MXNA Category Click Report
Programming : Flash / JavaScript Integration Kit
What is it?
Supported Browsers
Supported Data Types
OS Flash
Licensing
Getting the Kit
Release
Latest Build
Source and bugs
Using the Kit
Installation
Calling an ActionScript function from JavaScript
Calling a JavaScript function from ActionScript
Getting Return Values from Function Calls
Retrieving JavaScript Browser Info from ActionScript
Known Issues
Bugs
Circular references
Variables with spaces in their names
Theoretical size limitations
65K for FlashVars
40K for LocalConnection
Undefined properties in JavaScript will probably not be serialized
Performance with debug player in Safari
Linking : Deep Linking in RIAs
Example (MXNA Category Click Report)
Why it’s important
REST
Searchability
The anchor method
The query string method
Sharing : View Source
Why?
Why view source is better in Flash than
HTML
Examples
Simple Flash Example
Simple Flex Example
MXNA Category Click Report
Adding view source to Flash
Adding view source to Flex
Generating view source