Caption button won't appear


hi!

 

i added flvplayback , flvplaybackcaptioning on scene. each instance named respectively "display" , "caption".

 

the skin use skinunderplayseekcaption.swf

 

the showcaptions parameter flvplaybackcaptioning set "true".

 

when publish file, play button , seekbar there, not caption button.

 

why not showing? how can force show?

 

thank help.

 

here's code, in case might need :

 

import fl.video.*;

import fl.controls.progressbarmode;

 

var flvcontrol:flvplayback = display;

var flvcaption:flvplaybackcaptioning = caption;

var flvsource:string = "videos/p01_intro.flv";

 

caption.source = "intro.xml";

 

function progresshandler(event:videoprogressevent):void{

   var bl:number = math.round(event.bytesloaded/1000);

   var bt:number = math.round(event.bytestotal/1000);

 

   pb.setprogress(bl,bt);

}

 

function readyhandler(event:videoevent):void{

   removechild(pb);

   display.play();

}

 

pb.mode = progressbarmode.manual;

pb.indeterminate = false;

 

flvcontrol.addeventlistener(videoprogressevent.progress, progresshandler);

flvcontrol.addeventlistener(videoevent.ready, readyhandler);

flvcontrol.source = flvsource;

the source flvcontrol should timed text xml file, not flv.

 

check files how create file.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support