Loading a swf within a loaded swf
I have a swf with a loader component which displays a swf which also has a loader in it which loads a third swf. Ultimately I have 3 swf files and need to display the bottom most swf in the first. To clarify the folder structure is like this:
main.swf
/swf/sub1.swf
/swf/sub2.swf
It seems that the path to sub2.swf within sub1.swf needs to be relative to the top most loader, main.swf. Can someone explain why this is and whether there is a way to keep the path to sub2.swf relative to sub1.swf? (sub1.swf errors when trying to load sub2.swf when the path is relative to main.swf).
Hopefully that makes sense. Any help would be great, thanks.
|