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);
|
var info :LoaderInfo = (event.target as LoaderInfo);
|
||||||
removeListeners(info);
|
removeListeners(info);
|
||||||
|
|
||||||
// trace("Loading complete: " + info.url +
|
// attempt to make bitmaps look good
|
||||||
// ", childAllowsParent=" + info.childAllowsParent +
|
try {
|
||||||
// ", parentAllowsChild=" + info.parentAllowsChild +
|
if (info.loader.content is Bitmap) {
|
||||||
// ", sameDomain=" + info.sameDomain);
|
Bitmap(info.loader.content).smoothing = true;
|
||||||
|
}
|
||||||
|
} catch (err :Error) {
|
||||||
|
// cope
|
||||||
|
}
|
||||||
|
|
||||||
updateContentDimensions(info.width, info.height);
|
updateContentDimensions(info.width, info.height);
|
||||||
updateLoadingProgress(1, 1);
|
updateLoadingProgress(1, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user