2 questions

  • deccy7
  • Born
  • Born
  • No Avatar
  • Joined: Apr 05, 2004
  • Posts: 1
  • Loc: Ireland
  • Status: Offline

Post April 5th, 2004, 11:03 am

How do I reset a flash movie using actionscript ( it doesn't reset itself properly so I want to do it manually), also how do I delay for a few secs half way through my code?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 5th, 2004, 11:03 am

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post April 5th, 2004, 12:13 pm

Not sure exactly what you're asking on the first question, but you can always send the playback head to frame 1:

Code: [ Select ]
gotoAndPlay(1);



On the second question, there are a couple different ways to make a time delay. You could loop through some frames and not break out of the loop until a var is incrementally increased to a certain point. You could check out using the setInterval() function.

You might want to elaborate a little more with your questions.
:D

btw: These two questions should really be in their own posts. Please separate them into 2 threads. Thanks.
- dM
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post April 5th, 2004, 2:28 pm

For #2, are you looking to pause your code? Or pause your movie? If you are looking to pause your code, we are going to need a little more explanation on what exactly your code is doing, because that will effect how you can "pause" it.
  • BlaSpH
  • Born
  • Born
  • No Avatar
  • Joined: Apr 08, 2004
  • Posts: 3
  • Status: Offline

Post April 8th, 2004, 2:19 am

i'd make it _root.gotoAndPlay(1);

That resets your movie from everywhere :!:

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 59 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.