USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 9/2/06 01:12 PM
Sign-Up: 12/24/04
Posts: 1,562
hello friends and foes.
ive got a problem, a small one i think. I want to create a movie scroller, like a dragger and a bar at the bottom of the screen. It should move as the movie plays. But you can also scroll it, like if you click it and move it left or right the movie reverses or forwards. can anyone help me with this?
thanks, godbless you newgrounds.
Posted at: 9/2/06 01:35 PM
sorry for the double post but this is my code:
onClipEvent (enterFrame) { if (pressed != false) { this._x = _parent.dragbar._x+(_root._currentframe-_p arent._parent.firstframe)/(_parent._parent .lastframe-_parent._parent.firstframe)*bar Width; } else { total = _parent._parent.lastframe-_parent._parent. firstframe; dest = Math.ceil((this._x-_parent.mcBoundL._x)/ba rWidth*total+_parent._parent.firstframe); _root.gotoAndStop(dest); } }
All times are Eastern Standard Time (GMT -5) | Current Time: 09:33 AM
<< Back