开发者

Flex3 VideoDisplay to Flex4 VideoDisplay

开发者 https://www.devze.com 2023-03-11 06:34 出处:网络
My Flex3 VideoDisplay is shown below: <extensions:SmoothVideo id=\"vidWin\" volume=\"1\" playheadUpdateInterval=\"10\"

My Flex3 VideoDisplay is shown below:

<extensions:SmoothVideo
        id="vidWin"
        volume="1"
        playheadUpdateInterval="10"
        playheadUpdate="onPlayheadUpdate();"
        bufferTime="0.5"
        width="320" height="240"            
        metadataReceived="onMetaData( event );"/>

How do I change is to Flex 4 videoDisplay: as the Flex4 component does not have property for metad开发者_运维百科ataReceived and playheadUpdateInterval and bufferTime.

Thanks in advance

Best ~Z~


Take a look at the Adobe LiveDocs

I'm afraid that according to this there is no equivalent for what you are looking for.

Maybe you can have a look at Adobe's Open Source Media Framework for this or just keep on using the <mx:VideoDisplay> component within your spark application since flex 4 is backwards compatible.

Cheers

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号