SayMedia总览

1 sayMedia有一个类包,需要的类都在里面。

 

2 video._activated

alwaysShowControls=false;

autoPlay=false;

autoRewind=false;

bgAlpha:Number;

bgColor:unit;

video.file :String

controlsLocked:Boolean

ctaKey:String

loopVideo:Boolean

externalControls:String

hideControls()

lockControls(a:Boolean);

currentTime:Number(get)

debug:Boolean

videoKey:String

isPlaying:Boolean

doVideoCTA();

duration:Number(get);

endState();

normalState() 

rewindVideo()

playVideo()

video.activate()-----deactivate()

 

 

vid.addEventListener("stopped", video_complete);//视频结束调用函数

function video_complete(e){

     isVideoStop = true;

    endCard.animHover.gotoAndPlay(2)

}

3 组件:

video

Slideshow 

 

4 常用代码

_currentName=root.loaderInfo.url.substring(0,root.loaderInfo.url.lastIndexOf('/'))+'/products.swf';

 this.getChildByName("detailMain_mc")).disposeVideo()

 

transitionIn()  transitionOut()  Interact()//移入 移出 点击

 

5外部链接 直接将影片剪辑的名字命名为 link_ 比如 link_bgClick

 

 

6 slideshow取得screen里的播放器:MovieClip(slideshow.currentSwf.content).screenContent.vid

转载于:https://www.cnblogs.com/1000pen/archive/2012/10/27/2742270.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值