i have a file named: 394354.html
In it is the following code:
codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0” width=“900” height=“900” id=“LoaderExample” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“allowFullScreen” value=“false” />
<param name=“movie” value=“LoaderExample.swf?notes=394354” /><param name=“quality” value=“high” /><param name=“bgcolor” value="#ffffff" /> <embed src="LoaderExample.swf?notes=394354" quality=“high” bgcolor="#ffffff" width=“900” height=“900” name=“LoaderExample” align=“middle” allowScriptAccess=“sameDomain” allowFullScreen=“false” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
I tried to access the Query string via:
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
the_text.text = paramObj.notes;
That is part of the source in the LoaderExample.swf.
And all I get is a “Parameter text must be non-null” error. I’ve alternatively tried the FlashVars method using additional <param> and <object> tags but i get the same error. What is going on with Actionscript 3? is this a bug? What am I doing wrong? Do the 5 or 6 tutorials i’ve read leave some important detail out ?