Jump to content
xisto Community
Sign in to follow this  
round

Steaming Sound File problems looping

Recommended Posts

I've recently started using streaming sound files, the make my swf's faster loading but i can't seem to figure out how to loop them using actionscripting. I pretty much tried everything. If anyone can help, that would be great.round

Share this post


Link to post
Share on other sites

i see 2 waysone of the is pure as but it is not worth the timeyou would hev to create a empty MCthen load the mo3 onto taht mcand controll it over ASbut the easuest way would be to set the loop counter to 100000000000000000000000000000000000000:P

Share this post


Link to post
Share on other sites

How do you set the loop counter to 100000 ect when your loading it dynamically?Here's my fix, if it helps anyonecreate an mc and name it - music -//frame 1mysound = new Sound()mysound.loadSound("whatever.mp3", true);mysound.onSoundComplete = function(success){gotoAndPlay(2);}//frame 2gotoAndPlay(1);}//To start the sound using a button -* add _root if they're not on the main timelineon (release) { music.mysound.start();}//To stop the sound using a button -* add _root if they're not on the main timelineon (release) { music.mysound.stop();}hope this helpsround.trap17.com

Share this post


Link to post
Share on other sites

i can loop the only problem i have i can't put midi files into it any way of coverting midi to wav or something, latle be a big help, thanks!

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.