Home > Uncategorized > Flash and the query string

Flash and the query string

May 27th, 2006 Randy

I was trying to determine a way to pass on query string values to Flash as a web page loads. Since the application is compiled to Flash 8, I was considering using javascript to parse the name value pairs out and use Flash 8′s new externalInterface to get the value into Flash. Instead I implemented Adobe’s fix which is designed to deal with Microsoft’s new active content rules (http://www.adobe.com/devnet/activecontent/). The new technique uses javascript to embed the content in the page. I take advantage of this by parsing the relevant data from the query string and pass it on to the Flash obejct using FlashVars. The properties are available to Flash immediately on loading and there is no need for using the externalInterface class.

Categories: Uncategorized Tags:
Comments are closed.