Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.

Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.

Reason:
Trying to load a sound file in AIR and the path was incorrect or I was reusing a sound instance. I don’t really know on this one but I think I was reusing a sound when I should have been reusing a soundchannel. I rewrote the code and it works now. Included below and attached as a download. This example is for Adobe AIR: Loading and playing sounds locally in an Adobe AIR application



	
	
	
	
	
	
	
	
	

Playing sound locally with AIR

Please post in the comments your use case to help the community. :)

This entry was posted in AIR, Errors, Flex. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Wrap your code before posting! Click the links below:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">