Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-15-2001, 11:54 AM   #1
kai
Registered User
 
Join Date: Aug 2001
Posts: 5
Cool

Hi
Is it possible to just have buttons that can Stop, Play, Forward in the movie main timeline only which can control the movie clips instance, regardless of unknow nested clip.
Can anyone point me or suggest me please?
Kai
kai is offline   Reply With Quote
Old 08-16-2001, 01:37 AM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

what do you mean regardless of unknown children? you can of course perform these effects on any timeline ...
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 08-16-2001, 07:27 AM   #3
kai
Registered User
 
Join Date: Aug 2001
Posts: 5
Default

I mean I have a movie clip which full of nested clips by attachmovie() function. Therefore i do not know the name of the clip.
I want to have a control only on the main timeline to stop or play the childest movie clip.
I do not want to insert the control in every single timeline.
If i misunderstood please suggest.
Kai
kai is offline   Reply With Quote
Old 08-17-2001, 04:21 AM   #4
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

use a for..in. this comes straight from the AS Dictionary:
Code:
for (name in myMovieClip) {
	if (typeof (myMovieClip[name]) == "movieclip") {
		trace ("I have a movie clip child named "+name);
	}
}
that will find every child object which is a movie clip.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 08-17-2001, 08:16 AM   #5
kai
Registered User
 
Join Date: Aug 2001
Posts: 5
Cool

Thank you for your reply. I appreciated it.
Kai
kai 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
external javascript to control flash psychommunity0 ActionScript 1.0 (and below) 1 07-23-2003 11:58 AM
Streaming Flash Player 6 simail Other Flash General Questions 7 04-03-2002 11:14 AM
Flash MX seminar Tink ActionScript 1.0 (and below) 5 03-17-2002 04:41 AM
Php, Javascript, and Flash 5 browser detect and more! Redline01 Server-Side Scripting 2 08-11-2001 01:09 AM


All times are GMT. The time now is 04:21 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.