Hi,
I am trying to pass a variable in Flash(MX2004) but struggling with it.
can anyone please point out my fault,I am very bad at scripting.
This is my code in html:
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0” width=“550” height=“400” id=“dtext” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain”>
<param name=“movie” value=“dtext.swf?texts=welcome”>
<param name=“quality” value=“high”>
<param name=“bgcolor” value="#ffffff">
<embed src=“dtext.swf?texts=welcome” quality=“high” bgcolor="#ffffff" width=“550” height=“400” name=“dtext” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>
and this is my code in flash:
_root.onLoad();
main.loadMovie(_root.texts);
where ‘main’ is a movie clip which conatins a variable called ‘texts’ to show the text entered in the html
Thanks very much.
kedar