Could any one point me in the direction of a tutorial on Controlling a Timeline with Slide Bar, if they know of one please? Have read soome stuff that says its possible but cant find out how to do it.
You may place the slider any where and scale it to any size without affecting its functionality at all.
If you want to change it to control MCs rather than main timeline, just change one line of code by replacing "_root." to "_root.YourMC"
Update:
Modify the following line:
fNum=int((nob._x-slot._x)/(slot._width-nob._width)*(totalFrame+1))+2;
to
fNum=int((nob._x-slot._x)/(slot._width-nob._width)*(totalFrame))+2;
Can I set the slider nob to start at a certain frame?
Hey Dave...
Nice tut btw.
I was wonderring if you can make the nob start at a certain frame in a mc in stead of having the nob at the beginning of the slot mc.
I made it so that i control a mc's timeline and not the main timeline.
Another problem...
When I drag the nob away/out of the slot mc, release button and move back to the slot area, the nob still sticks to the pointer. And i change the one line of actionscript as u wrote under update.
Hope I wrote it well enough. New to actionscript :S
Challenging you: I explore my strengths; Being challenged: I discover my weaknesses; Defeating you: I GIVE you my knowledge; Being defeated: I GAIN your knowledge;
If you want to control your own MC on main timeline, all you need to do is to change _root.gotoAndStop(fNum) to your_MC.gotoAndStop(fNum)
and change _root._totalframes/this._totalframes to your_MC._totalframes
cheers
Challenging you: I explore my strengths; Being challenged: I discover my weaknesses; Defeating you: I GIVE you my knowledge; Being defeated: I GAIN your knowledge;
yeah, I'd really, really like to know how to do that too!
I need to have a movieclip playing and be able to go backward a forward in the timeline, exactly like in videos and music =)
please, please help!
WebSam, I used your slide control for a project prototype and was very pleased. The project may need to be in Actionscript 3 though... have you created a version for 3 at all? It's a wonderful thing and I like to try and keep it. Thanks, matt