で停止し、私はFLVのVIDを持っており、それが常に同じ場所で停止しませんどのようにこれまでに動的にフラッシュA3 - キューポイント
vid.addASCuePoint(1, "cuePoint1");
キューポイントを設定します。どうすればより正確にできますか?私はこれをバッファリングと他のいくつかの要因のために取るか?
import fl.video.*;
//etc etc
vid.addEventListener(fl.video.VideoEvent.READY, flvPlayback_ready);
vid.addEventListener(MetadataEvent.CUE_POINT, flvPlayback_cuePoint);
function flvPlayback_ready(evt:fl.video.VideoEvent):void {
vid.addASCuePoint(1, "cuePoint1");
vid.play();
}
function flvPlayback_cuePoint(evt:MetadataEvent):void {
vid.pause();
trace("CUE POINT!!!");
trace("\t", "name:", evt.info.name); // name: cuePoint1
trace("\t", "time:", evt.info.time); // time: 1
trace("\t", "type:", evt.info.type); // type: actionscript
}
私はちょうどビデオを吐き出した。 – LeBlaireau