随笔分类 -  Flex

摘要:private function onSavePlayerHistoryList(event:PlayerEvent) : void { var historyTimeData:Object; var event:* = event; clearTimeout(this.addLater); if (ExternalInterface.available) { try { h... 阅读全文
posted @ 2012-10-19 16:07 潺莪 阅读(546) 评论(0) 推荐(0)
摘要://首先将一个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 潺莪 阅读(826) 评论(0) 推荐(0)