all groups > flash actionscript > may 2007 >
You're in the

flash actionscript

group:

Loading Images to emptyMovieClips


Loading Images to emptyMovieClips Xero-sum
5/22/2007 11:12:48 PM
flash actionscript:
hi, i'm trying to dynamically load 20+ images into empty movie clips that can
then be cycled through like a slideshow. for some reason i can't wrap my head
around a good way to make this work. so far i can only get them to load into
the same container. any thoughts anyone?
Re: Loading Images to emptyMovieClips kglad
5/23/2007 12:01:55 AM
Re: Loading Images to emptyMovieClips chopTheWood
5/23/2007 3:01:28 AM
Re: Loading Images to emptyMovieClips Xero-sum
5/23/2007 3:53:27 PM
well, on the empty movie clip, my code is:

onClipEvent (enterFrame) {
holder0.loadMovie(imageArray[0]);
}

when i trace it, it says the right image has been loaded... but i'm not seeing
it. i even tried to put it into a nested container, but i didn't get that to
work either


Re: Loading Images to emptyMovieClips kglad
5/23/2007 4:29:02 PM
Re: Loading Images to emptyMovieClips chopTheWood
5/23/2007 4:37:37 PM
If you're trying to create a nice, fairly simple slide show, there's a great
example provided by Macromedia (remember them) from the Flash mx days. You can
get the fla here if you want it:
http://homepage.mac.com/garyndeb/filechute/virtualaquarium8.fla
AddThis Social Bookmark Button