Did the forceSmoothing ever make it in? I remember hearing about it but
never saw anything official
This workaround works well for static content
http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html
On Thu, Feb 28, 2008 at 4:41 PM, Matt S. [EMAIL PROTECTED] wrote:
I'm finding that when I use forceSmoothing in a moviecliploader, it
doesnt seem to work. It turns it OFF just fine, but never turns it
back on afterwards. Just fyi, I already tried placing the
forceSmoothing = true in the onLoadInit and onLoadComplete's, just to
see if they'd work from there, but it never seemed to get turned back
on. See code below, can someone else see what I'm doing wrong? I know
setTimeout's aren't entirely reliable...
and yes this is still AS2... (le sigh)
thx,
.m
//Portfolio loader
myPMCL.onLoadStart = function(targetMC) {
//targetMC.forceSmoothing = false;
targetMC._alpha = 0;
trace(STARTING LOAD OF: + targetMC);
_root.loadermain_mc._visible = true;
_root.loadermain_mc.bar_mc._xscale = 0;
};
myPMCL.onLoadProgress = function(targetMC, loadedBytes, totalBytes) {
_root.loadermain_mc.bar_mc._xscale = (loadedBytes/totalBytes)*100;
};
myPMCL.onLoadComplete = function(targetMC) {
_root.loadermain_mc._visible = false;
};
myPMCL.onLoadInit = function(targetMC) {
targetMC._rotation = 0;
resizePortfolio();
targetMC.alphaTo(100,1,easeInOutCubic);
_global.setTimeout(smoothingOn,2000,targetMC);
};
myPMCL.onLoadError = function(targetMC, errorCode) {
};
function smoothingOn(mc){
trace(TURNING SMOOTHING BACK ON FOR: +mc);
mc._parent.forceSmoothing = true;
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders