A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: add cue point with actionscript

  1. #1
    Junior Member
    Join Date
    Jan 2010

    add cue point with actionscript


    My name is Martin and I'm trying to implement a custom feature to my flv player to load subtitles from external xml.

    My custom player is playing fine but I don't know how I can add actionscript cue point.

    NetStream is attached to actionscript controlled Video with instance name video_obj - on my stage.

    To add cue point I used this code:

    cuePt holds time, name and type for cuepoint.

    And I'm getting this error:

    Call to a possibly undefined method addASCuePoint through a reference with static type flash.media:Video

    I have got feeling that addASCuePoint method works only with components but how can I add cue point by actionscript then?

    Thanks for any help.

  2. #2
    Senior Member
    Join Date
    May 2008
    You're right about "addASCuePoint" working only with components.
    I'm very interested in using cue points with NetStream so I'm following this post closely. From my research here's a pretty good link related to using cue point with NetStream.
    It's a long blog so work your way down. It discusses both ns and components:
    Let me know if you make any progress, I've very interested.
    Best wishes,
    Eye for Video

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center