# loaderInfo/flashvars not working

**URL:** <https://forum.kirupa.com/t/loaderinfo-flashvars-not-working/252910>\
**Category:** flash\
**Created:** [February 25, 2008, 10:03am UTC](https://forum.kirupa.com/t/loaderinfo-flashvars-not-working/252910 "2008-02-25T10:03:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![no\_support](https://avatars.discourse-cdn.com/v4/letter/n/85f322/32.png) [@no\_support](https://forum.kirupa.com/u/no_support)\
**Post date:** [February 25, 2008, 10:03am UTC](https://forum.kirupa.com/t/loaderinfo-flashvars-not-working/252910/1 "2008-02-25T10:03:29Z")

</div>

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](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](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 ?
