Cue Points and RTMPE

I'm hosting an FLV (with embedded event cue points) using
Flash media server 3.5 in the vod directory. While using Flash 9,
within component inspector, if I use rtmp protocol in contentPath,
I can populate the cue points information in the cuePoints section.
If I use rtmpe, I get failed to load FLV. I've tried using CS4 and
could not retreive cue points at all. Any help would be
appreciated.

I found that captions do reset from the starting point when I
press reply but cue points (events) don't.

Similar Messages

  • FLV Cue Points and Captions

    In FLVPlayback working in as2.0, created cuepoints for FLV and i added
    captions wit xml file. but captions not loading
    I did following steps and script.
    *step1: layer 1 for flvplayback
    *step2:layer2 for dynamic text(instance name-txtCaption)
    step3: layer3 for actions and the script is
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    //ns.play("speech.flv");
    ns.onMetaData = function(oMeta:Object) {
        trace("onMetaData >");
        trace("\tNumber of cue points: "+oMeta.cuePoints.length);
        for (var i:Number = 0; i<oMeta.cuePoints.length; i++) {
            var oCue:Object = oMeta.cuePoints[i];
            trace("\t\t"+i+": "+oCue.name+", "+oCue.type);
            var captionsXML:XML = new XML();
            captionsXML.ignoreWhite = true;
            captionsXML.onLoad = function():Void  {
                captions = this.firstChild.childNodes;
                for (var i:Number = 0; i<captions.length; i++) {
                    ns.addASCuePoint(captions[i].attributes.start,captions[i].firstChild.
    nodeValue);
            captionsXML.load("cuecaption.xml");
            ns.addEventListener("cuePoint",onCuePoint);
            function onCuePoint(evntObj:Object):Void {
                txtCaption.text = evntObj.info.name;
    XML script
    <?xml version="1.0" encoding="iso-8859-1"?>
    <captions>
    <caption start="00.000">Black-eyed susans</caption>
    <caption start="38.082">Echinacea</caption>
    <caption start="42.275">hello.......</caption>
    <caption start="56.250">hi.........</caption>
    <caption start="56.250">hi.........</caption>
    </captions>
    Plz reply me....
    Regards,
    Priya

    Did you have any luck finding an answer to your question??? I am having the same kind of problems with my presentation. But the difference is that my presentation is in AS 3. Please look at my post here:
    http://forums.adobe.com/message/2178119#2178119
    Please let me know if someone can figure this out!!!
    Thx.
    Nit

  • Using cue points to change a text box

    Ok I asked a simlar question before but I am still having trouble getting it to work.
    I have a video with 11 Cue points and at each cuepint I want the Typebox to change it text at each cue point.
    When the video is playing I want a the textbox to change the text when cue point 1 is reached. This is the code I am using. But every always goes straight to the whatever the last functions text and skips all the other before it. Its bassically this code repeated with difffernt function name and string.
    import fl.video.MetadataEvent;
    flvplayer.addEventListener(MetadataEvent.CUE_POINT,section2Cue);
    function section2Cue(event:MetadataEvent):void{
        for(var String = "section2" in event.info){
            typebox.text = "Hello";                        }
    So basically I want to tell flash, when CuePoint1 is reached text = "hello world" and when CuePoint2 is reached I want the text ="Hello Again". I don't know what I am doing wrong or what is the best way to tell flash how to do this

    Ok, I tryed that code Basically I want to call upon each cue point individually and have an event for each one. So how i tell it to display this only when Cuepoint1 is reach and display that only when Cuepoint2 is reached.  What data would help ?
    Most of my code is just buttons to reach each cuepoint within the video. I got that to work fine.
    I'll supply it anyways
    import flash.events.MouseEvent;
    // Assign a new skin to my FLVPlayback instance using ActionScript
    flvplayer.skin = "player.swf";
    flvplayer.fullScreenTakeOver = false;
    //select section menu button
    selectBtn.addEventListener(MouseEvent.CLICK, openMenu);
              function openMenu(event:MouseEvent): void{
                        trace("working");
                        selectMenu.gotoAndPlay(2);
              selectMenu.closeX.addEventListener(MouseEvent.CLICK, closeMenu);
                        function closeMenu(event:MouseEvent): void{
                                  trace("closing");
                                  selectMenu.gotoAndPlay(11);
              //Cuepoint Buttons
    selectMenu.sec1.addEventListener(MouseEvent.CLICK, section1Button);
    function section1Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section1");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Orion Health EMR Lite Overview";
    selectMenu.sec2.addEventListener(MouseEvent.CLICK, section2Button);
    function section2Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section2");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Adopt Electrionic Patients Records Easily";
              selectMenu.sec3.addEventListener(MouseEvent.CLICK, section3Button);
    function section3Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section3");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Introducing Orion Health EMR Lite";
                        selectMenu.sec4.addEventListener(MouseEvent.CLICK, section4Button);
    function section4Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section4");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Meet Mr. Smith - Patient Registration and Intake";
    selectMenu.sec5.addEventListener(MouseEvent.CLICK, section5Button);
    function section5Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section5");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Orion Health EMR Lite in the Exam Room - Clicnical Documentation and Orion Health HIE Integration";
    selectMenu.sec6.addEventListener(MouseEvent.CLICK, section6Button);
    function section6Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section6");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Working with Orion Health EMR Lite - Documentation";
    selectMenu.sec7.addEventListener(MouseEvent.CLICK, section7Button);
    function section7Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section7");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Order Entry in Orion Health EMR Lite";
    selectMenu.sec8.addEventListener(MouseEvent.CLICK, section8Button);
    function section8Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section8");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "ePrescribing";
    selectMenu.sec9.addEventListener(MouseEvent.CLICK, section9Button);
    function section9Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section9");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "ePrescribing";
    selectMenu.sec10.addEventListener(MouseEvent.CLICK, section10Button);
    function section10Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section10");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Quality and Utilization Reporting";
    selectMenu.sec11.addEventListener(MouseEvent.CLICK, section11Button);
    function section11Button(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component.
              // Replace "Cue Point 1" with the name of the cue point to seek to.
              var cuePointInstance:Object = flvplayer.findCuePoint("section11");
               flvplayer.seek(cuePointInstance.time);
               typebox.text = "Summary";
    As for data? This is all I know about my CuePoints
    Would the best way to acheive changing type is to change the way my movie clips are set up? Instead of telling it within the actionscript maybe telling it to go to next frame within a movieclip with the content? I don't know exactly how to word what I am trying to acheive but I'm trying!
    thanks!

  • Calculating duration between cue point?

    I'm using Flash Pro CS3. My project is AS2 targeting FP8.
    I have an flv component on stage. My .flv has cue points and
    I have buttons underneath the component that show the title of each
    navigation cuepoint in a dynamic text field. I have another dynamic
    text field that shows the cuepoint time for each cuepoint,
    positioned next the the title of the cuepoint. That all works well
    but hoping to accomplish a bit more and can't find any code help.
    The three things I'm trying to do are:
    1. Instead of showing current time at a particular cuepoint,
    show the duration of the section/chapter, if you will. How can I
    calculate duration between two cuepoints and display it in my
    dynamic text field? Is there something I should do when
    encoding/adding the cuepoints or can I use AS with the cuepoints I
    have?
    2. Once I get that duration and have it display instead of
    the actual cuepoint time, have it countdown backwards when the
    playhead is in that "chapter"?
    3. Show these times in the mm:ss format?
    Thanks for any help or links you think might be helpful...
    -Scott

    Function Modules related to Date and Time Calculations
    CALCULATE_DATE : Calculates the future date based on the input .
    DATE_TO_DAY : Returns the Day for the entered date.
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date

  • Cue Point in FLV Help

    I have a progresive flv with an instance name of myVid which
    is already on the stage and set to autoplay via the component
    parameters tab. When the video plays and gets to a cue point I want
    the flv to pause. The cue point names (embedded when I used Flash
    Video Encoder) are cp01, cp02, and cp03. The video doens't stop on
    the specified cue point and instead just keeps playing. Can anyone
    help me with my code? Is there a better way to do it? Here is what
    I have so far:

    necie,
    > The video doens't stop on the specified cue point and
    instead
    > just keeps playing. Can anyone help me with my code?
    This is definitely the best Adobe forum for your question,
    but since you
    happened to post in the General forum first, I answered your
    thread there.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Soundbooth CS5 FLV Cue Point Woes

    I have been attempting to use Soundbooth CS5 to insert cuepoints in .flv files (audio track only) to cue up some audio stuff in Flash using the FLVPlayback Class. It seems the implementation of cuepoints/markers in Soundbooth is really buggy and prone to either not working at all or producing unexpected results. Here are some problems I have encountered:
    1. Soundbooth regularly does not save the cuepoints (markers) in a way that the Flash Player can detect.
    This is easily verifiable - no MetaDataEvents are dispatched on playback (to indicate a cuepoint has been reached) and the 'findNearestCuePoint' method of FLVPlayback returns an Object with a null 'array' property - I have to use this to access the cuepoints when the flv is loaded (for some pre-processing) because, weirdly, Adobe engineers did not think that making the cuepoints accessible for a (fully loaded) .flv was useful - there is a cuepoints property but it is write-only. Yet, I can get an array of them via this method! Bizarre.
    Both of these things (MetaDataEvent dispatch & the cuepoints array 'hack') occasionally work so I'm confident it's not my code. In fact, I have some .flv files that work perfectly and some that don't - these have all been created by me in Soundbooth.
    At first, saving cue points did not work at all for any file! I struggled with this for two days before resorting to re-installing SB and it magically started (almost) working.
    2. Soundbooth sometimes doesn't save changes to the markers.
    When SB does feel like saving the cue points (and they are picked up in Flash), subsequent edits appear in the SB interface (eg. deleting a marker) but not in Flash. I have .flvs that I've edited which will report x number of markers but the 'findNearestCuePoint' objects 'array' property returns an array of the length before I made the changes/re-saved the file.
    3. Soundbooth sometimes doesn't like re-saving files created in Soundbooth.
    I open up the .flv created in Soundbooth itself, edit it and then hit 'Save', this appears:
    "The file was saved with unknown compression or with an unsupported destination rate, please choose your destination format and language".
    Great. It takes me to 'Save As' so I can select a new name/file-format and I just select the same one it was saved under before (.flv). I have to change the filename too, because SB doesn't like saving over a file that's open in SB, either.
    4. Sometimes it all works!
    And I have no idea why. I just keep opening the file I need to use re-save it under a different file name, select different export options, re-compile my app and sometimes it works fine - my app doesn't throw any errors (the ones it throws when there are no cuepoints, or the number of cuepoints is not the number it expects).
    At first I thought it was the export settings but it isn't - I can select the same ones each time and get different results. Saving the export settings makes no difference, it NEVER works the second time round.
    I can provide code/files if needed.

    I have a solution.  Bring the mp3 file that you edited into Premiere.  From Premiere, export
    media to an flv.  From within the export media dialog, import your cue points xml file.  It worked on my first try.
    The problem is: why does it work from Premiere, but not Media Encoder or Soundbooth?
    Adobe, please fix this, it's a very bad bug!
    - Michael M.

  • Stopping streaming video with cue points

    I've been searching for a solution to this problem for weeks now. All i want to do is make a video streaming in a video object to stop on a cue point, and play from abother when a button is pushed. It's relatively simple, right? Wrong. Over a hundred $s in how-to books and several hours wasted searching online later and I have nothing. I have checked and re-checked the cuepoints are correct (i made them in flash video encoder CS3) and tried just about everything as far as AS is concerned. Here is my latest attempt: (obmintro is the player instance name, i have the rtmp info in source under player parameters and it plays fine)
    import fl.video.MetadataEvent;
    obmintro.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
    function cp_listener(eventObject:Object):void
    if (eventObject.object.name == "site_end");
      obmintro.pause();
    //i have also used stop, stop("obmintro"); and i don't even know what else.
    please tell me what i'm doing wrong and how it's really supposed to be done. i'm feeling very hopeless and blonde right now. help a girl out?

    you're welcome.
    for anyone else with a similar issue, using the info property of the MetadataEvent is the correct way to proceed.  (that event has no object property.)

  • Embedded FLV Cue Points not working

    I am updating a project which uses an FLVPlayback component to play and navigate FLV videos using embedded Navigation cue points. The FLVs were originally encoded using an older version of AME, CS4 possibly. When trying to replace an FLV with a new one encoded using AME CS6, the embedded cue points do not work. Testing in Flash I get "VideoError: 1003: Invalid seek" when attempting to use "seekToNavCuePoint".
    Comparing the two FLVs using Premiere shows no recognizable differences between them. They are the same format, their cue points are named identically, all are designated as Flash Cue Points, and all set to type "Navigation".
    Digging into the FLV data, I've found that the cue point descriptions are formatted quite differently and I'm wondering if this is the source of the problem:
    Excerpt from the original FLV (AME CS4?):
         <rdf:li>
          <rdf:Description
           xmpDM:trackName="AME Markers"
           xmpDM:frameRate="f254016000000">
          <xmpDM:markers>
           <rdf:Seq>
            <rdf:li
             xmpDM:startTime="9323149248000"
             xmpDM:name="q1in"
             xmpDM:type="FLVCuePoint"
             xmpDM:cuePointType="Navigation"/>
    Excerpt from the new FLV (AME CS6):
         <rdf:li>
          <rdf:Description
           xmpDM:trackName="FLVCuePoint"
           xmpDM:trackType="FLVCuePoint"
           xmpDM:frameRate="f15">
          <xmpDM:markers>
           <rdf:Seq>
            <rdf:li>
             <rdf:Description
              xmpDM:startTime="550"
              xmpDM:name="q1in"
              xmpDM:cuePointType="Navigation">
             <xmpDM:cuePointParams>
              <rdf:Seq>
               <rdf:li
                xmpDM:key="marker_guid"
                xmpDM:value="2c2c8be0-75af-47d6-8938-4a365e33a550"/>
              </rdf:Seq>
             </xmpDM:cuePointParams>
             </rdf:Description>
            </rdf:li>
    Completely stumped here, any ideas appreciated!

    More digging into the new FLV shows that while XMP defines the cue points as type "navigation", there is prior data in the file that defines all the cue points as "event". This makes sense, because my SWF is correctly listening for and reacting to an "end" cue point in the FLV, but will not seek to any cue point since they are all set as "event".
    Copying and pasting from Notepad++:
    cuePoints       0       name   q1in  time @BYûçl‹D  type   event 
      1       name   q1out  time @JÜ(õ\  type   event 
      2       name   q2in  time @V£¥ãS÷Ï  type   event 
      3       name   q2out  time @^/ Ÿ¾w  type   event 
      4       name   q3in  time @_Oß;d  type   event 
      5       name   q3out  time @nE™™™™š  type   event 
      6       name   q4in  time @s G® zá  type   event 
      7       name   q4out  time @vNÄ›¥ãT  type   event 
      8       name   q5in  time @w¢Ù ‡+   type   event 
      9       name   q5out  time @zw×
    =p¤  type   event 
      10       name   end  time @€ð bMÒò  type   event 
    Any idea why AME is doing this?

  • After Effects video cue point data error #1107

    Hi all,
    I'm trying to create a personalised video using the techniques described here: http://www.adobe.com/devnet/flash/articles/atv_personalized_video.html
    I have created the video and tracking data in After Effects (CS5), converted the tracking data to Flash cue points and exported the .flv file. I can import the video into Flash (CS6) just fine and I can see all the cue point data however when I try to compile the Flash project, bearing in mind this is just an empty stage with an instance of FLVPlayback on it, I get the following errors:
    VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds.
    ReferenceError: Error #1065: Variable Icon is not defined.
    ReferenceError: Error #1065: Variable FLVPlayback is not defined.
    ReferenceError: Error #1065: Variable Main is not defined.
    If I export the .flv without the cue point data I can import, compile and play the video without error.
    I've had a look around and I've not really been able to find any information about this issue and don't have a clue where to start with it.
    Any ideas?!

    Here is the script I used to export the markers as valid XML for Flash to import. Please note that this will export all markers from all layers so if, as I did, you have multiple 'versions' of your tracking data on different layers it will export the whole lot.
    var comp = app.project.activeItem;
    var XMLStart = "<?xml version='1.0' encoding='UTF-8' ?><FLVCoreCuePoints>";
    var XMLEnd = "</FLVCoreCuePoints>";
    var XMLTemp = "";
    var XMLFinal = "";
    var layerCount = comp.numLayers;
    var layer = new Object;
    var layerMarkers = new Object;
    var markerCount = 0;
    var curMarkerTime = 0;
    var curMarkerName = "";
    var curMarkerType = "";
    var curMarkerXML = "";
    //Layer markers
    for(i=1; i<layerCount+1; i++) {
        layer = comp.layer(i);
        layerMarkers = layer.marker;
        markerCount = layerMarkers.numKeys;
        for(j=1; j<markerCount+1; j++) {
            // get the parameters for this marker
            var params = layerMarkers.keyValue(j).getParameters();
            var XMLParam = "";
            var cont = false;
            // loop through parameters
            for(param in params) {
                // I added this conditional to strip out markers in my project which were superfluous
                if(params[param] == "410,230.5") {
                    var cont = true;
                    continue;
                // generate the XML for the parameter
                XMLParam += "<Parameter>";
                  XMLParam += "<Name>" + param + "</Name>";
                  XMLParam += "<Value>" + params[param] + "</Value>";
                XMLParam += "</Parameter>";
            // if this is a superfluous marker then don't add it to the XML string, just go on to the next
            if(cont) {
                continue;
            // get / set additional marker meta data
            curMarkerTime = layerMarkers.keyTime(j) * 1000;
            curMarkerName = layerMarkers.keyValue(j).cuePointName;
            curMarkerType = "actionscript";
            // assemble the full XML element for this cue point
            curMarkerXML = "<CuePoint><Time>" + curMarkerTime + "</Time><Type>" + curMarkerType + "</Type><Name>" + curMarkerName + "</Name><Parameters>" + XMLParam + "</Parameters></CuePoint>";
            XMLTemp += curMarkerXML;
    //Comp markers
    var tempText = comp.layers.addText("");
    var tempSrc = tempText.text.sourceText;
    tempSrc.expression = "thisComp.marker.numKeys";
    markerCount = Number(tempSrc.value);
    if(markerCount > 0) {
        for (i=1; i<=markerCount; i++) {
            tempSrc.expression = "thisComp.marker.key(" + i + ").time;";
            curMarkerTime = Number(tempSrc.value) * 1000;
            tempSrc.expression = "thisComp.marker.key(" + i + ").cuePointName;";
            curMarkerName = String(tempSrc.value);
            tempSrc.expression = "thisComp.marker.key(" + i + ").eventCuePoint;";
            if(tempSrc.value == "true") {
                curMarkerType = "event";
            } else {
                curMarkerType = "navigation";
            curMarkerXML = "<CuePoint><Time>" + curMarkerTime + "</Time><Type>" + curMarkerType + "</Type><Name>" + curMarkerName + "</Name></CuePoint>";
            XMLTemp += curMarkerXML;
    tempText.remove();
    //create output string
    XMLFinal = XMLStart + XMLTemp + XMLEnd;
    //Write file
    var cueFile = File.saveDialog("Save the XML file", "XML:*.xml" );
    cueFile.open("W");
    cueFile.write(XMLFinal);
    cueFile.close();

  • Event Cue Points

    I am working with event cue points and I have it working with
    action script and embedded cue points. What I am trying to figure
    out is how to tie a specific events or movie clip with specific cue
    points. Right now all the movie clips play whenever I hit any cue
    point. I have not figured out how to tie specific cue points with
    specific events. Anyone have knowledge of this that can direct me
    properly. I would highly appreciate it. Thanks

    First of all thanks for the reply. I didn't explain myself
    well. I know about the stop frame on the first frame. My cue points
    are working. I want to be able to play different movies cued up at
    different times in the video. Right now all my movie clips play at
    all the cue points. I want a specific movie to play at a specific
    cue point then later in the video another different clip play at a
    difffent time element in the movie. Thanks. I really appreciate the
    help.

  • Use cue points to automatically pause flv

    I have a video that I would like to make play in steps. I
    already have a custom flv playbar, so I would like to use cue
    points to control it
    Thanks in advance

    i am looking for this same answer. i am not a pro at flash
    but good enough to make my way around. Here is what I have done so
    far....
    using components i dragged the FLVPlayBack onto stage, i set
    the source of the playback to my flv. as of right now, 'cuepoints'
    is set to none. i'd like to be able to set in about 5 cue points
    and have them auto pause each time they come up. any help would be
    appreciated!
    thanks,
    travis

  • Using cue points

    What is proper syntax and functions for dealing with cue points within an flv and what do the various parts mean and act?
    I want to have flv files with cue points in them that I can catch to do other things within the swf file and I want to know how to set them up on both ends including what needs importing, what type of events catch cue points and such..

    Ok, let's say that I made a cue point in an flv with Media Encoder
    which has the cuepoint name of wingsdown and the parameter of WI
    NGSDOWN  with a value of 0.  How would I be able to use that with an evenListener
    to get something to happen elswhere on the stage?

  • Problems Using Cue points to Loop Video

    Ok, so I want to use cue points to navigate through video.  I want to start by simply looping the video from the end back to the beginning.  I keep getting an invalid seek error 1003.  Here is my code.  Any help would be much appreciated.  Thanks
    import fl.video.MetadataEvent;
    Movie.addEventListener(MetadataEvent.CUE_POINT, loopFunction);
    function loopFunction(e:MetadataEvent):void
        if (e.info.name == "end1")
            Movie.seekToNavCuePoint("beginning1");
            Movie.play();

    At least you are getting notified even if the seek doesn't work.
    A brief workaround could be to iterate over the cue points you detect in metadata, assigning each cue point name and time in an object. Once you hit the cue point you desire, see if the object has the time value and seek() to the time for that cue point rather than seeking for it by name.
    e.g. (written briefly, you get the idea):
    // object to hold time values
    var cuePointArr:Object = new Object();
    function onMetaData(infoObject:Object):void
        var cueIndex:String;
        for (cueIndex in infoObject.cuePoints)
            trace("Adding cue name[" + infoObject.cuePoints[cueIndex].name + "] at time[" + infoObject.cuePoints[cueIndex].time + "]");
                        // store as name = time
                        cuePointArr[infoObject.cuePoints[cueIndex].name] = infoObject.cuePoints[cueIndex].time;
    function loopFunction(e:MetadataEvent):void
              // correct cue point and has a value in cuePointArr?
        if ((e.info.name == "end1")&&(curPointArr[e.info.name] != null))
                        // seek to time value
            Movie.seek(Number(cuePointArr[e.info.name]));
            Movie.play();
    Moving 900mph here so forgive any typos but turning it into a normal seek based on the time value should work for now.

  • As3 cue points from soundbooth

    hello one and all,
    i am a bit frustrated because i can not find a straight forward howto/tutorial on accessing cue points from a flv or xml file produced in soundbooth and imported or read into flash so trigger a MetadataEvent.CUE_POINT event within an action script.  i have fuzzy understanding about it but not quite enough to make it work properly and with small efficient code.  can anyone direct me please to a good howto/tutorial on triggering an event when a cue point is hit when an audio file plays in flash cs4?  btw, i only want to do it with pure audio and not video also, if that makes it simpler.  thank you in advance and have a great day.
    lucas

    well, i got very lucky and after 6 days of searching for a good tutorial, i just finally got lucky.  a piece here another there.  essentially, soundbooth is a pretty suit little program and saving the cue points within are excellent also.  it can even do it for video.  anyway, i was only working with audio and was able to save my flv audio as audio only which included the embedded cue points and attached parameters.  the below code, actionscript 3, works very well and i believe it is the simplest code for reading and triggering on cue points as the audio is played.  txt1 and txt2 are simply dynamic text boxes on the stage on frame 1.
    i still have a question though.  how do i give the audio in the library an instance name outside of an actionscript?  as you can see below, i create an FLVPlayback instance and load the file through as.  with text boxes and rectangles and such, i can give those an instance name under Properties off of the stage.  however, the audio is not visible on the stage so i can't access it through the Properties window.  i can somewhat access it through the frame, that that is a frame label and not an instance variable.  so, how do i assign an instance variable to audio outside of actionscript?
    anyway, the code is below for anyone to use.  thank you and have a great day.  lucas
    import fl.video.*;
    trace("FLVPlayback Version = "+FLVPlayback.VERSION);
    txt1.text = "file: \"1st.fla\", initializing...";
    var p:Object;
    var player:FLVPlayback = new FLVPlayback();
    player.addEventListener("cuePoint",onCue);
    player.load("voice1.flv");
    player.play();
    function onCue(e : MetadataEvent) : void {
    txt2.text = e.info.time+"s";
    trace("cue "+e.info.type+" name: \""+e.info.name+"\" @ time: "+e.info.time);
    p = e.info.parameters;
    if (p != undefined) {
    txt1.text = e.info.parameters["en"];
    trace("   name of \"en\" only: \""+e.info.parameters["en"]+"\"");
    trace("   all name/value paired parameter(s).. .");
    for (var n:String in p) {
    trace("      "+n+"=\""+p[n]+"\"");
    else {
    txt1.text = e.info.name;

  • Need help with embedded cue points in FLV please (quickly/ :-))

    Here is my scenario - I have a flv streaming in a swf. All I
    want to do is to is call the cuepoint (event) in the flv, so that
    it will go to and play somewhere else further down the timeline of
    the swf - I don't think it should require much AS, but I haven't
    done much communication of this sort between an flv and it's parent
    swf. Any help would be greatly appreciated! Thanks.

    I figured it out. If anyone is interested, this the code snippet I found in Adobes help that allows you to access cue points and trigger events on flv's brought in with netstream:
    function onCuePoint(infoObject:Object):void
    trace("onCuePoint:");
    for (var propName:String in infoObject) {
    if (propName != "Run")
    RunCuePoint.visible=true
    else
    trace("parameters =");
    if (infoObject.parameters != undefined) {
    for (var paramName:String in infoObject.parameters)
    trace(" " + paramName + ": " + infoObject.parameters[paramName]);

Maybe you are looking for

  • Take the myFICO Fitness Challenge 2015

    Happy New Year to the myFICO Forums Community! Can you believe we're entering our sixth  year of the myFICO Fitness Challenge? If you have financial goals for the New Year, the myFICO Fitness Challenge is the place for you! What's the myFICO Fitness

  • How to call view in abap program

    HI,    Is that possible to call & display view in the abap program. Thanks & Regards Guhapriyan

  • TS1368 don't have PC right now - is there any other way to synch my iPod with iTunes?

    This is likely a dumb question but I need to ask... I am in between PC's, meaning I don't currently have a home computer (actually looking to purchase a MacBook but not for another 1-2 months).  I want to synch my iPod with the music we've been purch

  • How can I call a java-program as receiver

    Hi Folks, I have to call a java program, based on the XI-Server as receiver. My qustions are: What is the right adapter type What are the parameters to give the xml to the program Thanks a lot matthias

  • HELP Can't import my photos

    I purchased an external hard drive not too long ago as my hard drive was reaching capacity. I dumped all of my Iphoto library onto it to free up as much aspace as possible. I upgraded to iLife 06 on my computer shortly thereafter. After freeing up an