I think, in my case, both apps did have same main.swf filename, but were inside 
different 
projects/paths.  I assumed the source path diff would still load the correct 
one, but it did 
not.

I'll make sure the swfs have different filenames and try again.

Thanks Alex!
Don


--- In [email protected], Alex Harui <[EMAIL PROTECTED]> wrote:
>
> Depending on how you are loading, you can't load a second app with the same 
> name 
"myapp"
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Don Kerr
> Sent: Sunday, November 23, 2008 2:23 AM
> To: [email protected]
> Subject: [flexcoders] SWFLoader source
> 
> 
> Can SWFLoader load an app not within the same project/site folder?
> 
> I have an application in http://www.mydomain.com/flex/project1/bin/myapp.swf
> 
> I want to use SWFLoader to load this app inside another app located in a 
> separate 
project2
> site folder
> 
> http://www.mydomain.com/flex/project2/bin/myapp.swf
> 
> But, when I use a full url as source, it doesn't load
> <mx:SWFLoader id="loader1"
> source="http://www.mydomain.com/flex/project1/bin/myapp.swf"/>
> 
> It only looks inside the same project1 folder for the swf, not the full path.
> 
> I need to keep the apps in separate folders.
> 
> Any suggestions?
> 
> Thanks,
> Don
>



Reply via email to