ActionScript 3 flash中FLV视频的actionscript cuepoint监听器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActionScript 3 flash中FLV视频的actionscript cuepoint监听器相关的知识,希望对你有一定的参考价值。

// add an event listener to the video to listen for cuepoints
// in this case the videoclip instance name is 'vid' and the 
// function to be triggered by the listener is 'vidstuff'
// if you change the instance name change the code accordingly
this.vid.addEventListener(MetadataEvent.CUE_POINT, vidstuff);

// function triggered by the listener when we hit a cuepoint
function vidstuff(event:MetadataEvent):void
{

// stuff the function does goes below here


// stuff the function does goes above here
	
}
// end function triggered by the listener when we hit a cuepoint

以上是关于ActionScript 3 flash中FLV视频的actionscript cuepoint监听器的主要内容,如果未能解决你的问题,请参考以下文章

actionscript-flash中FLV视频的提示点监听器

如何使用动作脚本控制 Flash 中的 FLV 播放?

ActionScript 3 AIR — 视频使眨眼跳跃

ActionScript 3 actionscript3 - 跟踪动作以获取有关FLV视频中提示点的信息

ActionScript 3 导入必要的动作脚本以使用FLV和元数据[即。中cuePoints]

ActionScript 3 调整FLV视频的音量