Click to See Complete Forum and Search --> : How do I pass variables to a flash SWF?


trailmusic
12-14-2008, 09:40 AM
Does anybody know how I could pass a simple variable to an embedded flash movie.

For example ,


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://macromedia.com/cabs/swflash.cab#version=4,0,0,0"
ID=flaMovie WIDTH=500 HEIGHT=500>
<PARAM NAME=movie VALUE="broadcast.swf?username=test">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=stream VALUE=testthis>
<EMBED src="broadcast.swf?username=test" bgcolor=#99CC33 WIDTH=500 HEIGHT=500
TYPE="application/x-shockwave-flash"
stream="testthis">
</EMBED>
</OBJECT>


In ActionScript, how would I then call the variable "username" or the variable "stream" ??

Does anybody know?

infinityspiral
12-20-2008, 01:04 AM
Check this out: http://www.webdeveloper.com/forum/showthread.php?t=197951