I'm an action script newb but I'm trying to design an horizontal historical timeline controlled by a draggable shuttle synced with its playback (forward and backwards)
I've been all over the net and nothing really fits. I figured keeping the shuttle control nested in the clip would make sync the tweens easier and allow me to adjust as the timeline grew.
Thanks for any help!
I am not sure of the terminology, but if your shuttle is what you move along the visual timeline (not the Flash timeline) it is essentially acting like the handle of a slider component or scrollbar. Its position along the timeline will normally be used to control whatever you display.
So how do you have the shuttle controlling the content? You mention tweening, but I am not sure how that fits into the design.
basically as you click and drag on the slider the movieclip goes forward or backward
I was keeping the slider animation within the movieclip so it would sync up as i added more content by just extending the tween, although im sure i could just adjust it in code too
If your movieclip is changing frames for this slider animation, then you probably do not want the slider inside it. You want it external so that its position along the length of the timeline dictates which frame the animation is in.
Maybe you should try using the Slider component just to get a working model. Then you can fashion your own version of it once you get the hang of how it can be set up with the component. It just requires a bit of math to determine how the position of the shuttle represents a particular frame of the movieclip timeline.