[Xerte] AS3 Sound Code not working in Xerte

Deborah Delin admin at strivney.com
Fri Jul 1 08:51:34 BST 2011


Help!!!  I've have to use AS3, for this particular exercise and the sound
code I have on a button:

var snd:grey_rod= new grey_rod();

speaker_grey.addEventListener (MouseEvent.CLICK, soundbutton_Handler);

function soundbutton_Handler (e:MouseEvent):void {
snd.play();
}

which works perfectly in the SWF, doesn't play in Xerte.

Any suggestions why not?

Thank you!!!

Deborah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110701/d09be0c2/attachment.html>


More information about the Xerte mailing list