Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Glen Pike
Hi, Sorry, my last email to the list had a typo: //Wrong! // == for comparison!! if (video1 *==* video){ this.videoLoader.gotoAndPlay(2); } //Right // == for comparison!! if (video1 == video){ this.videoLoader.gotoAndPlay(2); } Glen Gustavo Duenas wrote: it seems not to

RE: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Hairy Dog Digital
lashcoders] passing url variables to flash movie thi is the message now is giving me error!! Operator '*=' must be followed by an operand and this is the action script I'm using: var video1 = nbc6; var video = _root.video; if (video1 *==* video){ this.videoLoader.gotoAndPlay

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
it seems not to work and the flash told me that *= must be followed by an operand would you write me the whole code, the one for the swfobject and the one for the flash...I'd appreciate. Gustavo On Jan 24, 2007, at 5:17 PM, Glen Pike wrote: so.addVariable("myvar" is video) Gustavo Duena

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
thi is the message now is giving me error!! Operator '*=' must be followed by an operand and this is the action script I'm using: var video1 = nbc6; var video = _root.video; if (video1 *==* video){ this.videoLoader.gotoAndPlay(2); } the link in the text said; fullpage.html?video

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Glen Pike
Hi, Apologies for the last email - overexcitable mouse finger... so.addVariable("video", getQueryParamValue("video")); ActionScript. // == for comparison!! if (video1 *==* video){ this.videoLoader.gotoAndPlay(2); } } Gustavo Duenas wrote: thanks man, I'm using swfobject

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Glen Pike
so.addVariable("myvar" is video) Gustavo Duenas wrote: thanks man, I'm using swfobject to have my swf ...this would be greatbut if my libnk is fullpage.html?video=nbc6 the so.addVariable("myvar" is video), getQueryParamValue("myurlvar" is nbc6) right? and it is correct the code ffor th

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
thanks man, I'm using swfobject to have my swf ...this would be greatbut if my libnk is fullpage.html?video=nbc6 the so.addVariable("myvar" is video), getQueryParamValue("myurlvar" is nbc6) right? and it is correct the code ffor the action script ? var video1 = nbc6; var video = _roo

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Thomas Fowler
Was wondering when Geoff would chime in on that ;) - Original Message - From: "Geoff Stearns" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, January 24, 2007 3:29 PM Subject: Re: [Flashcoders] passing url variables to flash movie wow yo

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
and which is the code to read those in flash...actionscript I mean. Regards Gustavo On Jan 24, 2007, at 4:12 PM, iashido wrote: dont know in asp (but on my prev research i found many simple .asp examples on google) look at the url then in flash i have sn and fe variables that will be fi

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Geoff Stearns
wow you are all making this much harder than it has to be. If you use SWFObject to embed your swfs, it has a built in function that grabs vars from the url string. an example: var so = new SWFOBject("mymovie.swf", "mymovie", ...); so.addVariable("myvar", getQueryParamValue("myurlvar")); so.a

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread iashido
dont know in asp (but on my prev research i found many simple .asp examples on google) look at the url then in flash i have sn and fe variables that will be filled onfly when u swf its loaded http://www.iashido.com/test/test.php?sn=34&fe=var2 u can use get them in swf like that whatever.co

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
I don't think this guys have the phpdo you know how can I use this in html? regards Gustavo On Jan 24, 2007, at 3:41 PM, iashido wrote: sometime i use this ald allways work: ... VALUE="voila.swf?sn=&fe=$_GET['fe']; ?>"> ... WIDTH="100%" HEIGHT="100%" NAME="voila" ALIGN="" ..

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
mind you tell me how, I'm out of my league... Thanks Gustavo On Jan 24, 2007, at 3:26 PM, Joshua Sera wrote: You need to pass the variables in the GET query to flashvars in the object tag. You'll have to use JavaScript to write out the object tag, and insert the variables in the right place.

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread iashido
sometime i use this ald allways work: ... VALUE="voila.swf?sn=&fe=$_GET['fe']; ?>"> ... WIDTH="100%" HEIGHT="100%" NAME="voila" ALIGN="" ... then i changes the .html into .php and i have whatever.php?sn=value1&fe=value2 and i have in flash variable sn and fe and amm as many as u wan

Re: [Flashcoders] passing url variables to flash movie

2007-01-24 Thread Joshua Sera
You need to pass the variables in the GET query to flashvars in the object tag. You'll have to use JavaScript to write out the object tag, and insert the variables in the right place. --- Gustavo Duenas <[EMAIL PROTECTED]> wrote: > Hi Guys, I'm really concerned for this, Iknow this > might be ea

[Flashcoders] passing url variables to flash movie

2007-01-24 Thread Gustavo Duenas
Hi Guys, I'm really concerned for this, Iknow this might be easy for you, but I'm knocking my head against the wall. This is the code in the action script: var video1 = nbc6; var video = _root.video; if (video1 = video){ tellTarget(this.videoLoader){ gotoAndPlay(2);