AudioClip scripting question

Thomas McGrath III 3mcgrath at adelphia.net
Wed Feb 18 23:53:31 EST 2004


Ken,

on mouseDown
	repeat while the mouse is down
		play audioClip "one.au"
		wait 10 milliseconds -- or what ever seems to work best time wise
	end repeat
end mouseDown

NO mouseUp needed


Tom

On Feb 18, 2004, at 7:40 PM, Ken Norris wrote:

> Howdy,
>
> I wanted to get a dial tone to play continuously while the mouse is 
> down.
>
> on mouseDown
>   play audioClip "one.au" looping
> end mouseDown
>
> on mouseUp
>   play stop
> end mouseUp
>
> ...sounds like a machine gun. How can I make it play 
> smoothly/continuously?
>
> Ken N.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list