View Full Version : Paths & Loading swfs in Targets and mcs
mindslip
06-01-2003, 03:50 PM
heres the scenario, i made a main swf and call it, index_splash where all the other swf will be loaded (by the way the loading is done in the frames) then i have another swf, i called it prods_splash. now this prods_splash loads another i called it one.swf. now heres the problem, when i run the index_splash.swf and it loads the prods_splash.swf the one.swf doesnt load. i figured it must be because of the path, but i dont know what to add on the script loadMovie. and i dont know which movie to do it in... help:confused:
farafiro
06-02-2003, 08:44 AM
first we should see how your code looks like
also read these tut
http://www.actionscript.org/tutorials/beginner/paths/index.shtml
http://www.actionscript.org/tutorials/intermediate/advanced_pathing/index.shtml
mindslip
06-03-2003, 08:01 AM
thanks for your time in looking into this, i have checked out the tut but it didnt help me much...
so, heres my script for the index_splash:
loadMovie("prod_splash.swf", "_root.target");
this script is in the frame of index_splash movie.
now, heres the script i use for prods_splash movie:
loadMovie("prod_01.swf", "_root.prods.target02");
this code is in a frame, it loads an image into the stage of prod_splash.
whut do you think?
to give you a better idea try to visit this site, http://www.ezhighway.net/iaa , its still in its testing phase. the main stage is the index_splash, then prod_splash.swf is the products page. this page is very heavy because instead of loading the images on command it is instead is loaded in one big file. youll know whut i mean once you visit this site.
thanks
farafiro
06-03-2003, 08:10 AM
the code looks cool, does it work offline??
u don't need the "" around the target MC
mindslip
06-05-2003, 09:16 AM
yes and no,
yes because the images loads if i use prods_splash.swf alone as a movie.
no because once prods_splash is loaded INSIDE the index_splash.swf the supposed to be image loaded doesnt load in the target.
i cant figure it out...
let me try to explain the structure of the site:
the file index_splash.swf has an mc in it that has an instance named target. now inside this mc prods_splash.swf is loaded
now, inside the prods_splash.swf i prepared an mc also w/c has an instance name target02, in which the images are loaded into.
the problem is, once the prods_splash is loaded in the index_splash.swf the images that is supposed to be loaded in prods_splash wouldnt load.
WHEW!
there you go... hope its clearer :)
please help me... thanks
farafiro
06-05-2003, 09:33 AM
can I see the whole script pls
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.