http://livedocs.adobe.com/flash/8/main/00003622.html
http://livedocs.adobe.com/flash/8/main/00003561.html
http://livedocs.adobe.com/flash/8/main/00003560.html



----- Original Message ----- 
From: "Juan Anzaldo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 26, 2007 9:35 PM
Subject: [Flashcoders] Video Gallery


>I am doing a Video Gallery in flash, Im loading the FLV files dynamically, I 
>want to know the totalTime of the new video loaded, Im 
>using the totalTime property after load the FLV but It doesnt work.
> I need the total duration of each video, how can I do?, any ideas?
>
> function carga()
>    {
>        video_mc.visible = false;
>        video_mc.stop();
>        video_mc.setMedia("video1.flv");
>        //video_mc.contentPath = "video1.flv";
>        onEnterFrame = function()
>          {
>                btotal = video_mc.bytesTotal;
>                bcargados = video_mc.bytesLoaded;
>                redondeo = Math.round((bcargados*100)/btotal);
>                barraProgreso_mc.barra_mc._xscale = redondeo;
>                if (redondeo >= 100)
>                    {
>                        delete onEnterFrame;
>                        cargado = true;
>                        duracionTotal  = video_mc.totalTime;
>                    }
>          }
>    }//carga
>
>
>
> Ing. Juan Anzaldo


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to