PDA

View Full Version : loading one swf in other...but problem is loader



emazekraker
05-21-2005, 10:22 AM
i have done a photography site

in that first file name is index.swf
category file name is category.swf
& picture animation file name is pic1.swf, pic2.swf, pic3.swf

now when index movie loads & when some one click on portfolio link then category.swf loads...in that category.swf file i have placed some 10 images..when u click 1st image then pic1.swf loads

but other two files will b there no one would b unload

thanx
shyam

NTD
05-23-2005, 01:07 AM
Hi,

It depends on how your loading the external movies. If you load to the same level or the same movieclip holder, the current content is replaced with the loaded content. There is really no need to unload anything with this method. Something else to mention, if your images are non progressive .jpg images, you can load them dynamically at runtime in the same manner you would load an .swf movie......

myMovieClipHolder.loadMovie("someFile.jpg")