Some questions about graphic


i creating tile-based map.
actually, trying use bitmap class draw tiles offscreen buffer. however, seems document described how load image external file want image included in swf.
so first question how load image library bitmap class.

after 30mins on thinking , searching , still don't know how it. decide clone movie clip first preview map. as3 no longer use duplicatemovieclip() spend 30mins on thinking , searching still didn't find clue...
my second question how clone movieclip in as3.

give class name (which subclass of bitmapdata class) , use new constructor create instance of it.

you'll need create bitmap of bitmapdata object can add display list.


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums