Hello,
The effect I am trying to create is for a navigation. It is in the shape of 2 c's - circles missing a 1/4 chunk. 1 circle is bigger than the other, both are centered.
There are 4 clickable buttons: North, South, East, and West.
When you click on west, the inner circle should rotate clockwise and the missing chunk will stop when it is pointing at west. The outer circle will rotate counterclockwise and also stop when the missing chunk is pointing west.
same for the other buttons / directions.
I am having troubles doing this, but I am sure it can be scripted.
The script I'm using is from flashkit, but it doesn't have the right commands, just the rotation. I could really use some help with this.
here's what I've got sofar, but
it is not correct.
on the button:
ActionScript Code:
onClipEvent(mouseDown) {
if (hitTest(_root._xmouse,_root._ymouse)) {
_root.bigcircle.rotDest = 90;
_root.smallcircle.rotDest = 90;
}}
}
on the both circles:
ActionScript Code:
onClipEvent (enterFrame) {
if (rotDest> 0) {
this._rotation += (rotDest)*.4;
rotDest--;
}
}
Thanks a lot,
ryan ludwig
[email protected]