FlashVars - Tutorials are not working!

Hey Guys - I’ve followed about 10 different tutorials to access FlashVars including this one (http://www.kirupa.com/forum/showthread.php?p=2110835) and nothing is working for me.

Here is my as3 code:


public function Nav():void {
   var valueStr:String = root.loaderInfo.parameters.thisPage;
   
   switch(valueStr) {
    case "home":
     originalX = homeX;
     originalWidth = homeWidth;
     break;
    case "myServices":
     originalX = myServicesX;
     originalWidth = myServicesWidth;
     break;
    case "support":
     originalX = supportX;
     originalWidth = supportWidth;
     break;
    case "resources":
     originalX = resourcesX;
     originalWidth = resourcesWidth;
     break;
    default:
     originalX = homeX;
     originalWidth = homeWidth;
     isSubpage = true;
     lineMC.blue.alpha = 0;
     break;
   }
.
.
.

And my HTML code (I’ve also tried it the FlashVars way):


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="1083" height="132" id="navigation" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="navigation.swf?thisPage=home" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#ffffff" />
        <embed src="navigation.swf?thisPage=home" quality="high" bgcolor="#ffffff" width="1083" height="132" name="navigation" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>

Can anyone help?