FLV embeded cue points

I cannot figure out how to get a embedded event cue point to
advance to the next scene of a movie and have zero experience at
writing action code. The event cue point is on the last frame of
video and was encoded with Flash 8 video encoder. The application I
am working on has three scenes. The first and third have audio and
graphics. The second scene uses the FLVPlayback component to play
the flv file. On test movie, the first scene plays fine and
advances to the second where the video plays. When video is over
the movie does not advance to the third scene. Thoughts? Any
assistance would be greatly appreciated.

I truly apperciate you assistance but I am still doing
something wrong. I am getting the following error:
**Error** Scene=Scene 2, layer=Actions, frame=1:Line 3:
Identifier expected
var.vidList : Object = new Object();
I changed the name of the FLV instance to "vid" and changed
the "vid.contentPath = peopleStyle.flv" for my video.
Here's the code.
vid.contentPath = video_PS.flv // put in your flv file here
var.vidList : Object = new Object();
vidList.Complete = function (){
nextScene();// this is what will occur when the end of the
video is reached
vid.addEventListener ("Complete",vidList)
T
hanks again for your help.

Similar Messages

  • How to trigger embedded cue points

    Hi all
    I need to trigger embedded cue points. I have navigation cue
    points, and I want the video to pause when it reaches the end of a
    section. I also have an event cue point where I want to import
    graphics. Im new to actionscript and dont know what code to write
    to implement this. Ive looked at many, many websites but to no
    avail, I just dont know where to start. any info or tutorials would
    be very much appreciated as im working against a deadline.
    thanks!

    Hi,
    you would need the ADF Faces context to PPR an area on a screen, the FacesContext doesn't help. Also, PPR is a feature of ADF Faces and not the external context in JSF. I would try to issue PPR through JavaScript using the AdfPage object
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12046/oracle/adf/view/js/base/AdfPage.html
    What I would try is
    - define an af:serverListener on af:document
    - look the af:document up using JavaScript
    - invoke a managed bean through serverListener
    - have this bean issuing the PPR
    See: http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/af_event.htm#DAFBJGAH
    Note that you don't need the clientListener since you invoke the server listener from extern (your SVG)
    Frank

  • 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]);

  • Actions  for  flv event cue point

    I have an flv playing back from component in a nested
    timeline (an actionscript 2 proj) and I want at the end of the
    video to gotoAndPlay the label"vidend" in the this timeline. I
    embedded the the event cue point called "end" on the last frame of
    video when I encoded it in my new CS3.I placed the following on the
    first frame of the nested timeline... The video plays fine but does
    not trigger the action. Any suggestions???...I 've found reams of
    info on navigation events but this is the result of everything I
    could find on the adobe site and I still not there.
    I'd really appreciate any direction anyone can give me.
    //leave this as is
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    //change this info..."end" is the name that you called your
    cuepoint when
    //you embedded it into the video
    if(eventObject.info.name == "end"){
    //tell your movie what you want it to do once your cuepoint
    has been hit
    this.gotoAndPlay("vidend");
    //_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
    //my_FLVPB is the name of your video on the stage, the rest
    stays as is
    my_FLVPB.addEventListener("cuePoint", listenerObject);

    I have an flv playing back from component in a nested
    timeline (an actionscript 2 proj) and I want at the end of the
    video to gotoAndPlay the label"vidend" in the this timeline. I
    embedded the the event cue point called "end" on the last frame of
    video when I encoded it in my new CS3.I placed the following on the
    first frame of the nested timeline... The video plays fine but does
    not trigger the action. Any suggestions???...I 've found reams of
    info on navigation events but this is the result of everything I
    could find on the adobe site and I still not there.
    I'd really appreciate any direction anyone can give me.
    //leave this as is
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    //change this info..."end" is the name that you called your
    cuepoint when
    //you embedded it into the video
    if(eventObject.info.name == "end"){
    //tell your movie what you want it to do once your cuepoint
    has been hit
    this.gotoAndPlay("vidend");
    //_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
    //my_FLVPB is the name of your video on the stage, the rest
    stays as is
    my_FLVPB.addEventListener("cuePoint", listenerObject);

  • Can you link flash buttons to a embedded cue point

    I have a video that I exported to flv with 10 embedded
    navigation cue points. I also have 10 buttons in a flash file that
    I would like to link to those cue points. I can't find any info on
    how to do that. I see info on making a cue point make a event
    happen, but nothing on linking a button to a cue point. Basically
    I'm looking for the same interaction as a DVD were the user clicks
    on a chapter they want and the video goes to it.

    There are players that will play a swf with volume mute stop start that sort of thing I downloaded one a couple of years ago  I don't recall where I got it.

  • Exporting FLV With Cue Points In Adobe Premiere Pro CS5

    Hello
    I am currently using Adobe Premiere Pro CS5 to export to a FLV file with flash cue points. I have managed to do this but I also want to export (separately) a list of all the time codes of the cue points in the clip. I see that you can save the cue points to an xml file but it doesn't come up with the time codes (well it does, but it is in milliseconds and amongst other things). Is there any way I can save a list of the time codes of the cue points on my FLV file, rather than having to manually type it out?
    Thanks,
    Rvnistelrooy

    I don't think there is any easy way to do this, but one thing I could suggest is to export the metadata as an xml side car and then use the text editor to extract the times.  I'm not sure this would work, but it's worth a try.
    Cheers,
    Dennis

  • FLV/Mp3 Cue Points for Accessing Frame Labels on the Main Timeline in Flash 8

    Hello,
    In Flash MX2004, creating cue points for syncing locations on
    flv and mp3 files to locations on the main timeline included:
    1) Dragging a media component onto the stage
    2) Entering file path, frame label name, and time code
    information in the component inspector
    3) Creating the frame label names on the main timeline, and
    4) Enabling the Media Labeled Frame Cue Point Navigation
    Behavior
    Flash 8 documentation details a considerably different
    process of creating cue points. While it discusses how to create
    cue points in the flv, I have not been able to locate how to enable
    linking locations in flv and mp3 files with frame labels on the man
    timeline. It appears that there would need to be ActionScript
    necessary to accomplish this that is not available in the docs.
    Please advise what ActionScript/process would enable this
    function.
    Thank you!
    James
    [email protected]

    I usually start off solving problems with the livedocs, as I
    recommend for anyone. The following link will take you to the
    NetStream.onCuePoint handler. This is what you need.
    http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00002561.html
    You can have this code on the main timeline. When the
    cuepoint is hit, it will invoke this event handler and inside is
    where your gotoAndPlay( ) should go.
    Your other question about the text will get activated by the
    same handler. Just have a conditional statement (if, switch, etc.)
    to differentiate between the two events. The text itself can be
    mask inside a movieclip.
    Does this help?

  • Rendering .flv with cue points but maintaining video size

    When I render an .flv by exporting in After Effects I cannot get cue points however when I import the .flv to a Flash doc, the controller is the same width as the video.
    However, in order to get cue points, you have to add the video to the Render Queue in AE in order to see the cue points in Flash. But the video controller ends up wider than the video itself when imported to Flash.
    My video is 495 wide by 360 high. When I render in AE in the Render Queue, and then import to a Flash doc, the video controller is about 30 pixels wider on both the left and right of the video. This looks goofy. Is their a way to resolve this?
    Thank you.

    Thank you for responding. I tried to but what happens is that that there is about 15 pixels of black space on the left and 15 pixels on the right side of he video. This does not happen when I export to Flash, only when I add to the Render Queue.
    So If I adjust the video size in Flash, the video size changes however the black space still remains. Somehow AE is creating extra space black space on both sides of the .flv. Again, this does not happen when export to .flv.

  • 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?

  • 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;

  • Flash Video: Dynamic Cue Points?

    I am trying to write a Flash movie that will play an FLV and
    pause the video dynamically at a specified time without the use of
    embedded cue points. Is this possible?
    For example, I want to be able to play an FLV for 5 minutes
    and automatically pause the playback. I want this pause time to be
    defined before each FLV playback. So I cannot use hard coded cue
    points.

    set two variables:
    _root.tTime =t he time you want to pause
    and
    _root.hTime = the playhead time at any given moment.
    Select your .flv component on the stage & open the
    Actions panel, place the following code:
    onClipEvent (enterFrame) {
    //set the time variable to equal playheadTime
    _root.hTime = _root.FLVPlayback.playheadTime;
    //Test repeatedly,to see if playheadTime has reached
    totalTime
    if (_root.hTime > _root.tTime) {
    //If so then pause the .flv file Place your code here
    Then set _root.tTime to define the pause time before each FLV
    playback. As soon as hTime > tTime your pause will take place..
    Hope this helps...
    Dcon

  • Cue points - Non-Component-based, NetStream class to gotoAndPlay?

    Hello all,
    I am trying (unsuccessfully) to utilse cue points in my flv (my_video) to jump to places in my timeline. My flv's are placed within a movieclip if this is helpful? I've learnt alot from this website (Goldmine for anyone needing help) http://www.quip.net/blog/2007/flash/how-to-use-flash-video-cue-points
    but i just don't know enough about coding to get it to work. I've done a trace of my flv and this is the information it came back with;
    onCuePoint:
    parameters =
    web1: website1
    type = event
    time = 3.009
    name = web1
    onCuePoint:
    parameters =
    web2: website2
    type = event
    time = 10.127
    name = web2
    onCuePoint:
    parameters =
    web3: website3
    type = event
    time = 17.866
    name = web3
    I've tried to 'fudge' my way through this but don't understand the language?! I exprted the flv with embeded cue points called web1, web2 & web3 and am trying to get these to jump to the main timeline (out of the mc) to their respective labels (web01, web02 & web03) Whilst I was embedding those cue poitns i also added event names (also web1, 2 & 3) and  values of website1,website2 & website3 -no idea why just thought they had to be filled?
    Just to reiterate i'm not using components and I am using the net stream class.
    Help!
    ...please!
    Here's my code so far;
    ns.onCuePoint = function(evt:Object):Void {
      trace(evt.name);
      trace(evt.time);
      trace(evt.parameters);
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    // Put any code you like here
    trace("web1: " + eventObject.info.name);
    trace("event: " + eventObject.info.type);
    if(eventObject.info.name=="web1"){
    gotoAndStop("web01");
    my_video.addEventListener("cuePoint", listenerObject);

    Thanks kglad. Being able to customize is always better in my flash world. LOL
    I'll have to stay with the FLVPlayback component as long as I have to use cue points in my videos.
    Thanks

  • Cue Points with netstream

    I've created a custom object without the FlvPlayback
    component. I used the following code:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    myVid.attachVideo(ns);
    ns.play("flv/home/intro.flv");
    That flv file has embedded cue points. How do I access them?
    I can access them easily if I were using the FlvPlayback component,
    but I don't think the cue points are getting through the netstream.
    Any ideas?

    use the ns.onCuePoint event handler.

  • Video Cue Point problem

    I have an FLV loaded into a video player component. The FLV
    has embedded cue points, from Flash video encoder:
    <mx:VideoDisplay id="vidScreen"
    cuePoint="cpHandler(event)" />
    And the handler:
    private function cpHandler(event:CuePointEvent):void {
    Alert.show(event.cuePointName);
    It works, since the Alert boxes open on cue and show the name
    of the cue point. However, if I try to get the array of cue points
    with something like trace(vidScreen.cuePoints) I get null. I need
    to get the array, since I want to do something on each of the items
    in the array of cue points. What am I missing here?

    You don't even need a cuepoint to do this.
    Using the FLVComponent or the VideoPlayer object, use the
    "complete" event to execute code. You set up an event listener
    object to listen to the video object (using
    videoobject.addEventListener(listenerObject) ), and create a
    function for the listener object to do when the "complete" event
    occurs (such as listenerObject.complete = function() { do whatever
    Here's a link to a useful pdf about the VideoPlayer object.
    http://download.macromedia.com/pub/documentation/en/flash/fl8/VideoPlayer.pdf

  • 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

Maybe you are looking for

  • 64 bit vs 32 bit

    I am getting ready to build a development server for one of our applications to host oracle for a client. The customer data set is huge and will take at least a month to load with large updates monthly after the initial data set. Our application is 3

  • FM to upload the Excel file to internal table

    Hi Is any FM available to upload the Excel file to internal table. Thanks Anbu

  • Help? with my video on the web - Bad playback...

    So I exported my videos to HTML 5 (webm, ogg, mp4) and gave them to the web guy to add to the site. When I play them back on the website the videos look like they're skipping frames -- just does not look normel. When i play back the origonal HTML fil

  • Place graphic in frame

    Hello all. To date I have simply placed items straight into indesign, resized as required and off I go. However I have now created an advanced shadow effect in photoshop which I want to use with all graphics I import. So I have created a library item

  • Folder creation in server

    Hi Everybody, I have requirement to create folders/ sub folders dynamically in a given path (server) and copying a pdf in the created path. Client is using ORACLE 10G AS with Windows. Thanks in Advance Satyam