Thank you All
I did some research and I find out how to take snapshot using BitmapData = new 
BitmapData() ;
http://www.flash-db.com/Tutorials/snapshot/
but this will not help  since I need to save the movie clip and load it latter 
for any changes 

anyway thank you all for your help

bassam


----- Original Message ----
From: Muzak <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, August 21, 2007 7:02:13 PM
Subject: Re: [Flashcoders] save swf


There are JPEG en PNG encoder classes for AS3
http://code.google.com/p/as3corelib/
http://as3corelib.googlecode.com/svn/trunk/src/com/adobe/images/

regards,
Muzak

----- Original Message ----- 
From: "Jer Brand" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 21, 2007 10:49 PM
Subject: Re: [Flashcoders] save swf


> Uncompressed, yeah, that'd be ugly. But how does something like the
> following (guesswork code) perform?
>
> foo:BitmapData = new BitmapData() ;
> /* put your image data in there, with whatever method */
>
> bar:ByteArray = foo.getPixels(myImageRect) ;
> var.compress() ;
>
> Again, mostly asking because I don't know enough about AS3/FP9. It's
> supposed to be using zlib compression on the ByteArray but for all I know
> it's still doesn't compress enough or quickly enough to be useful. I'm
> totally leaving out the question of conversion after post or Socket or
> whatever used server side to get the job done, but I have to assume it
> wouldn't be difficult using GD or ImageMagic.
>
> Anyone used this?
>


_______________________________________________
[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


       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.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