Catching a VideoError?

Hi,

I’ve got the FLVPlayback component on the stage (called videoDisplay).

And the following code:

import fl.video.*;
videoDisplay.source = ‘video.flv’;

try {
} catch (e:VideoError)
{
trace("got error: " + e.message);
}

It doesn’t trace an error when I change the video source from video.flv though. It only displays the player skin. How do I get the error message to appear in the output panel?

The next stage: How do I get it to display the error once I get it working in the output panel? In a text field? I also don’t want the video skin appearing, just a message saying that there is an error.

Thanks,

John