Flash video n' related stuff

Archive for the ‘Books & Articles’ Category


I wrote a book a few years ago (yikes, time flies!) called Flash Video for Professionals. While still relevant, the landscape of Flash video, and online video publishing in general, is evolving. So I’ve decided to publish a “living book” one that is always current and is influenced by what you, the reader, need to know NOW.

So, if you are just getting started publishing video online, just getting started with Flash, or you’re an old hand at it and just want to keep up with the latest video features, I want to pick your brain.

I want this e-book to be the most useful and comprehensive resource on the planet for publishing video in Flash. To do that, I have to be sure it answers all of YOUR questions. So tell me what they are! Complete this quick 9-question survey:

http://www.surveymonkey.com/s/FYV6HLT

It’s a short survey, but there is some room for your comments if you have specific recurring stumbling blocks that you want me to cover. But, sorry, I can’t help with those issues with your mother. :)

Thanks for your input,
// Lisa

Flash Video and AS3 article on FFDMag

Aug 18, 2009 Author: lisa larson~kelley | Filed under: Books & Articles, Resources

Chaim Sajnovsky, a prolific contributor to the FlashMedia FMS mailing list and a FMS/Flash consultant, recently authored an informative article on working with video in ActionScript 3.0 that I just ran across.

It goes over the basics of NetConnections, NetStreams and Streams, and how to work with metadata.

You can find it on page 62 of the February issue. Download the PDF for free!

Large-scale deployments on FMS paper published

Jul 6, 2009 Author: lisa larson~kelley | Filed under: Books & Articles, Flash Media Server

It’s been a long time in the works… the Adobe Developer Connection has just published their whitepaper on “Large Scale Streaming Deployments on Flash Media Interactive Server.” While not a light read, it gives you (hopefully) all the information you need to configure and deploy large-scale applications with FMIS. I’ll be involved in updating the paper in the future as well, so please comment if you have any feedback on the contents. Happy reading!

http://tr.im/r8Ah

Adding captioning to Dynamic Playlist example

Jun 24, 2009 Author: lisa larson~kelley | Filed under: Books & Articles, Resources, Tutorials & Code

I’ve had several questions recently about how to add closed captioning to the Dynamic Playlist code in my tutorial on Adobe Developer Connection. I answered a comment on the article, but its not easy to find — so I thought I’d post it here to make it a bit easier.

Yes, this is pretty easy to implement, but is a bit nitpicky. Here’s how you do it.

Just add the URLs of the timed text files to the XML data for each video, like so:
<vid desc=”Popeye for President, Title and Credits”
src=”videos/Popeye_forPresiden256K_flash_popeye.mp4″
thumb=”thumbs/Popeye_forPresiden768K.jpg”
ttURL=”myTTfile.xml” />

Then, in the initMediaPlayer function, you’d just add it as an additional attribute (ttURL) in the ‘for’ loop so it can be loaded for each video as it’s clicked, like this:
tileList.addItem({label:item.attribute(“desc”).toXMLString(),
data:item.attribute(“src”).toXMLString(),
ttURL:item.attribute(“ttURL”).toXMLString(),
source:thumb});

Add these three new lines of code at the end of the initVideoPlayer function:
myVid.autoRewind = true;
myVidCaptioning.source = tileList.selectedItem.ttURL;
myVidCaptioning.flvPlayback = myVid;

And finally, replace the listListener event handler with the following:
function listListener(event:Event):void {
myVid.stop();
myVidCaptioning.source = event.target.selectedItem.ttURL;
myVidCaptioning.showCaptions = false;
myVidCaptioning.showCaptions = true;
myVid.autoPlay = true;
myVid.play(event.target.selectedItem.data);
}
The trick here is to hide then show the captions, so you clear out the data from the previously-selected video. It’s a bother, but this should take care of it.
Then, go into your FLA and drop an FLVCaptioning component onto the Stage, and give it an instance name of myVidCaptioning. Publish, and watch (and read) your videos. :)

Hope this helps… if you have any trouble…

download the example code here (video files omitted; you can grab them from the original tutorial files or change the XML to point to your own).

Another option, of course, is to insert embedded cuepoints into your video files for your captions, then use the onCuePoint event handler and display them in a dynamic text box. This is a more custom approach, but the timed text file approach above conforms more to usability standards. Your call. :)

Flash Video Crash Course

Sep 25, 2007 Author: lisa larson~kelley | Filed under: Books & Articles

My article that published in last month’s Streaming Media magazine has been posted online! Though it doesn’t address the new H.264 support in Flash, it’s a good overview of Flash video for those who are just getting started, or would like a refresher.

Flash Video for Professionals is now shipping!

Jun 29, 2007 Author: lisa larson~kelley | Filed under: Announcements, Books & Articles

Our book is now available on Amazon, and will be “wherever books are sold” very soon! We worked really hard on this book, and tried to include everything you need to create Flash video applications in the real world. You’ll find all sorts of solutions to problems you’ll invariably encounter out there. Clients that may not know what they want. Video that’s blocky and choppy. Slow internet connections. Transitions, filters, thumbnail snapshots, streaming, progressive, videoconferencing… we cover it all. In both AS2 and AS3. It took a few years off our lives, but here it is! :)
Details over here >>

Flash Video for Professionals listed on Amazon

Mar 14, 2007 Author: lisa larson~kelley | Filed under: Announcements, Books & Articles, Resources

Flash Video for Professionals Wiley Publishingflash video for professionals coverRenĂ©e and I are currently working on Flash Video for Professionals, to be published by Wiley, and it’s now available for pre-order on Amazon! You can buy it here: Flash Video for Professionals: Expert Techniques for Integrating Video on the Web. We’ll also be posting some excerpts here to give you an idea of what we’re working on as we finish it up. Feel free to leave comments, feedback and requests!


Lisa
Larson~
Kelley

Adobe Community Professional Author, speaker, developer, geek, mom.


Flash Video for Professionals book
Our book, Flash Video for Professionals, is now shipping! This is the book we always wanted to have by our side when developing Flash Video applications. It takes a holistic approach -- from concept, to client interaction, to application architecture. With code examples in AS2 and AS3, you can get started right away (and ease your transition from one version to another). We cover all aspects of Flash video including encoding, using the components, creating your own custom players, filters and transitions, buffering issues, hosting choices, and more.
Buy on Amazon »
Book Source Files, Etc. »