Hi, You might wanna try it without a recursive loop. bitmap is now attached to bt_mc, and then you are drawing bt_mc into bitmap... In addition although it's as2, it's only player 9 and up.
On Sat, May 29, 2010 at 8:55 AM, Amol <[email protected]> wrote: > Hi all, > > > Is there any script for ForceSmoothing a movie clip in > ActionScript 2 > I am using given below script for smothing a movie clip but it is > not working properly > > import flash.display.BitmapData; > function smooth(bt_mc:MovieClip) > { > var bitmap:BitmapData = new BitmapData(bt_mc._width, bt_mc._height, true, > 0x000000); > bt_mc.attachBitmap(bitmap, 80, "auto", true); > bitmap.draw(bt_mc); > } > smooth(bt_mc); > > bt_mc.forceSmoothing = true; > > > > > Regards > amol > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

