Groups | Blog | Home
all groups > flash actionscript > december 2004 >

flash actionscript : (sitemap) whats a good way of linking through flash


BOSTONCIW
12/26/2004 11:13:02 PM
this is what im trying to create ,something simple ofcourse.::::::::::

if i have a main swf file in which all section swf's are loaded into an i
want to create a sitemap with one of the external swf files.

so i want to load the section in main mc (_level0.section)
but i want to beable to go to a certain section within the external swf loaded
when that section comes up.

i dont know if im explaining myself right but if you know what i mean please
help me
kglad
12/26/2004 11:21:45 PM
to load an external swf into your main movie, load into a target movieclip or
_level. if you want to play a particular frame within the external swf,
reference the target movieclip or _level AFTER loading is complete.
BOSTONCIW
12/26/2004 11:30:24 PM
could you give me a better idea of what you mean please

kglad
12/26/2004 11:38:44 PM
_root.createEmptyMovieClip("holderMC",1);
holderMC.loadMovie("section1.swf");
preloadI=setInterval(preloadF,80,holderMC,"frameToPlay");
function preloadF(mc,frameLabel){
loaded=mc.getBytesLoaded();
total=mc.getBytesTotal();
if(loaded>0&&loaded>=total){
clearInterval(preloadI);
mc.gotoAndPlay(frameLabel);
}
}
BOSTONCIW
12/26/2004 11:49:07 PM
kglad
12/27/2004 12:05:43 AM
AddThis Social Bookmark Button