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 Duenas wrote:
thanks man, I'm using swfobject to have my swf ...this would be great....but 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 = _root.video;
if (video1 = video){
    tellTarget(this.videoLoader){
        gotoAndPlay(2);
    }
}


regards





On Jan 24, 2007, at 4:29 PM, Geoff Stearns wrote:

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.addVariable("myothervar", getQueryParamValue("myotherurlvar"));
so.write("target");

get it here:
http://blog.deconcept.com/swfobject/




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 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.com/flash.swf? var1=value1&var2=value2&varn=valuen (its ugly but works :)
or javascript might save your day (search archives/google)







itseveryday.ro
iashido.com



On Jan 24, 2007, at 10:48 PM, Gustavo Duenas wrote:

I don't think this guys have the php....do 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=<?php print $_GET['sn']; ?>&fe=<?php print $_GET['fe']; ?>"> <PARAM...

...
<PARAM NAME=movie VALUE="voila.swf?sn=<?php print $_GET ['sn']; ?>&fe=<?php print $_GET['fe']; ?>"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="voila.swf?sn=<?php print $_GET['sn']; ?>&fe=<?php print $_GET['fe']; ?>" menu=false quality=high bgcolor=#FFFFFF 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 want


hope this is what ur looking for







itseveryday.ro
iashido.com



On Jan 24, 2007, at 10: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.


--- Gustavo Duenas <[EMAIL PROTECTED]>
wrote:

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);
    }
}


and this is the link in the text message:

fullpage.html?video=nbc6

I'd appreciate your help.



Thanks


Gustavo Duenas
_______________________________________________



_______________________________________________
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

Reply via email to