Ken,

also

Docs: The period between mouseStillDown messages is specified by the idleRate and idleTicks properties. The idleRate is an integer between zero and 65535. By default, the idleRate property is set to 200 (one-fifth of a second). This property is very similar to the idleTicks property, and changes when the idleTicks changes. The only difference is that the two properties are given in different time units: the idleRate is in milliseconds and the idleTicks is in ticks.


you can set the idleRate and or idleTicks for quicker or slower


on mouseStillDown
set the idleRate to 75-- (Play with this awhile, I didn't so I don't know the right times to use)
play audioClip "one.au"
end mouseStillDown


I do notice some inconsistent behavior in these messages being sent but it might still be a better way.

Tom


On Feb 18, 2004, at 11:53 PM, Thomas McGrath III wrote:


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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



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

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



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

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to