[Flashcoders] XML problem

2006-05-29 Thread Olasz RĂ³bert
Hi all!

I have a simple XML gallery. Id like to load it to an another movie
with loadMovie(gallery.swf, container). After of my loading within
main movie the gallery doesnt work. It seems does not find the XML
file or does not load the XML file, but the XML is in a same dir. What
is the problem?

Thx for your help.

Robert

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML problem

2006-05-29 Thread stacey
once you load a movie into another all paths relate to the host movie and
no longer to the child. So make sure you're pathing is right. Test the
onload for the xml and make sure it can't find the xml- you will get a
huge can't find the url error in the output window if that was the case.

In terms of pathing  i mean :

Shell fla
assets/gallery.swf
assets/gallery.xml

Shell loads assets/gallery.swf
now the path to the xml is not gallery.xml as in relative to the gallery
swf, but relative to the shell, being assets/gallery.xml

 Hi all!

 I have a simple XML gallery. Id like to load it to an another movie with
 loadMovie(gallery.swf, container). After of my loading within main
 movie the gallery doesnt work. It seems does not find the XML file or
 does not load the XML file, but the XML is in a same dir. What is the
 problem?

 Thx for your help.

 Robert

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com