flash player_flash 音量调节脚本

时间:2015-06-16  来源:组件控件开发  阅读:
------------------音量调节脚本-------------
on(press){
        this._parent.sound_z._width = this._xmouse;
        _root.audio.SetVolume(100);
        trace(this._parent.sound_z._width/60*100);
}

------------------播放进度拖放脚本---------------

onClipEvent (mouseDown) {
        pro_drag_x = this._xmouse;
        delete this.onEnterFrame;
}

onClipEvent(mouseUp){
        this._x = this._x+this._xmouse-pro_drag_x;
        _root.netStream.seek(this._x/200*_root.netStream.totalTime);

        //循环显示播放进度拖放按钮位置
    this.onEnterFrame = function(){
          this._x = Math.ceil(_root.netStream.time/_root.netStream.totalTime*200);
        };
}

flash player_flash 音量调节脚本

http://m.bbyears.com/asp/15874.html

推荐访问:flash插件 flashfxp flash控件 flash动画制作 flashftp flashget flash动画
相关阅读 猜你喜欢
本类排行 本类最新