A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Video CuePoints Action

  1. #1
    Member
    Join Date
    Apr 2005
    Location
    London
    Posts
    76

    Video CuePoints Action

    Hello everyone

    Does anyone know how I can make a movie clip play with actions on the cue points.

    At the moment i can make it gotoNextFrame but i want it to gotoAndPlay nextFrame.

    This is my code:

    var vidList:Object = new Object();
    vidList.cuePoint = function(cues) {
    _root.donatetext_mc.vidwithnav_mc.count_mc.nextFra me();
    }

    vid.addEventListener("cuePoint", vidList);



    I want the count_mc to gotoAndPlay(nextFrame); not to gotoAndStop(nextFrame); if i put gotoAndPlay it doesnt work.

    Any ideas.
    FlashBrian

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    If you want it to play starting from the next frame, you use the play() action.

    Code:
    _root.donatetext_mc.vidwithnav_mc.count_mc.play();

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