Jump to content

load query strings into flash doc


nickg331
 Share

5 posts in this topic

Recommended Posts

hi. I need a flash doc that can load variables set in a query string, such as an image file name, and then display that image.

 

I've read this:

 

http://www.permadi.com/tutorial/flashQueryString/

 

and understand the theory, but what would the exact actionscript be to load the query string? i would have a url like www.asdf.com/index.html?imageFilename=images/image1.jpg and then the flash document would display that image.

 

thanks for any help.

Link to comment
Share on other sites

  • 3 weeks later...

Im not sure, but isnt it something like

 <EMBED src="flaMovie1.swf?imageFilename=images%2Fimage1%2Ejpg" .....

 

then in ur action script variables go to _root is wat i understand.

 

like loadMovie(_root.imageFilename); function. i duno that tutorial u linked. explains it well. I dont have time to try it but in a few days i could?

Link to comment
Share on other sites

 Share

×
×
  • Create New...