Hello, In as2 it was very easy to access query string just using _root, but this doesn't seem to work on as3.
<embed src="loaderInfoExample.swf?a=123" quality="high" bgcolor="#0000ff" width="250" height="50" name="loaderInfoExample" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
How do i access value of a? I tried it with _root as well as in flash client tried this :-
userNameTextField.text=root.loaderInfo.parameters.a;
But both doesn't seem to work. What can be the problem?