Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rollover tells target movie to play... how can I keep it looping?

Status
Not open for further replies.

tyc

Technical User
Feb 11, 2004
1
MY
Aight so I've set up a basic action sequence. I've created a text effect as a movie clip. I've put a 'stop' action at the first frame of the clip. In the scene I've set a rollover action on a button to tell target 'movie' to play. It works fine but it only plays it once. I'm trying to get it to keep looping the movie while the mouse is rolled over then to stop playing the movie when it rolls out. Also I experimented with an else stop statement causeing 2 problems:
1.the movie still didn't loop
2.and when I rolled out it would stop mid way in the effect.
When the rollout occurs I want he movie to go back to its dormant state at its first frame aka the stop action. Can you help?
 
Would be clearer... With an url of what you have now!
Or else... email me your fla.

francoisgill@hotmail.com

X-) "Just when you're going to have ends meet...
Somebody changes the ends!"
 
ok

In your first frame, where you have "stop", change the action to:

if (x=1) {
nextFrame ();
}
stop ();



Then on your button just have the "rollover" action set 'x' to '1', and on "rollout" set 'x' to '0'.

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Or you could place a "goto and play frame 2" action in the lastframe of the looping movie clip rather than let it loop back to frame 1. That way it won't hit the stop until you you tell it to. (i.e when you mouse out you can tell it to "goto and stop" on frame 1.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top