SWFSound 网页音乐播放控件 项目简介
SWFSound 是一个基于Web的Flash程序,用来控制网页上音乐的播放。示例代码:<script type="text/javascript"> var id_sound1,id_sound2,id_sound3; // Load the SWFSound Flash Engine swfsound.embedSWF( 'swfsound/swfsound.swf' ); // When the engine is loaded, preload sounds swfsound.onload = function() { // alert("Callback: SWFSound Flash successfully loaded ..."); id_sound1 = swfsound.loadSound( 'mp3/sound1.mp3', streaming = false ); id_sound2 = swfsound.loadSound( 'mp3/sound2.mp3', streaming = false ); id_sound3 = swfsound.loadSound( 'mp3/sound3.mp3', streaming = false ); }</script>