A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash 8 Video cue points + animated text

  1. #1
    Senior Member
    Join Date
    Sep 2000
    Location
    Cardiff
    Posts
    137

    Flash 8 Video cue points + animated text

    Im looking to use cue points to bring up animated text in a movie clip on cue.

    All i seem to be able to find is the use of cue points to build a nav, but ive done that, but wondered if anybody new of any tutorials or had any help.

    Ive got a guy talking on a white background, and as apple do it i want to bring up text animations or graphics on cue.

    cheers

    Lee
    Accend Web Solutions

    www.accend4web.co.uk

  2. #2
    Banned
    Join Date
    Feb 2003
    Location
    here
    Posts
    18
    im having a hell of a time finding info on this as well. ive got a person with a transparent background, and based on cue points i need to trigger different animations in different movie clips. cant for the life of me figure out how to set up the scripts to respond to the different cue points.

    cue points in mine being "stop1" "stop2" "stop3" "stop4" etc with no naming/parameter info attached

    anyone know where to find this info? AS to respond and tell movie clips to do something when a cue point is hit

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Location
    Cardiff
    Posts
    137
    Hi there,

    I trawled the web this mornign and I have found this tutorial:

    http://www.adobe.com/devnet/flash/ar...so_mx2004.html

    its close, but i will keep lookin gand post any new ones i find.

    Lee
    Accend Web Solutions

    www.accend4web.co.uk

  4. #4
    Senior Member
    Join Date
    Sep 2000
    Location
    Cardiff
    Posts
    137
    Here is what im workign with now and it works a treat

    var listnerObject:Object = new Object();
    Player.addEventListener("cuePoint", listnerObject);
    listnerObject.cuePoint = function(eventObject:Object):Void {
    //trace(eventObject.info.name);

    if (eventObject.info.name == "cuePt1"){
    _root.Anim_Movie.gotoAndPlay("Cue1");
    }
    if (eventObject.info.name == "cuePt2"){
    _root.Anim_Movie.gotoAndPlay("Cue2");
    }
    if (eventObject.info.name == "cuePt3"){
    _root.Anim_Movie.gotoAndPlay("Cue3");
    }
    if (eventObject.info.name == "cuePt4"){
    _root.Anim_Movie.gotoAndPlay("Cue4");
    }
    if (eventObject.info.name == "cuePt5"){
    _root.Anim_Movie.gotoAndPlay("Cue5");
    }
    if (eventObject.info.name == "cuePt6"){
    _root.Anim_Movie.gotoAndPlay("Cue6");
    }

    };

    var cuePointArray = [{name:"cuePt1", time:3}, {name:"cuePt2", time:9}, {name:"cuePt3", time:20}, {name:"cuePt4", time:32}, {name:"cuePt5", time:34}, {name:"cuePt6", time:36}];
    for (var i = 0; i<6; i++) {
    Player.addASCuePoint(cuePointArray[i]);

    'Player' is my reference to flvPlayback, so name yours and change it to what you want
    Accend Web Solutions

    www.accend4web.co.uk

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