nickg331 Posted November 10, 2007 Share Posted November 10, 2007 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 https://www.insanelymac.com/forum/topic/70740-load-query-strings-into-flash-doc/ Share on other sites More sharing options...
osxfan156 Posted November 11, 2007 Share Posted November 11, 2007 Easy. Have the php output like this: &imgUrl=IMG URL HERE And for flash, EDIT: sorry i cant do it, i deleted it and im busy, ask someone elso for this. Link to comment https://www.insanelymac.com/forum/topic/70740-load-query-strings-into-flash-doc/#findComment-503021 Share on other sites More sharing options...
nickg331 Posted November 12, 2007 Author Share Posted November 12, 2007 thanks, but i understood what to do with the php. it's the actionscript i need Link to comment https://www.insanelymac.com/forum/topic/70740-load-query-strings-into-flash-doc/#findComment-503244 Share on other sites More sharing options...
nickg331 Posted November 14, 2007 Author Share Posted November 14, 2007 anyone? Link to comment https://www.insanelymac.com/forum/topic/70740-load-query-strings-into-flash-doc/#findComment-506377 Share on other sites More sharing options...
mactwister Posted December 6, 2007 Share Posted December 6, 2007 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 https://www.insanelymac.com/forum/topic/70740-load-query-strings-into-flash-doc/#findComment-529976 Share on other sites More sharing options...
Recommended Posts