Well
In the reference manual there is this example for the very start in
It draw 2 rectangle as BitmapDat and then copy from one to another . If
you suppose that one was the result of client actions you could copy part of it
but if you mean to get some file/image at client side, grabbing som part
from it or grabbing its screens and then upload to the server Í suppose you are
going to need somethink link Zinc ou ScreenWeaver to extend your flash app.
import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Point;
var bitmapData_1:BitmapData = new BitmapData (100, 80, false, 0x00CC);
var bitmapData_2:BitmapData = new BitmapData (100, 80, false, 0x00FF);
var mc_1:MovieClip = this.createEmptyMovieClip (mc, this.getNextHighestDepth
());
mc_1.attachBitmap (bitmapData_1, this.getNextHighestDepth ());
var mc_2:MovieClip = this.createEmptyMovieClip (mc, this.getNextHighestDepth
());
mc_2.attachBitmap (bitmapData_2, this.getNextHighestDepth ());
mc_2._x = 101;
mc_1.onPress = function ()
{
bitmapData_2.copyPixels (bitmapData_1, new Rectangle (0, 0, 50, 80), new Point
(51, 0));
};
mc_2.onPress = function ()
{
bitmapData_1.copyPixels (bitmapData_2, new Rectangle (0, 0, 50, 80), new Point
(51, 0));
};
Informit as a lot of usefull start links
http://www.informit.com/guides/content.asp?g=flashseqNum=337rl=1
- Original Message -
From: keitai guy [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, August 04, 2006 5:04 PM
Subject: [Flashcoders] grabbing screen caps in FL8
hi list -
I need to get bitmaps of some flash content (things the user makes client
side).
i guess this is possible with the new bitmap api. does anyone have
tips /examples of this type of thing?
thanks!
/dc
___
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
___
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