[Laszlo-user] Stumped on sound effects
notzippy at gmail.com
Thu Jun 22 11:31:12 EDT 2006
Not sure if this will help but try
On 6/22/06, Mark Engelberg <mark.engelberg at gmail.com> wrote:
> I'm trying to make it so that clicking a button triggers a clicking
> sound. This is a very short, rapid sound which can be triggered many
> times in a row, so of course, I want to include it staticly.
> I struggled with the dozens of ways which are supposed to allow one to
> load a sound, but most didn't work. Finally, I had some success when
> I set up the sound in this way:
> <view name="clickSfx" play="false">
> <method name="init">
> Then later, I play the sound by invoking clickSfx.play().
> BUT, Laszlo still isn't playing the sound fast enough to work as a
> click sound effect. Depending on how fast the button is clicked,
> sometimes the sound doesn't play, sometimes it gets queued up and
> plays delayed.
> Help! Has anyone figured out how to play a rapidly responsive sound
> effect in Laszlo?
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
More information about the Laszlo-user