How are you gentlemen!!
Okay, another one. I’ve got a swf where I’ve got a simple rectangle that I want to move to different positions depending where the mouse is. Here’s my weak attempt at a script.
onEnterFrame = function():void {
var slipos = math.abs(Q);
if (mouse._y<=150) {
Q=50
}else{
get Mouse._y
As usual, one question begets more (about scripting in general). Can I daisy-chain if-else statements, and if so what’s the proper syntax/format?
The .fla is posted, big ups to anyone who can help denoob me.