Jump to content
Search Community

Recommended Posts

Posted

Is there any way to make the MP3 Loader load audio content from a local Shared Object?  We've created the local shared object just fine, and we can make it play back by using a SAMPLE_DATA listener, to dump the byte array to the audio socket, like this:

 

mySound.addEventListener(SampleDataEvent.SAMPLE_DATA, dumpByteArray);

 

But we're rather load it into an MP3Loader object so that we can use all of the native methods of the loader.  We tried to set the content property of the loader, but it's read-only, so that did not work.  We tried to instantiate the listener to the content property (which is a Sound, so should work), but it also did not work.  Any ideas?

Posted

Sorry, this isn't the type of usage we can advise or support. 

There is much more going on behind the scenes of MP3Loader that would need to be adjusted besides assigning a new Sound Object as the loader's content.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...