messi
September 2nd, 2006, 02:29 PM
Hi iam doing a cricket game.
Bowling : On the pitch their are two lines one moving horizontal (line_marker) and one moving vertical(length_marker). The line_marker is to select the line of the delivery, and length_marker is used to select the length of the delivery. The two markers are kept as two seperate movie clips.
1. On the main timeline i have the two markers running, but one marker is masked under another(length_marker masked by line_marker). I also have a button on the main timeline. When pressed once the line_marker should stop and when pressed once more the length_marker should stop.
How do i do that.
2. Once the two markers are stopped, how do i get the x and y coordinates for the markers.
3. How do i make a ball bounce on that particular x and y coordinate and make it move in that path.
Hope the question is not confusing.
Ash.
Bowling : On the pitch their are two lines one moving horizontal (line_marker) and one moving vertical(length_marker). The line_marker is to select the line of the delivery, and length_marker is used to select the length of the delivery. The two markers are kept as two seperate movie clips.
1. On the main timeline i have the two markers running, but one marker is masked under another(length_marker masked by line_marker). I also have a button on the main timeline. When pressed once the line_marker should stop and when pressed once more the length_marker should stop.
How do i do that.
2. Once the two markers are stopped, how do i get the x and y coordinates for the markers.
3. How do i make a ball bounce on that particular x and y coordinate and make it move in that path.
Hope the question is not confusing.
Ash.