We Recommend

Mastering Regular Expressions Mastering Regular Expressions
As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems. Once you've mastered regular expressions, they'll become an invaluable part of your toolkit. You will wonder how you ever got by without them.


Posted By

daisuke103 on 02/11/08


Tagged

textmate map load sample attach bit bitmapData as2 loadBitmap


Versions (?)


AS2 BitmapData loadBitmap ライブラリからビットマップをダイナミックに配置


Published in: Other 


  1. /* ここから */
  2. /*
  3. ライブラリにリンケージPenというビットマップデータを用意
  4. */
  5. import flash.display.BitmapData;
  6. var myBitmapData:BitmapData = BitmapData.loadBitmap("Pen");
  7. var _mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
  8. _mc.attachBitmap(myBitmapData, _mc.getNextHighestDepth());

Report this snippet 

You need to login to post a comment.