2 questions

  • deccy7
  • Born
  • Born
  • deccy7
  • Posts: 1
  • Loc: Ireland

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

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.
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

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
  • BlaSpH
  • Posts: 3

Post 3+ Months Ago

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 9 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
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.