[Xerte] AS Sound object

Dave Burnett d_b_burnett at hotmail.com
Fri Dec 10 12:14:26 GMT 2010



Had tried that, no change.

Not to worry, it is a moot point now.
The previous setup was actually working, the test machine was broken.
:-/


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Fri, 10 Dec 2010 11:06:42 +0000
Subject: RE: [Xerte] AS Sound object



loadSound(file, true); you’re loading it as streaming with the false flag, load it as an event sound, J From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 10 December 2010 10:50
To: Xerte list
Subject: RE: [Xerte] AS Sound object 

Not sure what I'm futzing up here.
When I debug, the onSoundComplete event is firing even before I invoke the start()


<scr>
nativeSound = new Sound();
nativeSound.loadSound('blah', engine), false);
nativeSound.onSoundComplete = eventHandler();
</scr>

next calc

<scr>
nativeSound.start();
</scr>








From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Fri, 10 Dec 2010 09:12:35 +0000
Subject: RE: [Xerte] AS Sound objectTwo 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 
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. 
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101210/22da10ef/attachment.html


More information about the Xerte mailing list