Hi.
I saw your file and see you have to fix three or four things.
1. You have to hide your mouse cursor. So, in the only frame of your main timeline, type:
2. Let your circle show the green line more time than 1 frame, because it's not enough time for users to watch it. What I did was to add sever frames to both layers in the circle mc and in the end of the timeline Y wrote:
3. You have to set a command in your on(press) and on(release) mc code to make your "circle" mc to move to next frames from 1 frame. Before the line "gotoAndStop(2);" in the on(press) function, I added:
Code:
_root.circle.play();
And at the end of the on(release) function:
Code:
_root.circle.gotoAndStop(1);
4. Make your mc produce the circle to move only when it's exactly on the circle.
Here is where I stopped. I tried next code, but it doesn't work:
Code:
on(press){
kirupaSound = new Sound(this);
kirupaSound.attachSound("coolsound");
kirupaSound.start(0, 1);
if (this._x == _root.circle._x && this._x == _root.circle._y){
_root.circle.play();
}
gotoAndStop(2);
}
on(release){
kirupaSound.stop(["coolsound"])
gotoAndPlay(1)
_root.circle.gotoAndStop(1);
}
I hope someone takes my place or I have more time latter.