I think we used to do this way back, let's try it again.
Smooth our bitmaps. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@745 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -600,10 +600,14 @@ public class MediaContainer extends Sprite
|
||||
var info :LoaderInfo = (event.target as LoaderInfo);
|
||||
removeListeners(info);
|
||||
|
||||
// trace("Loading complete: " + info.url +
|
||||
// ", childAllowsParent=" + info.childAllowsParent +
|
||||
// ", parentAllowsChild=" + info.parentAllowsChild +
|
||||
// ", sameDomain=" + info.sameDomain);
|
||||
// attempt to make bitmaps look good
|
||||
try {
|
||||
if (info.loader.content is Bitmap) {
|
||||
Bitmap(info.loader.content).smoothing = true;
|
||||
}
|
||||
} catch (err :Error) {
|
||||
// cope
|
||||
}
|
||||
|
||||
updateContentDimensions(info.width, info.height);
|
||||
updateLoadingProgress(1, 1);
|
||||
|
||||
Reference in New Issue
Block a user