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?

Similar Messages

  • Director buttons to FLV cue points?

    Is it possible to use a button to jump the playback head to a flv cue point?
    Director V11.5 Mac

    If you know where the cuepoint is (in milliseconds), you can use the seek() command to jump there.  You might have to do some experimentation to get it to work the way you expect it to.
    Seek() is an asynchronous command.  It can only be used if the sprite currently has a mediaStatus of #playing.  It is ignored if the mediaStatus is #paused, #stopped or #error.
    Immediately after the command is issued, the sprite's mediaStatus switches to #stopped (not #seeking or #buffering) and the currentTime of the sprite is set to the target value.
    If the seek target is negative or greater than the duration of the media, nothing happens.

  • Link to a cue point in flv

    Hi everyone, I imported a video into flash and set three
    navigation cue points. Is it possible to linke to these cuepoints
    using buttons on my stage?

    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?

  • Streaming .flv cue point problem

    I’ve been working with Flash video with synced slide
    presentations since February, which have been exclusively download
    streaming, all based on the presentation available at the adobe web
    site:
    http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html
    My issue has come up when using this template with streaming
    flv’s, the buttons that I use to reference the cue points in
    the video and slides on the timeline do not work reliably;
    sometimes they will shuttle the video and slides to the correct
    point, usually they move the slides on timeline to the appropriate
    spot and the video jumps back to the beginning. Besides this
    sizable problem, the presentation plays the way it is supposed to.
    Is there a setting in the component inspector that I’m
    missing? Should I re-encode the video with Navigation cue points?
    Any help would be appreciated.
    L

    If you look at the source code for the first link you'll find this at line 71:
    <p id="player1" style="margin: 0px; padding: 0px; text-align:center;"><embed type="application/x-shockwave-flash" src="http://www.thebellyfatsolution.com/flvplayer.swf" style="" id="player1" name="player1" quality="high" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&amp;width=504&amp;file=http://www.thebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv&link=http://www.th ebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv" height="390" width="504"></p>
    <p><noscript>
    Apparently your video has been encapsulated in JWPlayer. You can find out more about JWPlayer here: http://www.longtailvideo.com/players
    This seems to be yet another solution to a problem that doesn't exist, and whoever runs that website fell for the sales pitch.

  • Displaying previous FLV cue point during scrubbing

    I have a single FLV that has 10 different scenes in it. I've
    been able to make a "credit" list for each scene by adding
    actionscript cue points in the FLV component, and displaying the
    info using dynamic text. It all works fine.
    Now I want the dynamic text to reflect the current scene when
    the end user scrubs through the video using the seek bar. (Or at
    least after the seek bar is released and the FLV begins to play
    again.)
    I just need a head start, I think.
    Thanks for listening!
    David

    Thank you again Dima!!!
    Now I've CS6 now but the only way that I see to have flv is: Creates (I'm translating from my language) => Flash, from menu file.
    I need to insert cue point ("navigation" like in Media Encore Cs5.5).
    But the only marker that I see in CS6 is named "Chapter" (translating form my language).
    If I create an flv file (like above) I obtain two different flv files (one for chapter).
    Is there a way to insert inside the flv file the "navigation" cue points?
    Thank you again Dima.

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

  • Html link on web page points to server volume - possible?

    Hi there
    I don't know if this is exactly the right forum for this question but I'm *just sure* someone where will be able to point me in the right direction!
    I'm working on an intranet blog for my company... a resource for company standards, workflow questions, and the like.
    I want to occasionally post a link there to a particular folder - where the afp/html link will open the served up folder.
    I tried
    <!--<a href="afp://Volumes/xxxx/xxx/xxxx">here</a>-->
    but if I'm not logged on that link returns a "Connection failed - the server may not exist or is not operational at this time".
    If I am logged on, the folder window will pop up, but I still get the error message.
    IDEALLY it would be good to somehow embed logon info in the link.
    Eventually, if we ever go public with this resource, I'll have to think about security issues posed by links to our server in a public website, but that's a problem for another day.
    Right now I just want to link to work behind our router. Any and all advice appreciated! Thanks!

    Matt, thanks for your advice, but I couldn't get your suggestion to work at all.
    Back to the drawing board - unless there are other suggestions lurking in the wings. (hint! hint!)

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

  • FLV Cue Points from Soundbooth

    I am having a strange issue. I have several audio files that I have opened in Sounbooth and added cue points. I saved the files as FLVs. Upon importing into Flash CS4 with the FLVPlayback component, my cue points are not loading. The component inspector shows "cuePoints: None".  In a test I did before the New Year, the cue points loaded fine. I have no idea what I did differently this time.  Any ideas?  I know I can add the cue points in the FLVPlayback component, but I'd rather be able to do it in Soundbooth.
    Thank you!

    This is an annoying work around, but here's how I got the cue points from Soundbooth to be recognized in Flash:
    Opened the original MP3 in Soundbooth
    Added my markers/cue points
    Saved As ".AVI"
    Saved again as ".F4V" (not FLV)
    Imported the F4V into the FLVPlayback component
    NOTE: If you add a new cue point to the FLV and try to resave as the same file name, the latest cue point will not import into Flash. I had to do yet another save as and pick a new file name.
    Going to try to eliminate the AVI step, but note hopeful.
    Hope this helps others.

  • 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

  • FLV cue point script

    Does anyone have a script that will make the movie go to and
    play another frame of the movie when a Flash video cue point is
    reached?

    SM6601,
    > Does anyone have a script that will make the movie go to
    > and play another frame of the movie when a Flash video
    > cue point is reached?
    See my answer in the ActionScript forum. ;)
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Flv cue points

    Hi all,
    I'm having a problem with the FLVPlayback
    component...everytime i call findCuePt it returns null
    (undefined)...
    i double checked that the cue points are enabled, and still
    no dice...is this because it's a navigation cue point?
    any help appreciated
    etg

    if (index="introductionText")
    I think you need double =, like this:
    if (index=="introductionText")
    -rich

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

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

  • Need .flv to pause on Cue Point usingActionScript 3

    I'm creating a presentaiton of a Google Earth flythru. At
    specific (cue) points I need the FLV to pause and then when the
    presenter pushes a key (space bar) the FLV continues to play. I
    have a good understanding of the Event Listener process for AS 3.0
    but am not sure how to address the the action of the pausing once
    the flv reaches the cue point. Does anyone know of any good
    tutorials? Or any helpful insight?
    Thanks,
    Mike

    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.

Maybe you are looking for

  • OS-Authentication  for a Oracle 10g Express Edition

    I want to use OS-Authentication for an Oracle 10g Express Edition. What value must be set in sqlnet.ora ? Where are the possible authentcation modes described ? I only found the description KERBEROS5. I tryed the value all, but with all no connect is

  • Downloading a DVD into iMovie or iphoto

    A friend shot a video and burned a copy in iMovie for me, is there anyway to download the DVD into iMovie on my Mac? Thanks!

  • Learning Solution- Authoring Environment

    Hi, I am able to create courses in Authoring Environment which can be run in Content Player. How do an user of portal access the course created using Authoring Environment in Enterprise portal ?? I have released the course, and it is available in KM

  • Sound not working with some apps and websites

    I don't get sound on some websites or apps like vine.  Video is fine

  • SUS :- Employee for vendor

    Hello Folks, We are implementing SRM SUS (5.0) (EBP SUS scenaio).  We are able to successfully replicate vendor to SUS. We can se ethe vendor org in SUS. My concern is - 1. How can we create employee for vendor (business partner) in SUS. 2.  When we