A problem with cues

[LEFT]I had a problem before about attaching external SWFs, but that seems more complicated, rather how can I have my cuePoint code play a different frame for each different cue?

//This batch of code attaches the FLV from the server and plays it in the vidHolder
//and pauses it in the beginning. The metaData method checks for cues as well
//as provides the scrubber with neccessary information to scrub.
videoPlayer.onMetaData = function(metaProp:Object) {
    trace("The metadata:");
    traceMeta(metaProp);
    duration = metaProp.duration
};
vidHolder.attachVideo(videoPlayer);
videoPlayer.play("http://images.legacynetwork.com/flv/tutorial.flv");
videoPlayer.pause();
function traceMeta(metaProp:Object):Void {
    var p:String;
    for (p in metaProp) {
        switch (p) {
        case "cuePoints" :
            trace("cuePoints: ");
            //cycles through the cue points
            var cuePointArr:Array = metaProp[p];
            for (var j:Number = 0; j < cuePointArr.length; j++) {
                //cycle through the current cue point parameters
                trace("	 cuePoints[" + j + "]:");
                var currentCuePoint:Object = metaProp[p][j];
                var metaPropPJParams:Object = currentCuePoint.parameters;
                trace("		 name: " + currentCuePoint.name);
                trace("		 time: " + currentCuePoint.time);
                trace("		 type: " + currentCuePoint.type);
                if (metaPropPJParams != undefined) {
                    trace("		 parameters:");
                    traceObject(metaPropPJParams, 4);
                }
            }
            break;
        default :
            trace(p + ": " + metaProp[p]);
            break;
        }
    }
}
//Checks for cues as they go and outputs a trace statement as the cues comes up
videoPlayer.onCuePoint = function(infoObject:Object) 
{
    txtHolder.gotoAndPlay(1);
    txtHolder.gotoAndPlay(2);
    txtHolder.gotoAndPlay(3);
    txtHolder.gotoAndPlay(4);
    txtHolder.gotoAndPlay(5);
    
    trace("onCuePoint:");
    for (var propName:String in infoObject) {
        if (propName != "parameters")
        {
            trace(propName + " = " + infoObject[propName]);
        }
        else
        {
            trace("parameters =");
            if (infoObject.parameters != undefined) {
                for (var paramName:String in infoObject.parameters)
                {
                    trace(" " + paramName + ": " + infoObject.parameters[paramName]);
                }
            }
            else
            {
                trace("undefined");
            }
        } 
    }
    trace("---------"); 
}

[/LEFT]