Hi there, I'm passing a variable to my swf through a query string like this:

htp://www.mydomain.com/index.html?passedPage=180

I have my main AS2 class that is the root class and have tried to access the variable like this:

                trace("====PASSPAGE SET:"+this["passedPage"]);
                trace("====PASSPAGE SET:"+_level0.passedPage);
                trace("====PASSPAGE SET:"+_root.passedPage);

each of these traces returns undefined.

I am compiling this SWF using MTASC which means I can't write the var as passedPage as MTASC says this is an unknown variable.

I have tried declaring passedPage as a public variable within the class though I still can't access it.

Any suggestions much appreciated.

Thanks
Ali


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to