Cue Points

I have a flv which im loading in from another location (ie
its not embeded), and Im trying to create a loop point using cue
points.
I have 3 cue points: begining, loop_point, end
Basically when the playhead reaches the "end" cuepoint, I
want it to jump back to "loop_point"
Can anyone help? I have a deadline for monday to get this
finished!

Pewee2000,
> Oh sorry I get what you mean now. Yeh I imported without
> player and used seperate componants from the flv custom
> playback UI panel to control the movie.
Okay, I'm not exactly clear on what you just said, so I'm
going to
proceed as if you're using the FLVPlayback Component. Here's
the scoop on
using ActionScript. Just about everything is an object.
Objects are simply
"things" that behave a certain way. Movie clips are objects,
buttons are
objects ... FLVPlayback Component instances are objects --
you get the idea.
:) Objects are defined by something called classes. Think of
a class as a
given object's blueprint. You'll genearally see up to three
categories in a
class: properties, methods, and events. Properties are
characteristics an
object has, such as a movie clip's width and height. Methods
are things an
object can do, such as movie clip's ability to gotoAndPlay()
some frame.
Events are things an object can react to, such as a mouse
click.
In your case, the FLVPlayback events include a cuePoint
event. You can
see detailed information -- often including sample code --
for all the
properties, methods, and events of the FLVPlayback class by
looking up the
phrase "FLVPlayback class" in the Components Language
Reference right in the
built-in Help documentation. Component classes are listed in
this
reference, and normal classes are listed in the ActionScript
2.0 Language
Reference. In the AS Language Reference, the three categories
are combined
in each class entry, but for some reason the Components
Language Reference
separates them. But you'll see 'em when you look up the
class.
You'll want to take things slow and start with a *simple*
example.
Assuming you've added cue points through the Component
Inspector panel, your
FLV will honor those cue points during playback. Start your
journey by
looking up the cuePoint event in the "Event summary" section
for the
FLVPlayback class.
You'll see this:
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
// insert event-handling code here
my_FLVplybk.addEventListener("cuePoint", listenerObject);
... which may look scary if you're not a coder, but it works
like this:
first, a variable named listenerObject is delcared as a
generic Object
isntance. This object is your "ambassador" for the
FLVPlayback instance,
which features the cuePoint event. You assign a function to a
new cuePoint
property of your generic object. This function will be
executed when any
cue point occurs. Finally, you use the addEventListener()
method to
"subscribe" your FLVPlayback instance to the generic object,
listenerObject.
Now you're "listening" for cue points.
In the above example, the instance name for your FLVPlayback
instance
must be my_FLVplybk -- but you can make it whatever you like,
as long as the
ActionScript matches the instance name.
Where it says "// insert event-handling code here," you may
want to use
a trace function ...
trace("Here's a cue point!");
... just to prove to yourself that it works. Read up in the
documentation,
and you'll see that the eventObject object received by the
function contains
valuable information about the FLVPlayback instance that
dispatches the
cuePoint event. You can trace eventObject.target, for
example, and get a
reference back to your FLVPlayback instance.
trace(eventObject.target);
That reference would let you refer to the FLVPlayback
instance and
invoke FLVPlayback methods on it, such as your various seek
options for
looping.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Flash Video Cue Points don't work

    I used the template sample from Adobe named :Flash video
    template: Showcase website for personal video...I followed all the
    steps sugested. I used Flash Video Encoder, created the cue points,
    worte down the location of those cue points, which I wrote exactly
    in the Settings.XML file for each chapter....etc. I guarantee you
    that I did it all as sugested...In fact several months ago, it
    worked for another project and another videos that I had.
    But this time, when I am testing it, the video appears in the
    screen all right but when I select a chapter for the section of
    that video, an error appears like this :
    VideoError: 1003: Invalid seek
    at fl.video::VideoPlayer/seek()
    at fl.video::FLVPlayback/seek()
    at
    Video_fla::MainTimeline/chapterClickHandler()[Video_fla.MainTimeline::frame1:184]
    VideoError: 1003: Invalid seek
    at fl.video::VideoPlayer/seek()
    at fl.video::FLVPlayback/seek()
    at
    Video_fla::MainTimeline/chapterClickHandler()[Video_fla.MainTimeline::frame1:184]
    My Settings file has the correspondent locations for each cue
    point, like this :
    <?xml version="1.0" encoding="utf-8"?>
    <showcase>
    <!-- Video section #1: Safety Fair 2008 -->
    <section>
    <title>Safety Fair 2008</title>
    <video>video/MOPS_safetyFair.flv</video>
    <cuepoints>
    <cuepoint>
    <title>Fire Department 1</title>
    <time>00:00:13.291</time>
    <image>img/Gath1.png</image>
    <caption>What to do in case of a fire at
    home...</caption>
    </cuepoint>
    <cuepoint>
    <title>Fire Department 2</title>
    <time>00:01:39.686</time>
    <image>img/Poison Center.png</image>
    <caption>How to escape from a fire at
    home</caption>
    </cuepoint>
    <cuepoint>
    <title>Crime Stoppers</title>
    <time>00:01:51.869</time>
    <image>img/TxDepTra.png</image>
    <caption>Buckle up...</caption>
    </cuepoint>
    <cuepoint>
    <title>Texas Dep of Transportation</title>
    <time>00:01:51.869</time>
    <image>img/Poison Center.png</image>
    <caption>Assistance by phone in case of
    emergency...</caption>
    </cuepoint>
    <cuepoint>
    <title>Poison Center</title>
    <time>00:02:02.946</time>
    <image>img/Gathering3.png</image>
    <caption>Mops Gathering at the FLC Picnic
    area</caption>
    </cuepoint>
    <cuepoint>
    <title>Fellowship</title>
    <time>00:02:09.591</time>
    <image>img/Kids-with-Jenny.png</image>
    <caption>Nice visit and gathering w/our
    children</caption>
    </cuepoint>
    </cuepoints>
    </section>
    I have my file structure right as well in each folder IMG and
    VIDEO.
    What does this error means and how can I correct the
    problem.....I have been expending hours trying different ways and
    still can't get it to work.
    Thanks,
    Edna

    you don't need a cuepoint to detect the end of your video.  use:
    var lo:Object = {};
    lo.complete = function(eObj:Object):Void {
    next_btn._visible=true;
    flv_pb.addEventListener("complete", lo);   // <- use the instance name of your flvpb component

  • Premiere CS3: How can you encode xml cue point data in the chapter section of a marker for FlashVid?

    Hi there,
    I'm a total newb to this forum, so hello adobe premiere community! I'm perplexed by Adobes documentation on Premiere (and I'm sure I'm not the first ) anyway on the live documents page below:
    http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS9390BED7-9466-46ea-A0E A-3240F1AFC36C.html
    it states that:
    “The cue point data in the Chapter field of a sequence marker in Adobe Premiere Pro will be encoded as Flash XML. For the XML protocol required, see Flash Help.”
    Which is great…except this information doesn’t exist seemingly in either the Premiere documentation or Flash either for that matter, but as I’m interested in working with the chapter/marker area in Premiere – should I really be told to go off and search the documentation for another application, probably not!  What would have been useful would have been a code snippet saying you do it like this, but of course, that would make things too easy!
    Basically, I understand that in After FX you can add Flash marker information specifically for interpretation when exporting to Flash Video (i.e. name, type and parameters etc) and it suggests that you can do the same above in Premiere CS3 using some kind of concatenated string in the chapter area…it just doesn’t tell you how anywhere seemingly – WHY ADOBE!
    Currently when I export markers as cue points based on the advice in the page above, anything I put in the chapter section to force Premiere to create a cue point is converted to a string, which becomes the cue point ‘name’.
    This cue point name is then automatically appended to the ‘time’ the marker was inserted at and is always encoded as type ‘navigation’, with no obvious means of adding ‘parameters’ into the equation.
    So (finally) does anyone know if you can insert this information into the chapter area for correct interpretation by flash (i.e. thus allowing you to choose between either 'navigation' or 'event' types, and pass as many 'parameters' as you wish etc) or are you just limited to supplying a name, and it being automatically set to the navigation type with no parameters?
    I’m sorry for this long essay but at least the issue is well defined for you to answer, honestly any help you can provide what so ever would really be most appreciated!
    Best regards,
    Kat
    PS – I have utterly no knowledge of XML either just in case you were wondering – and my only interest in XML is getting this basic information encoded into the FLV file from Premiere Pro CS3! Please help, pretty please with daisy’s!!!

    Hi dradeke,
    Thanks for your reply, which is indeed useful as clearly Adobe have made this task easier and less obscure in CS4 by adding simple interface functionality, however I'm stuck with using CS3 for the moment.  Its not majorly a problem as the video material in question can be exported uncompressed then setup with cue points using the Flash encoder as an alternative (i.e. or even After FX CS3 also) which both provide the same features as Premiere CS4 seemingly. It is just that it would be much easier to be able to drop in simple markers whilst working with Premiere CS3, as this is what we are going to be using primarily, I just wondered if anyone knew how to invoke this in CS3 - its possible you can't, the documentation is vague at best!
    However I really appreciate your response and help, thanks 

  • Create navigation cue points in a FLV file using Media Encoder CC

    When I export a FLV file with Navigation cue points created in Media Encoder CC (by loading a cue points XML file), upon examining the file I see that the cue points are recorded as Event type cue points in the metadata at the top of the file.
    When I load the FLV file in Flash, I can receive cue point notifications using action script while the video is played, but cannot use seekToNavCuePoint to move the play head to one of the cue points, which accords them being Events rather than Navigation points.
    I am wondering if there are any other export settings which need to be particular values in order for navigation cue points to be created properly in the exported file?

    Lestyn, thanks for the verification.  Took me a frantic 4 hours to arrive at the same conclusion.  Do these people test their software???
    Maddening.

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

  • Final Cut Pro to Flash  -- Inserting and Using Cue Points

    I want to export a flash video using File - Export - Using Quick Time Conversion and selecting Flash. Under options for Flash, I see something about "Cue Points".
    My assumption is that these would be points that you can insert that are similar to chapter markers and that you could have the Flash player on a web page jump back and forth between them.
    Does anyone know of any documentation on inserting these points in Final Cut export? I couldn't figure it out. It looks like you give them a name and a timecode. I could not enter the timecode.
    How about over on the player side? I assume some sort ActionScript in Flash is required. Has anyone seen a simple example/tutorial of these capabilities?

    Apart from disabling time machine, iCal and any other programs or applications from taking focus. Time machine and software updates can certainly be told not to try as far as I recall.

  • 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

  • How do you add cue points to a MOV file that Director 12 can read?

    I have just downloaded the Trial of Director 12 - and unless I can add cue points to video that it can interpret - I am not going to be able to achieve what I need to.  I've spent the last day and a half looking over the scant documentation provided by Adobe, and anything else I could find online - but the only answers that came anywhere near were for old versions using discontinued xtras.
    Please can anyone help? - I am using Windows 7 64 bit - CS6.
    Thanks in advance. :-)

    Probably too late for your project but...
    You can do this by using 3 sprites in addition to the SWF. In this example, I've named them "videoPlay", "videoRewind, and "videoStop". The SWF in this case was named "video."
    Apply this script to each of the 3 sprites.
    property mySprite
    on beginSprite me
      mySprite = sprite(me.spriteNum)
    end
    on mouseUp me
      case mySprite.name of 
        "videoPlay":
          sprite("video").play()
        "videoStop":
          sprite("video").stop()
        "videoRewind":
          sprite("video").stop()
          sprite("video").rewind()
      end case
    end

  • Using audio cue points in a flash movie

    Hello all,
    I am trying to put together some simple videos for my kids to
    play on their ipods to study on the way to school.
    I put together a real simple slide show, and prepared an
    audio track. I polished it up in soundbooth, and included some
    markers in the audio track. I was hoping to find a way to pause the
    slideshow, until the marker is reached in the audio track. I have
    done this before in director, but just cannot seem to figure it out
    in flash cs3. Any help you can give would be appreciated.
    Thanks, BobR

    Hi,
    The following AS2 code may help you
    stop();
    var listenerObject:Object = new Object();
    listenerObject.ready = function(eventObject:Object):Void {
    <your flv playback instance name>.addEventListener("ready", listenerObject);
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    <your button instance name>.onRelease = function () {
    playback.seekToNavCuePoint("<your cue point name>");
    <your flv playback instance name>.addEventListener("cuePoint", listenerObject);
    \\replace all the placeholder things including the < >
    Also just take a look at the description at http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00003003.html for more details
    Thanks!
    ps: pls mark this post as answered if this is of help to you

  • I need help with my event-based cue points with audio

    Im having trouble with my video game project for my action script 3 class at school. Here is what i did, i made a game called Tailgate toss up. I filmed my character and rendered it in Adobe Premiere. I than brought my .mov file into After Effects and I put event-based cue points-
    my first cue point at 0:00:03:13 called "loop"
    my second cue point at 00:00:03:27 called "draw"
    my third cue point at 00:00:05:24 called "bang"
    my fourth cue point at 00:00:13:29 called "dead"
    my fifth cue point at 00:00:14:29 called "You Lose"
    my last cue point at 00:00:19:14 called "End"
    Here is my action script 3 code
    ///first frame:
    start_btn.addEventListener(MouseEvent.CLICK, startGame);
    function startGame(event:MouseEvent){
    gotoAndStop(2);
    SoundMixer.stopAll()
    stop();
    ///second frame:
    stop();
    var loopTime
    var hitHim:Boolean = false;
    var vConnection:NetConnection = new NetConnection();
    vConnection.connect(null);
    var vStream:NetStream = new NetStream(vConnection);
    var client:Object = new Object();
    client.onCuePoint = onCuePoint;
    vStream.client = client;
    var myVideo:Video = new Video(418, 480);
    myVideo.y = 0;  ///this adjusts where the video is, right now it is the size of the canvas which is 418,480
    addChild(myVideo);
    myVideo.attachNetStream(vStream);
    vStream.play("michelle.flv");
    var throw_bottle:Sound
    throw_bottle = new Sound(new URLRequest("audio/throw_bottle.mp3")); //change to button noise, will add sound into ae file
    target_mc.addEventListener(MouseEvent.CLICK, shoot);
    target_mc.buttonMode = true;
    target_mc.visible = false;
    draw_mc.visible = false;
    function onCuePoint(cuePoint:Object):void {
       if(cuePoint.name == "loop"){
    loopTime = cuePoint.time;
        if(cuePoint.name == "draw"){
    var randomLoop:Number = Math.random()*10;
    if(randomLoop > 2){
    vStream.seek(loopTime);
    }else{
    setChildIndex(target_mc, numChildren - 1);  
    setChildIndex(draw_mc, numChildren - 1);    
    target_mc.visible = true;
    draw_mc.visible = true;
    if(cuePoint.time == "5:24"){
    draw_mc.visible = false;
    target_mc.visible = false;
    if(!hitHim){
    vStream.seek(15);    
    if(cuePoint.name == "dead"){
    vStream.close();
    myVideo.clear();
    gotoAndStop(3);
    if(cuePoint.name == "end"){
    gotoAndStop(3);
    function shoot(event:MouseEvent){
    throw_bottle.play();
    hitHim = true;
    ///my third and last frame
    playAgain_btn.addEventListener(MouseEvent.CLICK, playAgain);
    function playAgain(event:MouseEvent){
    gotoAndStop(2);
    SoundMixer.stopAll()
    stop();
    When I have no audio it works perfectly, no problems. When I bring audio in i re-render it as a .mov file and bring it back into After Effects and add the cue points to it. Than i re-render it out again as a flv file. When i bring it into my flash project it will work when the looping variable does just one loop and my target will appear so you can click on it or not. But when the looping variable makes it loop 2 to 10 times it skips over the catching (the part of the clip if you clip the button) and goes directly to the dropping of the can, not giving you the option of clicking the button. So basically it skips the "draw" or second cue point of my game and goes to "You Lose" cue point.
    Any suggestions?

    Hi,
    The latest audio driver for your machine is on the following link.
    http://ftp.hp.com/pub/softpaq/sp59501-60000/sp59649.exe
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HTML link to FLV cue point

    I am reasonably new to Flash and would like to know if I can
    create a html link to a cue point in a flash video file or to a
    particular frame in a normal swf file. If so, what is the correct
    syntax?

    Ok, I seemed to have succesfully linked to the cuepoints
    using, for example, the code below.
    [CODE]
    programsa.addEventListener(MouseEvent.CLICK,programsaClick);
    function programsaClick(event:MouseEvent):void {
    movie1.seekToNavCuePoint("Programs");
    [/CODE]
    However, now I have another issue. The FLV is on frame 2 and
    I want to navigate to it using buttons on frame 1. However when I
    try the following:
    [CODE]
    programsa.addEventListener(MouseEvent.CLICK,programsaClick);
    function programsaClick(event:MouseEvent):void {
    gotoAndStop("movie");
    movie1.seekToNavCuePoint("Programs");
    [/CODE]
    I get the error:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at videobig_fla::MainTimeline/programsClick()
    So, how can I tell a button to go to a cuepoint for a movie
    that's on a different frame?

  • Need several buttons that each target a video cue point but only one works

    I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?
      "seek-btn2" to find cue 2(named "lou2")
    import fl.video.*;
    // Video component instance name
    var flvControl:FLVPlayback = display;
    var flvSource:String = "lou.flv";
    // Set video
    flvControl.source = flvSource;
    // Add seek functionality to the button
    function seekHandler(event:MouseEvent):void
       flvControl.seekToNavCuePoint("lou1")
    //seek_btn is the button instance name
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    when i repeat the last part of the code it does not work, thanks for your time....

    Thanks but where would I insert that code and what would I take out from the original code I posted?
    i tried this....
    import fl.video.*;
    // Video component instance name
    var flvControl:FLVPlayback = display;
    var flvSource:String = "lou.flv";
    // Set video
    flvControl.source = flvSource;
    seek_btn1.cuePointName = new String();
    seek_btn1.cuePointName = "lou1";
    seek_btn1.addEventListener(MouseEvent.CLICK, onButtonPress);
    seek_btn2.cuePointName = new String();
    seek_btn2.cuePointName = "lou2";
    seek_btn2.addEventListener(MouseEvent.CLICK, onButtonPress);
    // onButtonPress function
    private function onButtonPress(evt:MouseEvent):void {
         flvControl.seekToNavCuePoint(evt.target.cuePointName);

  • Pause on Cue Point

    I have set a cue point in my FLV at 58 seconds. Can someone
    tell / show me
    how I can add a pause to the video when it reaches that first
    cue point. I
    have it set (intially) called break and it is set to 'Event'.
    Thanks. I am an eager noobie to Flash video and actionscript.

    NetStream events have nothing to do with cue points.
    onCuePoint method belongs to NetStream client. So, you will need
    something like this:
    client.onCuePoint = pointListener;
    function pointListener (cuePoint:Object):void {
    trace(cuePoint.name + " " + cuePoint.time);
    In a nutshell NetStream events are fired when changes occur
    in video delivery (buffer, start, pause, etc.) - not video content.
    More information:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html
    As for your code, your syntax is not correct.
    You wrote: vid.addEventListener(NetStatusEvent.NET_STATUS,
    "myFirstCuePoint");
    If you listener function is myFirstCuePoint you need to
    write:
    vid.addEventListener(NetStatusEvent.NET_STATUS,
    myFirstCuePoint); - no quotes.
    Also, I don't use FLVPlayback - it has it's own methods and
    events. What I wrote pertains to the cases when NetSream and
    NetConnection are used stand alone.

  • GotoAndPlay next scene when reach the "end" cue point

    Hi, I have a flv with actionscript cue point "welcome_end".
    It's will be progressive download from web server. It has a
    component name "flv_welcome" on stage. What I want to do is after
    the flv play reach to its end, the flash movie will go to and play
    next scene.
    Any help will be greatly appreciated.

    See FLVPlayback.cuePoint in the help files.

  • Reading cue point parameters on video start

    Im trying to create a table of contents to navigate to various points in an .FLV file.  I've encoded the flv with cue points in media encoder. I've also added a parameter to each cue called toc_title with the lable that should represent the time in the video to jump to. It occurred to me though that those parameters might not be available to my flash player until the frame of the cue was reached. I need my toc to be visible when the video starts. First of all, is this entirely the wrong approach? I want to make this video player as dynamic as I can and would like to reuse it for several different videos with different TOCs. Is the parameter data set on cue points available at any time in the video playback or only when the cue is reached?  Thanks, John

    Hi John, You may receive more advice and help on the Flash forum. You can start a thread there or perhaps some threads may already be discussing your concerns.
    http://forums.adobe.com/community/flash/flash_general?view=discussions&start=0
    Hope that helps.
    eidnolb

  • Odd cue point problme

    Howdy all
    I have 4 frames in a urlMC on each frame is a button. They
    all work fine.
    I have a FLV that plays and a cue point moves the urlMC to
    the next frame to
    reveal the new button. When used this way the buttons don't
    work. Any
    thoughts? Thanks.

    1. A cuePoint has to be attached to a certain point in time. Look up the docu: http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html
    2.In as3 the getURL method is not valid anymore, use navigateToURL() instead [google for examples how to use it]

Maybe you are looking for

  • Two Freetalks, two numbers, one Skype Account

    I have two freetalk 1200's, one in my home and one in our vacation home.  I also have two Skype numbers.  I'd like one Skype number to be associated (exclusivily) with the home Freetalk and the other number associated (exclusivily) with the vacation

  • SQL developer not showing compiler warnings

    I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error. in SQL plus, this works fine: SQL> alter session set plsql_warnings='en

  • Adobe, CS4 is not ready for release.

    Dear Adobe, I have been using Premiere as my primary editor for years (I think I started on version 6). Although some versions had flaws and the occasional crash, they were reasonably competant apps which did the job. CS4 is not. In the 24 hours sinc

  • Table name which can show a list of customersfor an output type

    Hi All, Can you please tell me the table name which can show me the list of customers if a particular output type is mentioned in the selection screen. Thank you, Regards, Shanu.

  • RED R3D files "unsupported" after project save

    Suddenly, yesterday, my R3D files from our RED cam are unusable / unsupported after project file save. Opening and existing project and prior to saving the RED files work fine. Importing RED is also "unsupported" after saving the modified project fil