Using Flash CS3 pro, trying to load a Flex based swf into a non-Flex swf and
pass a query string to the Flex application. Simple enough in theory, using
a Loader just point at the file and load. Add the loader to the stage and
all is good.
Now for the query string. Add it to the path ..
var request:URLRequest = new URLRequest(path+"?data=true");

and launch. Error #2035: URL Not Found. Ok, well lets launch this in debug
mode... wait, that works? Yep, launching with the debugger and my file
loads, gets the data and all is good.

Just to add to this, I have a Captivate widget that basically does exactly
this and it also works fine running in a published Captivate project. It has
the same code with the query string and all. Note that I also tried using
URLVariables instead of the string with no change.

Anyone have any ideas what is going on here?
Flashcoders mailing list

Reply via email to