1. controlling a mc in a swf file that is loaded into a swf file.
2. trouble loading xml data into swf that loads into swf
I have a main movie (siteIndex) into which I load a second swf (courseDetails)
that calls upon an XML file (courseDetails.xml) to load a series of swfs
(pages) that are populated with external text.
The folder structure is thus: root (where the siteIndex movie is located) >
courses > details (where the second movie, the xml file and all of the single
page movies are located)
When I run the second movie on its own (courseDetails) everything works as it
should. But when I go to the main movie (siteIndex) and run (courseDetails), I
get the message 'can't load XML' and it indicates that the XML should be
located in the main movie folder. Or that the full path is not specified.
This is the code that loads the second movie:
stop();
courseDetails._lockroot=true;
this.createEmptyMovieClip("mc_2", 10);
mc_2._x = 213;
mc_2._y =159;
mc_2.loadMovie("courses/details/courseDetails.swf");
The second movie uses a component that has one parameter, which is the path to
the XML file that loads the individual pages.
When I change the parameter to the path from the siteIndex movie
(courses/details/courseDetails.xml), the component loads and then informs me
that it can't load the first page.swf (and obviously any subsequent pages). The
error mesasage again suggests that the pages should be located in the root
folder.
Is there a way to solve this problem and leave the correct relative pths in
place?
Many thanks in advance.
Kevin Price
stop();
courseDetails._lockroot=true;
this.createEmptyMovieClip("mc_2", 10);
mc_2._x = 213;
mc_2._y =159;
mc_2.loadMovie("courses/details/courseDetails.swf");
3. Loading into a sound object contained in an swf that's been loaded by a 'container' swf...
4. Loading external swf, from a previously loaded external swf.
5. controlling loaded SWF from another loaded SWF
6. Play in reverse button in swf file no longer works once loaded into the master swf
7. Call external SWF to load in HTML cell from SWF file
8. Is it possible from child swf to tell parent swf to load another child swf?
9. loading a sequence of swf files in one main swf
10. Manipulating .swf files without loading them into a .swf
11. Problem with loading swf that itself loads flv-file
12. Loading HTML File in a flash swf file
13. loading external swf file into another flash file
14. how to get access to swf file loaded by <mx:SWFLoader outside another sfw file
15. Can button in loaded SWF file unload or close the file ?