Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-07-2007, 01:51 PM   #1
robinsaj
Registered User
 
Join Date: Mar 2007
Posts: 1
Default on Release Play All Movies

I have figured out how to get all my movies to Stop with the click of one button, now I need to know how to get them to Play again with the click of another button. Currently, I am starting each instance seperately and I am sure that this is not the most effective method:

on (release) {
_root.mcsign1.play( );
_root.mcsign2.play( );
_root.mcsign3.play( );
_root.mcSignal.play( );
_root.mcMars.play( );
_root.mcShip.play( );
_root.mcWater.play( );
_root.mcClouds.play( );
_root.mcMountains.play( );

unloadMovie("mcText");}

Thanks
robinsaj is offline   Reply With Quote
Old 03-07-2007, 02:11 PM   #2
3pepe3
;)
 
3pepe3's Avatar
 
Join Date: Aug 2006
Location: In transit--- Still bored
Posts: 1,739
Default

hi & welcome
ActionScript Code:
on (release) {     for (i in _parent) {         if (_parent[i] instanceof MovieClip) {             trace(_parent[i]);             ////OUTPUT////////             //_root.mcsign1             //_root.mcsign2             //_root.mcsign3             //_root.mcSignal             //_root.mcMars             //_root.mcShip             //_root.mcWater             //_root.mcClouds             //_root.mcMountains             _parent[i].play();         }     }     unloadMovie("mcText"); }
or store all the movieClips in one array
edited:
the output wil be with _level0
__________________
http://www.pepemagana.com

Last edited by 3pepe3; 03-07-2007 at 02:13 PM.
3pepe3 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP --> multiple flash movies? pixielex ActionScript 2.0 1 09-25-2006 06:42 PM
Loading Movies in two groups QBA ActionScript 2.0 4 07-17-2006 05:29 PM
Preload 6 movies, play like one danthewebguy ActionScript 2.0 0 08-13-2004 04:07 PM
Is there no simple answere? to Load movies hhhhhhh ActionScript 1.0 (and below) 1 06-22-2003 04:28 AM
preloading 4 different movies to play in an order robinhood ActionScript 1.0 (and below) 3 06-29-2002 12:00 PM


All times are GMT. The time now is 09:26 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.