摘要: //首先将一个mp3导入了库中,给声音文件设置了music类//在场景中建立3个按钮buttonplay,Continuebotton,stopbottonvar musicstar:SoundChannel=new SoundChannel();var StopPlayPosition:Number;//停止播放的位置var soundLoopPlay:Boolean=true;//是否循环播放var soundTF:SoundTransform = new SoundTransform();//控制声音的音量var music_play:music = new music();sound. 阅读全文
posted @ 2012-03-22 15:42 潺莪 阅读(808) 评论(0) 推荐(0) 编辑