This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > December 2003 > How to create a scrolling timeline.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to create a scrolling timeline.
mimikuk webforumsuser@macromedia.com

2003-12-22, 3:28 am

What I mean is I want to set up a demo with a timeline whos bar scrolls as the movie plays. The user can then take that bar and move it back or forward to advance to different points in the movie. Can someone help me with this. I could just create buttons
to move to different sections within a movie but the scrolling timeline seems so much cooler. Thanks, anyone?


pazzoboy webforumsuser@macromedia.com

2003-12-23, 2:28 am

On the main timeline, create a bar and convert it to a symbol. Attach this to it:

onClipEvent(load){
setProperty(this,_x,0);
setProperty(_root.TimeLineMovieClip,_x,0);
}
on(press){
this.startDrag();
}
on(release){
this.stopDrag();
}
onClipEvent(enterFrame){
_root.TimeLineMovieClip._x = this._x*-1; //only if they are both 0 at the start.
}



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews