I need help loading values into a dynamic textfield embedded in movie clip symbol of a flash
movie. My code works if the dynamic text field is not in a movie
clip symbol. But as soon as i put the dynamic textfield in a movie
clip it doesn't work. Here's my code.
<title>movie< /title>
<script language = "JavaScript" ><!--
window.onload =function Flash(){
window.document. welcomez. SetVariable( "firstname" , "hello");
}
//--></script>
</head>
<body bgcolor="#ffffff" >
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about: internet -->
<object classid="clsid: d27cdb6e- ae6d-11cf- 96b8-44455354000 0"
codebase="
http://fpdownload. macromedia. com/pub/shockwav e/cabs/flash/ s
wflash.cab#version= 7,0,0,0" width="640" height="240" id="welcomez"
align="middle" >
<param name="allowScriptAc cess" value="sameDomain" />
<param name="movie" value="welcomez. swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" /><embed
src="welcomez. swf" quality="high" bgcolor="#ffffff" width="640"
height="240" name="welcomez" align="middle"
allowScriptAccess= "sameDomain" type="application/ x-shockwave- flash"
pluginspage= "
http://www.macromed ia.com/go/ getflashplayer" />
</object>
</body>
</html>
Name is the name of the movieclip.
firstname is the variable name of the dynamic textfield.
i tried _root.Name.firstnam e but it doesnt work.