1 Reply Latest reply on May 8, 2006 5:53 AM by blemmo

    Duplicate a loaded image

    Level 7

      Is it possible to copy a loaded image from a movie clip to another ?
      I load several images that I res-cale for a thumbnailer and would like to
      when I select one to re-scale it into another movie clip.
      Instead of reload the external image, how to copy it ?


        • 1. Re: Duplicate a loaded image
          blemmo Level 1

          it's possible in Flash 8 with the BitmapData class: create a BitmapData object, draw the MC containing the loaded image into it, and attach this to the other MC.
          In versions < 8 you have to load it again. Flash caches most of the loaded stuff, so loading something again might use the cached file, but it's not reliable.