I have 2 Flex Applications, Login.mxml and Main.mxml.  Login.mxml
handles the use Login and upon a successful authentication (with
Spring Security), I want to load Main.mxml (Main.html which contains
Main.swf)

After a successfully logging in with spring security, from Login.mxml
I load the main app like so:


var url:URLRequest = new URLRequest(Main.html");
var uv:URLVariables = new URLVariables();
url.method = "POST";
uv.UserName = username;  // string var                         
navigateToURL(url,"_self");

Main.html (containing Main.swf) loads successfully, but I am unable to
extract the desired parameters.  I want to pass the logged in user
info from Login to Main.

How do I access these URLVariables from the newly loaded Application?

What is the best (simplest!) way to do this?

Thanks 




Reply via email to