PDA

Click to See Complete Forum and Search --> : simple rollover in flash


lokki
02-15-2007, 07:49 AM
hi, can you please tell me the action scipt for a rollover buttpn.

i need the button to slide to the left when rolled over (easy part) and then slide back to its original position on mouse out.

cheers!

missgiggles
02-15-2007, 02:54 PM
Dreamweaver, u add a behaviour to the button.
i cant remeber for Flash though.

Neballer
02-15-2007, 04:13 PM
on (rollOver) {
this._x -= 15;
}
on (rollOut) {
this._x +=15;
}


Put this code right on the button.