0 Members and 1 Guest are viewing this topic.
package { import flash.utils.ByteArray; import neoart.flod.amiga.*; import neoart.flod.futurecomposer.*; /** * FlodEd wrapper * @author benny! */ public class FCMusic { // Embed future composer track [Embed(source="../assets/skidrow1.fc4", mimeType="application/octet-stream")] private var Song1:Class; private var _player:FCPlayer; public function FCMusic() { var stream:ByteArray = new Song1() as ByteArray; _player = new FCPlayer(); _player.stereo = 0; _player.load( stream ); } public function play():void { _player.play(); } public function stop():void { _player.stop(); } // Feel free to add pause, restart etc... }}
We really do need this on DBF it would make it AMAZING