round 0 Report post Posted January 28, 2005 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
wolffsniper 0 Report post Posted January 29, 2005 Hey dude i have been trying to stream Mp3 files and it wont do it for me all it will do is start playing and stop or not play at all u have any idiea why? Share this post Link to post Share on other sites
BoSZ 0 Report post Posted January 29, 2005 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
round 0 Report post Posted January 31, 2005 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
alexwhin 0 Report post Posted February 1, 2005 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
round 0 Report post Posted February 1, 2005 There's this sitehttp://midi2wav.com/which might help but i also think that itunes can convert midi's to mp3.hope this helpround.trap17.com Share this post Link to post Share on other sites