One High-Resolution Graphic explorer.

Before 3 seconds, flash load correctly that big size, and i'm trying
this inside my class:

{ ....
(my class has the typical movieclip loader with addListener(this);       )
.....
        public function onLoadInit(mcTarget:MovieClip):Void {
           //Big size image is now loaded at 100% size !!!
           //i have to copy scaled image to thumbnail for
           //Navigation purposes like in photoshop

           //Calculate factor
           var factorH:Number = _mcThumbnail._height / mcTarget._height;
           var factorW:Number = _mcThumbnail._width / mcTarget._width;

           //copy bitmap with matrix transformation
           _myBitMap = new
BitmapData(_mcThumbnail._width,_mcThumbnail._height,false,0x00FFFFFF);
           _myMatrix = mcTarget.transform.matrix;
           _myMatrix.scale(factorH,factorW);
           _myBitMap.draw(mcTarget,_myMatrix);
          //I catch it! - now i have the bitmap
           _mcThumbnail.attachBitmap(_myBitMap,1);
        }

but i'm not sure if it's going ok... at least  now i haven't to make
another load but... i think the thumbnail is scaling the portion of
big image i see in screen, not the whole image...

Excuse my english :( i'm trying to explain it as fine as i can. Thanks


2007/8/23, Alan MacDougall <[EMAIL PROTECTED]>:
> julian atienza wrote:
> > Image is 72Mb.
> >
>
> This is your first problem. I can't think of a single reason you would
> have to load a 72 MB image into Flash. Could you tell us a little more
> about your application?
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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