Anyone have any luck using cue points with Flex 2 (Beta 3). I'm having problems. The "CuePointEvent" does not appear to be firing. I'm using the VideoDisplay Object example code found on the Adobe site. Any help would be greatly appreciated.

Thanks,
Chris S.

Here's the code...

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
    <![CDATA[

    import mx.events.CuePointEvent;
    private function cpHandler(event:CuePointEvent):void
    {
        cp.text="go to cuepoint: " + event.cuePointName + " " + String(event.cuePointTime);
    }
    ]]>
</mx:Script>

    <mx:VBox>
        <mx:VideoDisplay source="http://localhost/media/MyVideo.flv" cuePoint="cpHandler(event);">
            <mx:cuePoints>
                <mx:Array>
                    <mx:Object name="first" time="10"/>
                    <mx:Object name="second" time="20"/>
                </mx:Array>
            </mx:cuePoints>
        </mx:VideoDisplay>
        <mx:TextArea id="cp"/>
    </mx:VBox>
</mx:Application>
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to