Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
fakeartist

Loading large MP3s...

Recommended Posts

Hello to all! I have a newbee question.

Say I have a large MP3 (10MB).

I want to load it, but I do not want to load the whole sound.

I want to load a part of it (say 500Kb), and after that the sounds starts playing while it keeps loading the rest of it.

Any solutions? Thanx in advance...

Link to comment
Share on other sites

You can set autoPlay:true for your MP3Loader and it will start playing as soon as it buffers enough audio (the default is 1 second of audio but you can change that by passing in a custom SoundLoaderContext as the "context" vars special property).

Link to comment
Share on other sites

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.
×