RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-31 Thread jim
/Add new bitmap movieclip.addChild(image); //Add original image hth Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: 31 July 2006 03:12 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData? T

RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-31 Thread Sascha Balkau
help! > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Charles Parcell > Sent: Monday, 31. July, 2006 15:37 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] AS3 - From BitmapAsset to BitmapData? > > You don

Re: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-30 Thread Charles Parcell
You don't attach BitmapData, you draw it. Look at the draw function in the BitmapData class. Charles P. On 7/30/06, Sascha Balkau <[EMAIL PROTECTED]> wrote: Thanks a lot Jim! That was the link I was looking for! Maybe you can give me a hint on another BitmapData problem: How do I attach a B

RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-30 Thread Sascha Balkau
Thanks a lot Jim! That was the link I was looking for! Maybe you can give me a hint on another BitmapData problem: How do I attach a BitmapData to a MovieClip in AS3? attachBitmap is no more and if I use addChild I get a Coercion failed again. Sascha > When embedding the images like this I use

RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-30 Thread jim
BitmapData = image.bitmapData; hth Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: 30 July 2006 14:24 To: 'Flashcoders mailing list' Subject: [Flashcoders] AS3 - From BitmapAsset to BitmapData? Hi, Can somebody tell me h

[Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-30 Thread Sascha Balkau
Hi, Can somebody tell me how I get an embedded image (BitmapAsset) to a useable BitmapData? I'm a bit confused about this. I want to embed an image and then use it as a BitmapData object. I got ... [Embed(source="image.png")] private var imageClass:Class; private var image:BitmapAsset; ... im