播放器设置:
Stage.scaleMode = "noScale";
Stage.showMenu = false;
!_root.videoPath ? videoPath = videoPath : videoPath = _root.videoPath;
var playerPos:MovieClip = _root;
var playerSize:Number = 360;
//播放器尺寸(以视频窗口为准.)
var mvlineBorder:Number = 1;
//所有MC的线尺寸
var mvbgColor:Number = 0x777777;
//播放器背景颜色;
var mvbgLineColor:Number = 0x777777;
//播放器背景线条颜色;
var videoBgColor:Number = 0xffffff;
//视频背景颜色(就是那圈白色的);
var videoBgLineColor:Number = 0xffffff;
//视频北京线颜色;
var btnBarColor:Number = 0x666666;
//按钮条颜色;
var btnBarLineColor:Number = 0xCCCCCC;
//按钮条边线颜色;
var btnColor:Number = 0xFFFFFF;
//按钮默认状态颜色
var btnBorderColor:Number = 0x666666;
//按钮线颜色
var btnTextColor:Number = 0xFFFFFF;
//按钮文字颜色
var playBarColor:Number = 0xFFFFFF;
//视频播放进度条颜色;
var loadBarColor:Number = 0x333333;
//视频加载进度条颜色;
var setBarHeight:Number = 6;
import Classes.MyPlayer;
var test:MyPlayer = new MyPlayer (playerSize);
类文件存放目录:Classes
MyPlayer.as
Btn.as
CreateMC.as
Skin.as
具体配置方法:
http://www.cincn.com/html/2006-5-28/23.html
因为周末病的挺惨的,所以有部分设置没完成.假如哪位仁兄有意修改的话请联系偶.
还有就是视频外边的MC那.有点不合理..多了一个.当时糊涂了..哈哈.
假如转载请注明:作者 KeeRula!
源文件:
Player.rar