: Playing audio clips
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Wed Oct 12 15:27:40 EDT 2005
Hi Jim,
I find your contributions amazing :-)
Glad to help you.
> Hi Eric,
>
> Thanks for the heads up. Loved your stack.
>
> I was puzzled that you weren't getting the static that I get when
> the thumbposition of the scrollbar is set with the update.
>
> Turns out that my scrollbar has a scrollbarDrag handler which sets
> the currentTime of the player. (I want to be able to drag the thumb
> to any point along the bar. This allows me to choose the starting
> point with the slider.)
In the tutorial, I used a progress bar (not a scroll bar) but you can
click anywhere on it to get a new starting point.
> What I needed was a way to avoid the execution of the scrollbar
> handler when the thumbposition was moved by an external handler,
> but to allow the script when the thumb was dragged. That can be
> done with the same device one uses in a mouseMove handler. I added
> a mouseDown handler in the scrollbar which puts a value into the
> variable myName and then exiting the scrollBarDrag handler if
> myName is empty.
>
> Thanks again,
>
> Jim
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list