|
-
Rollover that doesn't return but resets script
Hello,
I'm making a website. I'd love for a fish to jump up and eat a mayfly when the user rolls over the bottom of the screen. I know how to use the rollover script:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
But its not giving me the results I want. The fish swims backwards to the start point after it is done. I'd like to fish to simply reset where it is after it swims and eats. Please see http://www.swfcabin.com/open/1278526866
for the example.
Does anyone have a script that will do this. I'm noob.
I use Flash CS3 on a Macbook Pro.
THanks!
Robb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|