Groups | Blog | Home
all groups > flash (macromedia) > january 2004 >

flash (macromedia) : Alpha Question


ricky0110
1/18/2004 11:30:20 PM
I would like an image to fade in from 0-100%. This was simple in Flash v5 as all you did was "modify instance".

How do you do the same in MX?


stwingy
1/18/2004 11:36:50 PM
give it an instance name mc
on the timeline containing mc
mc._alpha = 0;
mc.onEnterFrame = function() {
this._alpha += 1;
if (this._alpha == 100) {
delete (this.onEnterFrame);
}
};

Certified but not by Macromedia!
urami_
1/19/2004 10:36:06 AM

[quoted text, click to view]

right click - properties or click it and CTRL F3




Regards


urami_*

<xmas>
http://flashfugitive.com/
Jeckyl
1/19/2004 10:58:27 AM
that's if you want to fade using script

AddThis Social Bookmark Button