Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-05-2005, 02:00 AM   #1
n0thing13
Registered User
 
Join Date: Nov 2004
Posts: 9
Default Slider Control Alpha of another MovieClip

How do I control a movieclips timeline with the movement of another?

Last edited by n0thing13; 02-05-2005 at 02:16 AM.
n0thing13 is offline   Reply With Quote
Old 02-05-2005, 02:37 AM   #2
Laguana
Well known nobody
 
Join Date: Jul 2004
Posts: 818
Default

well, you tell the other movieclip to gotoAndStop/gotoAndPlay a frame depending on the movement of the other.

_root.myMovieClip.gotoAndPlay(2) tells myMovieClip which is directly off the _root to gotoAndPlay frame number 2.
Laguana is offline   Reply With Quote
Old 02-05-2005, 03:50 AM   #3
n0thing13
Registered User
 
Join Date: Nov 2004
Posts: 9
Default Slide Bar

What about if the one movieclip is a knob for a slide bar and as it is dragged on x it moves the other movieclip along its own timeline?
n0thing13 is offline   Reply With Quote
Old 02-05-2005, 04:47 AM   #4
Laguana
Well known nobody
 
Join Date: Jul 2004
Posts: 818
Default

Then you have some code on it which turns it's x position into a frame position, and tells the other movie to gotoAndStop at that frame.
Laguana is offline   Reply With Quote
Old 02-05-2005, 05:28 AM   #5
n0thing13
Registered User
 
Join Date: Nov 2004
Posts: 9
Default

What is the syntax for that?
n0thing13 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


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