First off, great forum. Glad to have become a member.
–
I’m switching a project from Flash CS3 to FlashDevelop. I don’t need to be using timeline elements, and FlashDevelop runs much faster for me.
Everything is going good except one issue. I am writing a game that requires copypixels to blit sprites.
Traditionally, I would:
-add PNG to library
-link said PNG
-create new instance of PNG through code as BitmapData
Currently, the only way to embed images is to use the
[embed(source…] method. However, when I declare an instance of this class I get it as a Bitmap, NOT bitmapdata.
I don’t know how to convert a bitmap to bitmap data so I can use my copypixels method.
Any ideas? Thanks in advance.