actionscript 3 - Flash/AS3 - MovieClip into Bitmap -


i need turn movieclip have on stage bitmap. function have made halfway works; make bitmap movieclip correct image, not rotate it.

here function

    function makebitmapdata(mov):bitmapdata {     var bmpdata:bitmapdata = new bitmapdata(mov.width, mov.height, true, 0);     bmpdata.draw(mov);     this.addchild(new bitmap(bmpdata)); //shows bitmap on screen purely example     return bmpdata; } 

here output

not rotating

how should rotate bitmap or purely copy pixels in bitmap, rotated , all?

have checked rotate() function , fl.motion.matrixtransformer class? this question looks helpful.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -