Forum Topic: moviescrollbar help wanted please

(145 views • 1 reply)

This topic is 1 page long.

<< < > >>
Questioning

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 01:12 PM

ApeLord EVIL LEVEL 15

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.


None

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 01:35 PM

ApeLord EVIL LEVEL 15

Sign-Up: 12/24/04

Posts: 1,562

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

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!