the word "communications" in the flash logo fades in, but it sort of bumps into full transparency right at the end. I'd like the fade-in to stay consistent. this was done in AS2.
http://www.olanbrewer.com/flashtest.html
here's the code for the last frame of the animation:
stop();
(comm_mc is the instance name)
comm_mc.onEnterFrame = function(){
if(this._alpha < 100){
this._alpha += 2;
trace(this._alpha);
}
}
the trace statement shows that the rate it's fading in is at @1.95/frame and not the 2. what's with that? I tried using Math.round to no avail.
ex:1.953125, 3.90625, 5.859375...
as soon as it crosses 100 it's popping full brightness.
R





Bookmarks