Pass your parameter on the URL. The sub-app can pick it up of the url.
I am sorry, Alex, but it doesn't work, the parameter is not received by the called application.
private function uploadSWF():void
if (uploadFile == true)
var url:Object = "http://syyzas400/ShipmentInquiry/ShipmentDetails.swf#TrackNbr=''&Carrier=''&Session=" + userSession;
Called app code (during the initialize phase):
bm = BrowserManager.getInstance(); bm.init("", "Welcome!");
var o:Object = URLUtil.stringToObject(bm.fragment, "&");
TrackNbr = o.TrackNbr;
Carrier = o.Carrier;
userSession = o.Session;
userSession is null here, even if it has a value when the URL is created in host app.
To pass on the URL to a child SWF, use real URL params:
&Session=" + userSession;
Then pick them up off of Application.parameters. Don't use BrowserManager
Thanks, Alex... I will definitely give it a try.