you can put an image in a Box, and position it's (0,0) in the center of Box, then rotate the Box!
-------------------------------------------------- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn ----- Original Message ---- From: Michael Wagner <[EMAIL PROTECTED]> To: [email protected] Sent: Saturday, March 29, 2008 7:33:59 PM Subject: [flexcoders] Image centering Hello: I am new with Flex. I need to position an image ( can be a jpg, bmp, etc ) in a bitmaparea bigger then the image size I have tried codes like this but it is positioned in (0,0) How is the task accomplished ? area:BitmapData = new BitmapData(200,200); var myBitmap:Bitmap = new Bitmap(bitmappictur efrom); myBitmap.x = 100; myBitmap.y = 100; area.draw(myBitmap) ; Thanks, Michael. ____________________________________________________________________________________ No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. http://tc.deals.yahoo.com/tc/blockbuster/text1.com

