I have a MovieClip in the library exported for actionscript. How do i convert or attachMovie it to a BitmapData class so that i can manipulate its pixel data? I will need that so that i can distort the MovieClip. Please don't tell me to google it coz i did and can't find anything . Just a simple snippet how to do it please?
use the movieclip attachMovie() method to create a movieclip instance of your library object, and then use the draw() method of the bitmapdata class to create a bitmap of your instance:
var mc:MovieClip = whatever.attachMovie("yourID","mc",depth)
var bmp:BitmapData=new BitmapData(mc._width,mc._height);
Thanks a many Sir