hi all,

has anyone ever tried to use the free Captioning Component CCForFlash (
http://ncam.wgbh.org/webaccess/ccforflash/).

is there an simple example with CCForFlash used with a simple video object ?
i can't make it work ! :-(

any help will be greatly appreciated
:)
have a good day !

cédric houvenagel
www.incandescence.com


-------------------------------------------------------------
here's my code
-------------------------------------------------------------
/*
videoContainer = instance name of the video object
caption_cp      = instance name of the CCforFlash component
*/

stop();

var ADRESSE_SERVEUR_VIDEO:String = null;
var FICHIER_VIDEO_DEMO:String = "http://www.jeparlejaponais.com/media/demo.flv
";
var BUFFER_TIME:Number = 3;

Stage.scaleMode = "noScale";
Stage.align = "TL";

/////////////////////////////////////////////////////////////////////////////////

// create basic netConnection object
var nc:NetConnection = new NetConnection();
nc.connect(ADRESSE_SERVEUR_VIDEO);

// create the netStream object and pass the netConnection object in the
constructor
var ns:NetStream = new NetStream(nc);

// attach the netStream object to the video object
videoContainer.attachVideo(ns);
ns.setBufferTime(BUFFER_TIME);
ns.play(FICHIER_VIDEO_DEMO);

trace(caption_cp);
trace(caption_cp.getLanguages());
caption_cp.startCaptions(false, "car.dfxp.xml", "en");
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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