There are sliders for volume & pan in the Behavior Library

There is also a modified version of these that let's you control almost any Lingo property. It's available somewhere in the Director Dev Center.

hth
-Buzz


At 11:21 PM -0500 2/18/03, you wrote:
Can someone please point me to an example of a slider that controls the playback of a media cast member (video, sound)? I've already searched DOUG and couldn't find one. The Lingo samples that come with D 8.5 have a sound control movie, but it doesn't have a slider. The bahviour libraries have pan, volume, etc., but not a slider.

The slider I've slapped together shows an annoying quirk: when I drag the thumb and release it, the sound momentarily goes back to where it was before I clicked the thumb, and only then is cued to where I want it to be. I don't know what I'm doing wrong:

I pause the sound channel on mouseDown: sound(1).pause()

I then resent sound(1).currentTime to the new position.

On mouseUp, I resume playbaclk: sound(1).play()

Yet the actual currentTime is not reset until *after* the playback resumes, so I hear a fraction of a second played, then the audio is cued to where I want it, and then continues playing.

This is with MP3 as external cast members, preloaded, in D 8.5.1 under Windows 2000.

What am I doing wrong?


Thanks!

Slava

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Reply via email to