Title selections tutorial with flash video & as3

Опубликовано: 14 Октябрь 2024
на канале: Cyphlix
1,534
2

import fl.video.*;
var flvControl:FLVPlayback = vidplayer;
var flvSource:String = "Illidance_1.flv";
flvControl.source = flvSource;

function seek1(event:MouseEvent):void {flvControl.play(); flvControl.seek(10);}
title1.addEventListener(MouseEvent.CLICK, seek1);

learn how to make title selections with video inside flash - full file sample available at http://www.onitz.net/resource/resourc...

as a final note, if you have a really long video & dont want to have to calculate the total seconds, instead of typing 10, you can type (60*18)+32 to skip to 18:32 in the video (18 mins & 32 seconds)