Thanks!

I got it going using a similar method to what you described...

Now the problem is, when I start it again, I need to know what clips
were playing at the time of the pause, so only those ones get
restarted. Is there a way to find out the status of a MovieClip, i.e.
whether it is playing or not?

bye!


Tuesday, November 9, 2004, 11:18:46 AM, you wrote:

GC> Hey Ryan,

GC> Maybe you can throw in a for loop to find and stop each clip:

GC> for(var i in _root) {
GC>         if(typeof(_root[i]) == "movieclip") {
GC>                 _root[i].stop();
GC>         }
GC> }

GC> Not a really clean solution 'cos it'll eat processor like crazy if you
GC> have a lot of elements in the root, but worth a try.

GC> Cheers,
GC> Grant

GC> -----Original Message-----
GC> From: Ryan Sabir [mailto:[EMAIL PROTECTED] 
GC> Sent: Tuesday, 9 November 2004 10:38 AM
GC> To: Flash Developers List
GC> Subject: [fugli] Pausing a Flash movie



GC> Hey all,

GC> I've got a Flash movie with numerous animated movieclips in it. I've
GC> been asked to add a pause function to it now.

GC> Am I right in thinking I will need to send a stop() to all the embedded
GC> movieclips? Is there a simple way to go through all the clips and pause
GC> them, then restart them when the user unpauses?

GC> At the moment my pause just stops the main timeline, but all the
GC> embedded clips keep running.

GC> thanks...

GC> -----------------------
GC> Ryan Sabir
GC> Newgency Pty Ltd
GC> 2a Broughton St
GC> Paddington 2021
GC> Sydney, Australia
GC> Ph (02) 9331 2133
GC> Fax (02) 9331 5199
GC> Mobile: 0411 512 454 http://www.newgency.com/index.cfm?referer=rysig 


GC> ---
GC> You are currently subscribed to fugli as: [EMAIL PROTECTED]
GC> To unsubscribe send a blank email to
GC> [EMAIL PROTECTED]
GC> Aussie Macromedia Developers: http://lists.daemon.com.au/

GC> ---
GC> You are currently subscribed to fugli as: [EMAIL PROTECTED]
GC> To unsubscribe send a blank email to [EMAIL PROTECTED]
GC> Aussie Macromedia Developers: http://lists.daemon.com.au/


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to