Hi,
You need to keep duplicate files if you want it to work as single and also
when loaded from main movie.
Easiest way is to create an xml directory at the place where the main movie
resides and set the path as "xml/1.xml"

also copy this directory in the screens directory

so ths ame path will work for both :)
Hope this helps

Deepanjan Das

On Jan 30, 2008 10:10 AM, confusticate and bebother these dwarves! <
[EMAIL PROTECTED]> wrote:

> Hello Flashcoders,
>
> I'm trying to make a main movie ("controller.swf") that loads other movies
> ("screen1.swf", "screen2.swf", etc), which are stored in a subdirectory
> called "screens".
>
> In controller.swf I'm using loadMovie("screens/screenx.swf") to load the
> movies from the "screens" subdirectory, and this works fine. But the
> problem
> is that the movies in the "screens" subdirectory often reference XML files
> (which also live in the "screens" subdirectory). All works well when you
> play the individual screenx.swf files, obviously, but when you play
> controller.swf, it is looking for the XML files in the same directory as
> itself (one directory "up").
>
> How can I fix this problem so that playing controller.swf works fine, as
> well as playing each individual screenx.swf file in the "screens"
> subdirectory? Is this possible? It seems like such a simple idea, but I'm
> so
> stumped.
>
> I should mention that this project is not actually going online - it is
> going to be converted to an EXE using Zinc and distributed via CD. So I
> can't use absolute paths.
>
> Please! Heelp! Thanks!
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to