Hello everybody. Excuse my english... i will try to explain my
problem. Thanks for comprehension.

I have the following problem (Flash 8 and AS2) :

I load a big image sliced in 16 equals segments (16 jpgs files). I
load whole segments composing the whole image in flash in this way:

1 mcHolder -> and this mcHolder has inside 16 movieclips with segments.

In this way, i can scale or rotate the whole image with mcHolder
instead of doing it to every segment (the child-movieclips).

But i need to make a small thumbnail at the same time in screen, so i
made it in past in this way to avoid loading twice the source:

    //copy with BitMap (One time i've loaded jpg in mcHolder and
detected it's loaded)....
    var myBitMap:BitmapData = new BitmapData(mcHolder._width,
mcHolder._height, false);
    var myMatrix:Matrix = mcHolder.transform.matrix;
        myBitMap.draw(mcHolder, myMatrix);
        var mcThumbnail:MovieClip = _root.createEmptyMovieClip("mcThumbnail",
  _root.getNextHighestDepth());
        mcThumbnail._x = mcThumbnail._y = 0;
        mcThumbnail.attachBitmap(myBitMap, mcThumbnail.getNextHighestDepth());
        //now i've loaded/copy it, i can resize it, f.e. for one test:
        mcThumbnail._height = mcThumbnail._width = 200;

It doesn't copy anything to the thumbnail. But if the mcHolder has the
whole jpg loaded directly instead of mcHolder["section01"],
mcHolder["section..."] ... in nested movieclips, it copy image
perfectly.

Any idea to copy the whole image of the source if it has sliced/nested
movieclips inside?

thanks in advance!!!
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to