I hadn't thought using BitmapData, I 'll give it a try.
As for loading images twice, if this is the only way then I'll have to
walk it!

Many thanks Ian!

 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Friday, February 29, 2008 1:23 PM
To: Flash Coders List
Subject: Re: [Flashcoders] duplicate loaded image + convert object to
image

Stathis,
   No, in AS2 you can't duplicate loaded content using
duplicateMovieClip. Your choices are:
 - to load each image again, every time you need it (isn't as slow/bad
as it sounds - the cache speeds it up dramatically)
 - to duplicate the image by storing/copying loaded images's
BitmapData - this is your best bet, if you're using Flash Player 8+

Hope that helps,
   Ian

On Fri, Feb 29, 2008 at 11:06 AM, Kaloudis Stathis
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  I'm trying to figure out how to duplicate a clip with an externally
>  loaded image in it.
>
>  Function duplicateMovieClip does not work for movieclips
>  with content loaded using MovieClip.loadMovie() or the
MovieClipLoader
>  and I'm stucked and confused on how to proceed.
>
>
>  Also, is it possible to create a multi-dimentional array with loaded
>  images (inside movieclips) in it
>  and then retrieve these images?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to