Hi everyone,
I am pretty new to all this and need help. I have a movie that I want to be dragged on the x coordinate on click, and if you drag it to the left it should play a different movie then when you drag it to the right.
here is what I tried so far and of course it does not work.
thewalk.onPress = function() {
this.startDrag(false,0,210,550,210);
if(this._x<550){
gotoAndPlay(“backlegsback”);
}
};
thewalk.onRelease = function() {
thewalk.stopDrag(false);
this.gotoAndPlay();
};
thewalk.onRollOver = function() {
thewalk.stop();
head.stop();
backlegs.stop();
frontlegs.stop();
};
thewalk.onRollOut = function() {
thewalk.play();
thewalk.head.play();
thewalk.backlegs.play();
thewalk.frontlegs.play();
};
Any suggestions?