I'm afraid the metadata is missing in the VideoDisplay component, or better 
yet, they forgot (?) a piece of code in the VideoDisplay 
class.

[Event(name="metadataReceived", type="mx.events.MetaDataEvent")]

and

 [Bindable("metadataReceived")]

You can listen to the metadataRecieved event through actionscript though, 
without modifying the VideoDisplay.as (which isn't a good 
idea anyways)

videoInstance.addEventListener("metadatReceived", metadataReceivedHandler)

uses:
 mx.events.MetadataEvent;

But the MetadataEvent class does not have a static property for 
"metadataReceived".
Well it does, but's it's put under the mx_internal namespace :(

 mx_internal static const METADATA:String = "metadataReceived";

Not sure why Adobe didn't make metadata public and bindable..

regards,
Muzak



----- Original Message ----- 
From: "john" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 02, 2007 4:21 PM
Subject: [flexcoders] VideoDisplay help


do you know how can access the onMetaData, from VideoDisplay component.
i use the VideoDisplay to play a stream flv file from a FVS, and i have problem 
with this component from Flex on buffering percent 
left from 100%, and with metadata :(

i search for information on doc's flex, googleing on the net... but don't find 
a userful article or tutorial in this way: 
VideoDisplay + streaming file from FMS.

thx
 


Reply via email to