Depending on how you are loading, you can't load a second app with the same 
name "myapp"

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Don Kerr
Sent: Sunday, November 23, 2008 2:23 AM
To: flexcoders@yahoogroups.com
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