Video: Michael Plank’s FDT4 Presentation at Flash Camp Manchester

July 12th, 2010 by Adrian Parr

Michael Plank's FDT4 Presentation at Flash Camp Manchester

Last Thursday I went to Flash Camp Manchester and recorded Michael Plank’s FDT4 presentation.

He does some speed coding and then demonstrates all the shortcuts used.

I have used the pre-release version of Adobe’s Strobe Media Playback to play the video.

Watch it here! (Duration 43 minutes)

Note: It’s progressive download, not streamed.

Posted in ActionScript 3.0, Conferences and Events, Video | No Comments »

Streaming Video using FMS Gotchya’s

September 17th, 2009 by Adrian Parr

I have just come across a few issues whilst building a video player that plays streaming video from a Flash Media Server.

I thought I had everything set up fine but then when I tested I got the following error message …

ReferenceError: Error #1069: Property onBWDone not found on flash.net.NetConnection and there is no default value.

So to resolve this you need to set the client property of the netConnection instance to the object on which callback methods should be invoked. For example …

netConnection.client = this;

and then you need to have an empty public method called onBWDone, like this …

public function onBWDone(...args):void
{
    trace("onBWDone: "+args);
}

Sometimes you may get the following error message …

ReferenceError: Error #1069: Property onFCSubscribe not found on XXX and there is no default value.

In which case you’ll need to add …

public function onFCSubscribe(info:Object):void
{
    trace("onFCSubscribe");
}

The same goes for this error message …

ReferenceError: Error #1069: Property close not found on XXX and there is no default value.

In which case you’ll need to add …

public function close(...args):void
{
    trace("close: "+args);
}

I then discovered that the netConnection with the server was being closed after 5 minutes of inactivity (e.g. pause the video and leave it for 5 minutes). What you need to do in this case is listen for the ‘NetConnection.Connect.IdleTimeOut’ NetStatusEvent, and gracefully close the netStream yourself. For example …

import flash.events.NetStatusEvent;
netConnection.addEventListener(NetStatusEvent.NET_STATUS, onNetConnection_NET_STATUS);

private function onNetConnection_NET_STATUS(event:NetStatusEvent):void
{
    switch (event.info.code) {
        case "NetConnection.Connect.IdleTimeOut":
        netStream.close();
        netStream = null;
        // Display a still image or message to the user ro something
        break;
    }
}

Posted in ActionScript 3.0, Sample Code, Video | 1 Comment »

Flash Video to have Speech-to-Text Metadata

September 12th, 2008 by Adrian Parr

Jim Guerard - Adobe Dynamic Media

I have just come across an interesting video clip of Jim Guerard (VP/General Manager, Adobe Dynamic Media) talking to Beet.tv about using speech-to-text technology to embed transcripts in to FLV files as metadata. This is great news for Flash Video and encouraging to see Adobe’s continuing innovation with the format.

YouTube has been looking in to this area as well and Google has a working version of it on their Elections Video Search Gadget for the iGoogle homepage.

With the addition of Multi-Bitrate Streaming in Flash Player 10 (more info on Adobe Labs here) there are some great new features to look forward to for digital video delivery using Flash.

Posted in Flash, Video | No Comments »