This Blog contains About Action script 3.0 Variables, Data types, Access specifies, Keywords, Operators, Conditional statements, Control statements, Arrays (Indexed, Associative, Multidimensional, Cloning), Functions, Symbols, Movie clips (Transformation point, Registration point, Loading images), Buttons, Events (Key board, Mouse, Timer, XML)Pre- defined function :- Random, Hit test object, Drag and drop, Sort, Loader, Tween,URL Loader, Video components, Audio Components, Sound Channel.
Wednesday, 19 December 2012
How to convert movie clip to bitmap in action script 3.0
var bitmapInfo:BitmapData = new BitmapData(myClip.width,myClip.height);
bitmapInfo.draw(myClip);
var bm:Bitmap = new Bitmap(bitmapInfo);
addChild(bm);
No comments:
Post a Comment