Flash8 bitmap rotation after eliminate jagged approach
Flash8 bitmap in the rotation if so, will be jagged, if the picture has been in the Treasury, the solution is to double-click in the picture to enter the property panel, check the box "Allow smooth." If it is import external picture can be used to solve the following:
_global.smoothImageLoad = Function (imgURL, targetMovie) (
Var i = 0
I do () while (eval ( "_root.smoothImageLoadTemp" i)! = Undefined)
Tmc = _root.createEmptyMovieClip ( "smoothImageLoadTemp" i, _root.getNextHighestDepth ())
Tmc.createEmptyMovieClip ( "ti", tmc.getNextHighestDepth ())
Tmc.tm = targetMovie
With (tmc) (
Tmcl = new MovieClipLoader ()
Tmcl.onLoadComplete = function () (
Ti.onEnterFrame = function () (
PixelData = new flash.display.BitmapData (ti._width, ti._height);
PixelData.draw (ti);
Tm.attachBitmap (pixelData, 1, true, true);
Tm.smoothImageLoadComplete ()
RemoveMovieClip (ti._parent)
)
)
Tmcl.loadClip (imgURL, tmc.ti)
)
)
SmoothImageLoad ( "xxx.jpg" mymc);






Leave a Reply