Im back!
Ive got a MC that im tryin to change the alpha value of. it has 25 frames in it, and the first frame says
onEnterFrame=function()
{
if(_global.abc=true){
gotoAndPlay(2);
}else{
stop();
}
}
for this whole thing, assume the abc variable is true.
the second frame says this.
onEnterFrame=function()
{
if(_global.abc==true){
this._xscale+=12;
this._yscale+=12;
this._y+=3;
this._alpha+=4;
}else{
gotoAndStop(2);
}
}
this is followed by 25 frames where the scale and y value change, but the alpha value stays at 0. Ive tried google, but every solution says exactly what I am doing. Can anyone see where Im messing up?
as2 help (alpha)
Started by: doc | Replies: 3 | Views: 446
Feb 5, 2009 12:14 AM #352207
Feb 5, 2009 5:35 PM #352544
have you tried capitalising 'Alpha', sometimes things like that are all that wrong. Apart from that the script should run fine.
Feb 5, 2009 6:13 PM #352555
capitalise or add some dots somewhere... that always works...
Feb 7, 2009 5:52 AM #353290
I don't see any problems with it, but your method seems a bit overcomplicated.
Can you try explaining what you are trying to do? Maybe we can help you develop a simpler way.
Can you try explaining what you are trying to do? Maybe we can help you develop a simpler way.