calling a variable from html.... how does that work?
Ok I am new to heavy actionscripting. However there must be a way to do this.
For instance www.mysite.com.var1var2var3var4var5
Please someone point me towards the right direction.
Thanks for the wisdom.
Agent Smith: I want everything.
Morpheus: Would that include a bullet from this gun?
You can specify the variables in the html embed tags...
...to get them into Flash.
I have the same pb and this solution doesn't work (the variable stay empty).
I have an idea with getURL() or loadVariables()... I'm testin' and be back...
Thats exactly what i am needing!
how does that syntax look?
something like this maybe?
The embed code will look like this.....
document.write ('<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" '
+'WIDTH=750 HEIGHT=500> <PARAM NAME=movie VALUE="knock.swf'+document.location.search+'">'
+'<PARAM NAME=quality VALUE=high>'
+'<EMBED src="knock.swf' +document.location.search+'" '
+'quality=high WIDTH=750 HEIGHT=500 '
This will get any variable specified in the urlstring into Flash.
Thank you very much, I will use that code in the future. I am trying to pass variables from a swf one frameset to a swf frameset another in Internet Explorer on the mac and it seems to be impossible...
Click Here to Expand Forum to Full Width
Poll by Flashkit.com