[Flashcoders] problem passing url variables to flash
look guys thanks but it seems not to work , the problem is when it loads the movie launch the movie clip which is not supposed to be until I click on the link in the text file. the code in the swf object is var so = new SWFObject(container.swf, sotester, 100%, 100%, 8, #FF6600); so.addParam(scale, noscale); so.addVariable(video, getQueryParamValue(video)); so.write(flashcontent); in the action script is : var video1= nbc6; var video = _root.video; if (video1 == video){ this.videoLoader.gotoAndPlay(2); } and the link is fullpage.html?video=nbc6 so far the event launch by itself without using the link. and this is in the second movie ( I mean the script) it should've done in the main container?...I neep help guys any ideas Gustavo Duenas Creative Director LEFT AND RIGHT SOLUTIONS LLC 1225 w. Beaver St. suite 119 Jacksonville, FL 32204 904 . 2650330 www.leftandrightsolutions.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] problem passing url variables to flash
var video1= nbc6; Did you mean to type: var video1 = nbc6; James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Gustavo Duenas wrote: look guys thanks but it seems not to work , the problem is when it loads the movie launch the movie clip which is not supposed to be until I click on the link in the text file. the code in the swf object is var so = new SWFObject(container.swf, sotester, 100%, 100%, 8, #FF6600); so.addParam(scale, noscale); so.addVariable(video, getQueryParamValue(video)); so.write(flashcontent); in the action script is : var video1= nbc6; var video = _root.video; if (video1 == video){ this.videoLoader.gotoAndPlay(2); } and the link is fullpage.html?video=nbc6 so far the event launch by itself without using the link. and this is in the second movie ( I mean the script) it should've done in the main container?...I neep help guys any ideas Gustavo Duenas Creative Director LEFT AND RIGHT SOLUTIONS LLC 1225 w. Beaver St. suite 119 Jacksonville, FL 32204 904 . 2650330 www.leftandrightsolutions.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com