How can I save a video's position using the FLVPlayback component

I've got a video I'd like people to be able to navigate away from in my project, but resume where it left off if they come back to it.  I would think I could do this by just saving its current position when they exit that frame as a variable and then using .seek() to go back to that spot if/when they return.
The only problem is that I can't find any script to capture the current position.  I tried .time, but it gives me an error.

This is what I ended up doing.  I put the FLVPlayback inside a movieclip and put this on the first frame:
stop();
var vidTime:Number=0;
on the frame that the video plays on I have the video and a close button (which is a movieclip) and I put the following script:
if(vidTime>0)
    htMeasVid.seek(vidTime);
close_btn.addEventListener(Event.ENTER_FRAME, seekCount);
close_btn.addEventListener(MouseEvent.MOUSE_UP, closeBtnUp);
function seekCount(e:Event):void
     vidTime=htMeasVid.playheadTime;
function closeBtnUp(e:MouseEvent):void
    e.currentTarget.parent.play();
on the following frame I have this code:
close_btn.removeEventListener(Event.ENTER_FRAME, seekCount);
htMeasVid.stop();
and then on the last frame I have this:
gotoAndStop(2);
so that it doesn't reset the vidTime variable to 0.
Thanks again for the help.

Similar Messages

  • How can I save permanently videos ?

    How can I save permanently videos that I see on the Internet ?
    For example: There is a site that shows Korean videos 1 h drama. I guess this is called streaming; can I copy/save it permanently and how do I do it ?
    http://www.mysoju.com/the-1st-shop-of-coffee-prince/

    I guess once I download a video it is permanent, right?
    Yes.
    Maybe it is a silly question but I did download videos using "Save as -->archive" and of course when the video on the site was deleted, I had nothing.
    That saved the web page, but that doesn't contain the actual video. That is sent by the server when needed.
    I guess it's the same with video download ?
    Another reason I ask is if it is so simple to just use Quick Time and it's free and it copy even without asking (all I have to do is watch) why so many ads for "capture videos ?"
    Web sites often disable QuickTime's Save function, so you often need other ways to save video.

  • In Windows how can I save a video just played by Flash Player?

    In Windows how can I save a video just played by Flash Player?

    This is what I ended up doing.  I put the FLVPlayback inside a movieclip and put this on the first frame:
    stop();
    var vidTime:Number=0;
    on the frame that the video plays on I have the video and a close button (which is a movieclip) and I put the following script:
    if(vidTime>0)
        htMeasVid.seek(vidTime);
    close_btn.addEventListener(Event.ENTER_FRAME, seekCount);
    close_btn.addEventListener(MouseEvent.MOUSE_UP, closeBtnUp);
    function seekCount(e:Event):void
         vidTime=htMeasVid.playheadTime;
    function closeBtnUp(e:MouseEvent):void
        e.currentTarget.parent.play();
    on the following frame I have this code:
    close_btn.removeEventListener(Event.ENTER_FRAME, seekCount);
    htMeasVid.stop();
    and then on the last frame I have this:
    gotoAndStop(2);
    so that it doesn't reset the vidTime variable to 0.
    Thanks again for the help.

  • How can I save iTunes videos in my icloud?

    Hi how can i Save iTunes videos in my icloud?

    You can't save your iTunes films and/or TV programmes in the cloud, whether they will show in the cloud for redownloading in the Purchased tab in the iTunes app depends upon what country that you are in (they can't be redownloaded in all countries) and whether they remain in your country's store (rights-holders occasionally remove their items).
    You can copy your iTunes downloads to your computer's iTunes library via File > Devices > Transfer Purchases so that you can take a backup copy of them, and not have to rely on being able to redownload them from the store.

  • Email attachments: whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    Is this a particular sender, or all of your attchments?  Google winmail.dat and you will see a number of returns that can explain this, but in short, this is the way some e mail providers deal with attachments.  If all of your e mail is coming that way, you need to change a setting on your isp set up.  Perhaps stary here...
    http://www.nytimes.com/2010/11/25/technology/personaltech/25askk.html

  • If I download a video from my video camera to a new (current 1/12) iMac 21 inch, how can I burn it to a DVD using the computer itself. Is this possible? Do I need to buy additional software. Two salespeople at the Apple were a little confused about this.

    If I download a video from my video camera to a new (current 1/12) iMac 21 inch, how can I burn it to a DVD using the computer itself. Is this possible? Do I need to buy additional software. Two salespeople at the Apple were a little confused about this. Thank you.

    The DVD recorder I'm referring to is one I've use for years. It is not attached to my aging iMac in any way. I simply play the video from my camcorder (mini-dv tape based Canon HV20)  into the DVD recorder and create a DVD that can be played in any DVD player. I can only do minimum editing so what goes in is what I get. This has been fine for creating dupes of the various things I shoot.
    If I buy a new iMac (21 inch), I'd like to be able to download the video to the iMac through iMovie, work with it to whatever degree I wish, and burn it to a DVD that can also be played in any DVD player -- or to use as a master to dupe copies.
    What I'm understanding from you and others is that this would be possible if Apple had included iDVD in the software that comes with the iMac, or if I purchase the iLife Family Pack, or buy the correct version of Toast. I'm hoping I can persuade Apple to sell me an iMac with iDVD installed.
    Essentially I want to move from a basic process of creating DVD copies to the more sophisticated process of creating one from an iMac.
    Thank you again for your help and wisdom.

  • How can i know if my query is using the index ?

    Hello...
    How can i know if my query is using the index of the table or not?
    im using set autotrace on...but is there another way to do it?
    thanks!
    Alessandro Falanque.

    Hi,
    You can use Explain Plan for checking that your query is using proper index or not. First you need to check that Plan_table is installed in your database or not. If it is not there THEN THE SCRIPT WILL BE LIKE THIS:
    CREATE TABLE PLAN_TABLE (
    STATEMENT_ID VARCHAR2 (30),
    TIMESTAMP DATE,
    REMARKS VARCHAR2 (80),
    OPERATION VARCHAR2 (30),
    OPTIONS VARCHAR2 (30),
    OBJECT_NODE VARCHAR2 (128),
    OBJECT_OWNER VARCHAR2 (30),
    OBJECT_NAME VARCHAR2 (30),
    OBJECT_INSTANCE NUMBER,
    OBJECT_TYPE VARCHAR2 (30),
    OPTIMIZER VARCHAR2 (255),
    SEARCH_COLUMNS NUMBER,
    ID NUMBER,
    PARENT_ID NUMBER,
    POSITION NUMBER,
    COST NUMBER,
    CARDINALITY NUMBER,
    BYTES NUMBER,
    OTHER_TAG VARCHAR2 (255),
    PARTITION_START VARCHAR2 (255),
    PARTITION_STOP VARCHAR2 (255),
    PARTITION_ID NUMBER,
    OTHER LONG,
    DISTRIBUTION VARCHAR2 (30))
    TABLESPACE SYSTEM NOLOGGING
    PCTFREE 10
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 10240
    NEXT 10240
    PCTINCREASE 50
    MINEXTENTS 1
    MAXEXTENTS 121
    FREELISTS 1 FREELIST GROUPS 1 )
    NOCACHE;
    After that write the following command in the SQL prompt.
    Explain plan for (Select statement);
    Select level, SubStr( lpad(' ',2*(Level-1)) || operation || ' ' ||
    object_name || ' ' || options || ' ' ||
    decode(id, null , ' ', decode(position, null,' ', 'Cost = ' || position) ),1,100)
    || ' ' || nvl(other_tag, ' ') Operation
    from PLAN_TABLE
    start with id = 0
    connect by
    prior id = parent_id;
    This will show how the query is getting executed . What are all the indexes it is using etc.
    Cheers.
    Samujjwal Basu

  • I lost my Iphone 3GS. My brother has given me his Iphone 4 now. We both use the same notebook to update and sync our phones. I would like to know how can i reconnect back to my account using the Iphone which was previous used by my brother.

    I lost my Iphone 3GS. My brother has given me his Iphone 4 now. We both use the same notebook to update and sync our phones. I would like to know how can i reconnect back to my account using the Iphone which was previous used by my brother.

    If you are saying that you both have iCloud accounts and use the same icloud ID, then yes, the contacts will be deleted.  The idea is that all devices using the same icloud ID are kept in sync.  You need to use different IDs.  You can keep the same iTunes ID so you can share the songs and apps.  But use different icloud IDs.

  • How Can You Track Your Ipod If Lost Using The Serial Number

    How Can You Track Your Ipod If Lost Using The Serial Number?

    The find my iphone app has nothong to do with it.
    That app simply allow you to find other devices using your ipod.  It has nothing to do with fining the device on which it is installed.
    If you set up the find my ipod feature that is built into your ipod and the ipod is on and it is connected to wi-fi and it has not been restored, then you may be able to get an approximate street address using icloud.
    Othrewise, it cannot be tracked.

  • How can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    how can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    As has been mentioned Adobe Reader cannot export PDF page content. Nor can it create PDF or manipulate PDF page content.
    What you can do is use one of Adobe's online subscription services. Two provide for PDF  to Word export.
    There's ExportPDF and PDF Pack.
    Be well...

  • How can I configuration MBean in weblogic server  using the console ?

    How can I configuration MBean in weblogic server using the console ?
    I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
    can some body explain that or a link that explain it, how to do it on the console ?

    Hi,
    Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
    http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
    Thanks
    Jay SenSharma

  • How can I create a video with effects using my ipad?

    How can I create a video with effects (sepia, B&W, Negative, oval or any other shape borders) using my ipad?  I would Like to keep a higher res and also be able to shrink it down to email or send in a MMS. Or should I just upload it to my PC and mess with it there? Some of the apps I have are very easy to use compared to the learning curve needed for video editing software.
    Thanks

    Thats the Problem . . . how many apps do I have to try until I find the one I want? I noticed a few will render the video thus losing its original size. When I went to edit it more in iMovie the video was smaller--not good. And what software do you suggest, Templeton, for the PC? I love the apps because they are easy. I dont have hours to mess around on a software to figure out if its something I want. Im looking for simplicity. Maybe Ill get more into it later. I just want to record simple video of my playing the guitar for self analysis and create a short video for family and friends.
    Apps:
    iMovie
    CinemaFXV
    VideoFix
    Cartoonatic
    Video illusion
    VidEditor
    Software:
    Windows Movie maker (wont accept .mov files)
    After Effects (Too little time, so much to learn)
    Wondershare (Very easy but little choices)
    VideoPad (Again. Few choices)

  • How can i save my annotations for future use?

    Hi,
    I have several ePub files in iBooks that I annotated, with the highliter as well as the post-it feature.
    Now how can I save those for fututre use? I'm not talking about iTunes sync/restore. I'm talking about removing the book from the iPad and use it back in, say, 4 years, or even pass it to someone else along WITH the highlighted sections.
    In a word: keep the book with the annotations on the side OR keep the book embeding the annotations.
    This is for ePub of course, not purchased in iTunes, but free books or purchsed ePub from external sources (like O'Reilly).
    After playing with DiskAid, I got a copy of the internal annotation database (my iPad is not jailbroken) and was able to see all the notes in it. But any existing tool to actually extract and link those notes to a specific book would be exactly what I would need...
    Possible? Hopefully yes...
    Thanks for any help.
    Steve

    Anyone?

  • How can i save my iPhone that went through the wash?

    How can I save my iPhone after it went through the wash cycle?

    You can try.  Do no try to turn it on or charge it.
    Let it dry out for a week or so.

  • How can I save a video locally on my phone from a text message or email with ios7

    Having some trouble figuring out how to save a video to my camera roll with new operating system. I've tried from both an email and text message. Please help

    Touch video in message to show the play screen.  Select the send icon (square with arrow) at bottom left. Select "Save Video"

Maybe you are looking for