forked from: Simple mp3 loop
/**
* Copyright makc3d ( http://wonderfl.net/user/makc3d )
* GNU General Public License, v3 ( http://www.gnu.org/licenses/quick-guide-gplv3.html )
* Downloaded from: http://wonderfl.net/c/pzKv
*/
// forked from noobius's Simple mp3 loop
package {
import com.actionscriptbible.Example;
import flash.media.Sound;
import flash.net.URLRequest;
public class FlashTest extends Example {
public function FlashTest () {
trace ("You can't get rid of teh gap.");
trace ("You just CAN'T.");
trace ("Get over it.");
trace ("It's part of mp3 format, called ISO padding.");
trace ("The best you can do is incorporate the gap in melody itself.");
var mp3:String = "http://0xffffff.ru/flash/exp/as3/musical/wonderingpixelsdance/06.mp3";
(new Sound (new URLRequest (mp3))).play (0, int.MAX_VALUE);
}
}
}