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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controlling another movie clip with a scroll bar

Status
Not open for further replies.

thetaxidriver

Technical User
Jun 9, 2003
2
US
Ok,

If I take a sound clip that I manipulate in sound forge that starts at an engine idle and progresses to a high rpm engine sound, and then I import that as a flash movie clip:

On another level I have a scroll bar, I create an object sound in that movie clip.

How do I make the scroll bar (slides up and down on _y axis) call to play specific frames of the RPM sound as the scroll bar accelerates up the _y?

If the origin of _y is _y + 255, and the top of the accelerator scroll bar is _y + 155, and my engine sound clip is 100 frames long, I want to call to frame 1 of the sound when _y is at _y + 255 and when _y = _y+200 I want to call to the sound at frame 50, and when _y = _y + 150 I want to make the sound play at 100, the peak engine performance sound. But as the scroll comes back down to _y + 255 the sound needs to know how to regress as well.

Thanks for any input!!!

Taxidriver
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top