...

View Full Version : Question About Text in Flash



j115
09-18-2009, 08:53 PM
I want to create a Flash file with text in it.

I want that text to be changeable based on the embed code. How do I do this?

Like, I would want the text to say Hi Bob if the embed flash code said:


<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" gtext="Hi Bob" width="550" height="400">
</embed>
</object>But, I want would it to say Whats Up if the embed flash code said:


<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" gtext="Whats Up" width="550" height="400">
</embed>
</object>How can I do this?

j115
09-20-2009, 02:14 PM
Anyone know?

lukedraik
09-20-2009, 05:47 PM
I actually don't know much about passing variables to Flash externally, but if you do src="somefilename.swf?gtext=Hi Bob the variable and its value will be passed to the Flash entity.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum