It's because _alpha is stored internally at 255 levels, so it's the dodgy floating point accuracy and conversion from the internal value to a percentage that causes the inconsistency. If it causes problems, I usually have a separate value for storing the current alpha.
myClip = _root.createEmptyMovieClip("appClip",1); myClip.modifier = 5; myClip.currentAlpha = 100; myClip.onEnterFrame = function(){ this.currentAlpha-=this.modifier; this._alpha = this.currentAlpha } Hope this helps! Seb Lee-Delisle http://sebleedelisle.com On 14/11/06, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:
I asked this question once. Check out the archives of my post: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/055 709.html - MM _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com