Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

movie clip will move left to right continuesly when mouse hovers on bu

Status
Not open for further replies.

Keendev

Technical User
Jan 23, 2006
106
PH
I have a flash movie that displays and loops my 40 logos inside a movie clip...

then,I have two big Button Arrows on each side(left & right side)on the main movie.

I need these arrows to be functional..
- when mouse hovers on left arrow, the logoClips will move fast right to left
- when mouse hovers on right arrow, the logoClips will move left to right.

can you guys help me?

note: movie clip logos are already moving right to left slowly using motion tween, I need to put button arrows to navigate. If you have better version ...pls help

thanks in advance.
 
You can do this with a simple script. Something like:
Code:
rightArrow.onRollOver = function():Void  {
	onEnterFrame = function ():Void {
		logoClip._x++;
	};
};
rightArrow.onRollOut = function():Void  {
	delete onEnterFrame;
};

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top