[Xerte] AS Sound object

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Dec 10 09:12:35 GMT 2010


Two scripts: first one isFunc = 1 named 'eventHandler': debug("something happened");

Second script:
mySound = new Sound();
mySound.loadSound(FileLocation + 'flowery.mp3', true);
mySound.onLoad = eventHandler();


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 09 December 2010 19:09
To: Xerte list
Subject: [Xerte] AS Sound object



I'm having issues looping short rapid sounds using the Xerte Sound icon.

Thought I'd give the native AS one a whirl:

mySound = new Sound();
mySound.loadSound('http://www.blablah.com/daves.mp3', false);

So how do I trap events from this thing?
Specifying mySound and onLoad in an event trap does nada.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101210/7c676376/attachment.html


More information about the Xerte mailing list