PDA

View Full Version : Help modifying actionscript


skyblueshoes
11-30-2005, 04:55 AM
I need help modifying some actionscript...I have included the file. The piece of code I need to modify is located inside the buttonEXP_timer symbol attached to the strip mask. It reads as follows...

onClipEvent (load) {
_xscale = 0;
}
onClipEvent (enterFrame) {
if (_parent.touching && _xscale < 120) {
_xscale += 5;
if (_xscale >= 120 && _parent._alpha != 80) {
_parent._alpha = 80;
_parent._parent.but_active._visible = true;
}
}
if (!_parent.touching && _xscale > 0) {
_xscale -= 12;
if (_parent._alpha != 100) {
_parent._alpha = 100;
_parent._parent.but_active._visible = false;
}
}
}

basically, the author of another site gave me the button and code. As I am extremely new to flash I don't know how to change the code to get it what I want to do. Instead of making but_active true/false, I want it to gotoAndPlay frame 20 on Scene1. I would appreciate any help...

Cota
11-30-2005, 05:18 AM
Crosspost............bad bad bad....do not post the same question more than once....tisk tisk