Demon70
asked on
Get Variables through flash name
Hello,
I need to get variables from Hmtl file.
I use the next method:
<PARAM NAME=movie VALUE="300x250.swf?url=tes t">
but cannot get it variable (url) in flash!!!
Maybe I can import it, "LoadVariables"?
Thanks...........Alex
I need to get variables from Hmtl file.
I use the next method:
<PARAM NAME=movie VALUE="300x250.swf?url=tes
but cannot get it variable (url) in flash!!!
Maybe I can import it, "LoadVariables"?
Thanks...........Alex
That trace wont work sorry, as you would need the flash in a browser, where the trace command would do nothing. Add a dynamic text box on the main timeline, with the variable name set as url, then pass the url into the flash as you have done. I've just tried this and it works well.
Sicknote
Sicknote
ASKER
I use 5 version.
When I insert trace(url); , I don't get any results, window "Output" was blank. It's because I've ran script at the Macromedia Flash and can't to declare this var "url".
I've made html file and at once set my test variables info (just textfield) this value url: _root.info=url, and it's field was blank again. :/
In the html file I written file.swf?url=testname
When I insert trace(url); , I don't get any results, window "Output" was blank. It's because I've ran script at the Macromedia Flash and can't to declare this var "url".
I've made html file and at once set my test variables info (just textfield) this value url: _root.info=url, and it's field was blank again. :/
In the html file I written file.swf?url=testname
ASKER
Ok,
I did it, but not successfully :/
But I note, what it work at the NN and don't work at the IE!!!
I did it, but not successfully :/
But I note, what it work at the NN and don't work at the IE!!!
make sure you pass the "url=test" into the embed tag (for NN) and the param tag (for IE).
Sicknote
Sicknote
ASKER
<OBJECT classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=300 HEIGHT=250>
<PARAM NAME=movie VALUE="300x250.swf?url=http://www.yahoo.com"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#33FFFF>
<EMBED src="300x250.swf?url=http://www.yahoo.com" quality=high bgcolor=#33FFFF WIDTH=300 HEIGHT=250 TYPE="application/x-shockw ave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
In our office some computers with IE show right this test file, but some (my too) not. All we have Flash Player for IE 6 version.
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=300 HEIGHT=250>
<PARAM NAME=movie VALUE="300x250.swf?url=http://www.yahoo.com"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#33FFFF>
<EMBED src="300x250.swf?url=http://www.yahoo.com" quality=high bgcolor=#33FFFF WIDTH=300 HEIGHT=250 TYPE="application/x-shockw
</OBJECT>
In our office some computers with IE show right this test file, but some (my too) not. All we have Flash Player for IE 6 version.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<OBJECT classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=300 HEIGHT=250>
<PARAM NAME=movie VALUE="300x250.swf?url=http://www.yahoo.com"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#33FFFF>
<EMBED src="300x250.swf?url=http://www.yahoo.com" quality=high bgcolor=#33FFFF WIDTH=300 HEIGHT=250 TYPE="application/x-shockw ave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
In our office some computers with IE show right this test file, but some (my too) not. All we have Flash Player for IE 6 version.
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=300 HEIGHT=250>
<PARAM NAME=movie VALUE="300x250.swf?url=http://www.yahoo.com"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#33FFFF>
<EMBED src="300x250.swf?url=http://www.yahoo.com" quality=high bgcolor=#33FFFF WIDTH=300 HEIGHT=250 TYPE="application/x-shockw
</OBJECT>
In our office some computers with IE show right this test file, but some (my too) not. All we have Flash Player for IE 6 version.
I've used that querystring type syntax for ages.
What version of flash are you exporting to?
Sicknote