Mar
26
2003
ff2003: video in flash mx (part 3)
Current session: Video in Flash MX: Creating, Developing and Deploying, presented by Mike Davidson and Danny Mavriotis of ESPN.com.
Set the mood with another ‘Daily Show’ clip. Then they set about demonstrating exactly how they made the player. The video clips originally came from a TiVo, imported into MPEG format, then processed through Sorenson Squeeze. The player background was designed in Photoshop, then imported into Flash. Then they built the player atop the background.
In a couple days, they’re going to post their code ‘n stuff here and here.
Some code for my future reference that probably will make sense only to me and to folks who were at the session…
function populatePlaylist(){for (i = 1; mc_dataholder[“clip” + i + “headline”] != null; i++){
if (Number(i) == Number (currentvideo)){
textfield_playlist.htmlText += ““+mc_dataholder[“clip” +i + “headline”]+”
”;} else {
textfield_playlist.htmlText += ““+mc_dataholder[“clip” +i + “headline”]+”
”;}
}
}
function playVideo(currentvideo){
_root.currentvideo = currentvideo;
textfield_caption.text = mc_dataholder[“clip” + currentvideo + “caption”];
loadMovie(mc_dataholder[“clip” + currentvideo + “url”],”mc_videoholder”);
populatePlaylist();
}