[quoted text, click to view] eslacker wrote:
> Hi, I have two dozen images for which I need to show a thumbnail and a detailed
> version. I'd like to load the images as two different swfs, w/ each frame
> representing one of the images. I also need to dynamically duplicate a
> thumbnail MC and attach a copy of the MC containing the thumbnail image. I've
> tried by importing a SWF into an clip that has a linkage identifier assigned,
> but I'm not able to load the clip into my button. Any thoughts/suggestion
> would be most appreciated!
>
> Also, on a more general topic, what is the best way to load in a "collection"
> of images/clips *once* and then be able to duplicate them as necessary?
>
don't understand... why would you want to set the linkage ident of a
clip that you are just duplicating? and where does the button come into
it? surely you just need to do something like this:
this.thumbnail_mc.duplicateMovieClip("thumb2_mc",2)
this.thumb2_mc.imgplaceholder.loadMovie("myimg_tn.swf");
this.thumb2_mc.onRelease = loadFullSizeImage;
the best way to load multiple images is generally to set up something
called a queue. This is effectively just an array of filenames. You add
to the array with array.push() and choose the next item to load with
array.shift(). You just need to create a loader for each item that can
work out when the file has loaded and go get another image to load.
--
MOLOKO
Macromedia Certified Flash MX Developer
------------------------------------------------
::remove _underwear_ to reply::
'God saves but Buddha makes incremental backups'
------------------------------------------------
GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+ w+++$ !O M+