Oh, I thought I replied here to say I figured it out (kind of), guess I replied somewhere else. So I found that this problem only happened when launching non-debug from the Flash IDE. If I published and ran the swf standalone it worked fine. Strange issue.
Thanks. On Thu, Jun 25, 2009 at 7:32 PM, Ktu <ktu_fl...@cataclysmicrewind.com>wrote: > I have an idea, not much of one, but worth checking? > > Publish everything and test it live. > You never know, sometimes stuff like that happens. > (supposing you haven't already tried that) > > Ktu > > > On Thu, Jun 18, 2009 at 6:45 PM, Steve Mathews <happy...@gmail.com> wrote: > > > 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 > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders