dcsimg
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
    Posts
    1

    add cue point with actionscript

    Hello!

    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:
    video_obj.addASCuePoint(cuePt);

    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
    Posts
    332
    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:
    http://www.quip.net/blog/2007/flash/...deo-cue-points
    and
    http://www.adobe.com/devnet/actionsc...nts_audio.html
    and
    http://www.actionscript.org/forums/s...d.php3?t=94877
    Let me know if you make any progress, I've very interested.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

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