Component FLV stops playing video and backwards towards the play button

Hope there is a fix for it.

So, I have a video that plays in the FLV component. It loads, it starts playing and then it stops on its own and the user must click the play button again.

Here is my code:

//////////////////////////////////////////////////////////////////////////////////////////

HowTo_maininfo_mc. JTVs_mc. JTV_SubHeart_btn.addEventListener (MouseEvent.CLICK, JTV_SubHeart_btn_amimated_btnDown);

var sourceVar:String;

function JTV_SubHeart_btn_amimated_btnDown(event:MouseEvent):void {}

sourceVar = "howto_popups/jtvs18w07.mp4";

gotoAndPlay ("flv_pb");

}

//////////////////////////////////////////////////////////////////////////////////////////

and then in 'flv_pb', I have this:

//////////////////////////////////////////////////////////////////////////////////////////

Stop();

close_btn.addEventListener (MouseEvent.CLICK, onClick_GoBackToHowTo2);

function onClick_GoBackToHowTo2(event:MouseEvent): void {}

gotoAndPlay ("howto");

}

SWF_flv2.addEventListener (Event.REMOVED_FROM_STAGE, stopF2);

function stopF2(e:Event):void {}

SWF_flv2. Stop();

}

SWF_flv2.source = sourceVar;

to preload your video:

Import fl.video.VideoProgressEvent;

Stop();

SWF_flv2.addEventListener (VideoProgressEvent.Progress, progressF);

SWF_flv2source = sourceVar;

SWF_flv2. Play();

SWF_flv2. Stop();

function progressF(e:VideoProgressEvent):void {}
if(e.bytesLoaded == e.bytesTotal) {}

trace (e.bytesLoaded, e.bytesTotal);

SWF_flv2. Play();
}
}

Tags: Adobe Animate

Similar Questions

  • How to program a pop-up video and gray on the bottom?

    How do I program a pop-up video and gray on the bottom? Examples at:

    http://3.x-particles.com/gallery/

    Scroll the video thumbnails and click on one. I just want the video and VCR controls, not links to Twitter, etc.

    Guidance gratefully received.

    They seem to use this one: Magnific Popup: Responsive jQuery Lightbox Plugin

    This page contains all the information you need to create the same thing.

  • My sleep, put into hibernation and shut down the Start button went from Vista Home Premium.

    When I go to the right of my Start button and try to Hibernate, sleep, or shut down my computer, all the buttons are gone. Now, I don't see that "change of user, logoff or lock. Now, in order to stop, I have to go to the Start button and to the right, the trunk, which brings back me to a screen to logon with a red box and an arrow at the bottom right of my screen. It of only then when it allows me to shutdown my computer. Can anyone help.

    Hello

    How to remove or display the Start Menu in Vista shutdown Options
    http://www.Vistax64.com/tutorials/105003-shutdown-options-start-menu.html

    Button missing in the Vista Start menu
    http://www.Visser.com.au/blog/missing-shutdown-button-in-Vista-Start-menu/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • My battery stopped charging. For four days, the power button says "59% available (plugged in, does not support)."

    * Original title: charging the battery

    My battery stopped charging. For four days, the power button says "59% available (plugged in, does not support)."

    How can I get the computer to start the battery again?

    The battery is probably faulty. You can say as follows:

    1. Shut down Windows.
    2. Remove the battery.
    3. Wait an hour.
    4. The power supply is cold? If Yes, then the laptop consumes no power (which is normal).
    5. Insert the battery.
    6. Wait an hour.
    7. The power supply is hot? If so, the battery is recharged.
    8. Start normally and check the charge level. If she's still around 59% while the battery no longer accepts the full load. You need to replace it.
  • Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    This is the message I got when my backup stopped and said cannot complete backup. Need answers?
    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    --------------------------------------------------------------------------------

    A name was started with an invalid character. Error during processing of the resources ' file:///E:/WindowsImageBackup/ray-PC/Backup 2011-0...

    Hi lrl1of5,

    (1) do you use Windows Backup and Restore?

    (2) if it works well before?

    (3) remember to make changes?

    It is sufficient to indicate the complete error message you receive.

    Method 1: Run the fixit available in the links below and check if that makes a difference-Worth to try
    Difficulty of broken desktop shortcuts and common system maintenance tasks

    Note: FixIt would attempt to recover bad sectors on the hard disk, in the course of this process there are chances of DATA loss from that particular area.

    Method 2:  Clean boot the computer, then try to backup again

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

  • I have a creative cloud account and stupidly click the upgrade button and began a "trial period" of Photoshop that I already own. Well, the "trial period" failed and I don't have a version of Photoshop to use even if I'm still topical. How to make

    I have a creative cloud account and stupidly click the upgrade button and began a "trial period" of Photoshop that I already own. Well, the "trial period" failed and I don't have a version of Photoshop to use even if I'm still topical. How to get back to my "old" version of Photoshop?

    Are you sure that you are using to connect, use the steps in the correct Adobe id: https://helpx.adobe.com/manage-account-membership/cc-reverts-to-trial.html

    Let us know if that helps.

  • How to make a component FLV to play videos automatically

    After many discussions and the great help I finally got the FLV to work component.

    Here's my complete code of etiquette with a FLV component.

    Import fl.video.VideoProgressEvent;

    Stop();

    close_btn.addEventListener (MouseEvent.CLICK, onClick_GoBackToHowTo2);

    function onClick_GoBackToHowTo2(event:MouseEvent): void {}

    gotoAndPlay ("howto");

    }

    SWF_flv2.addEventListener (Event.REMOVED_FROM_STAGE, stopF2);

    function stopF2(e:Event):void {}

    SWF_flv2. Stop();

    SWF_flv2.closeVideoPlayer (1);  in fact, you can run it when the stream is complete, too so there is no need to check.

    }

    play_btn.addEventListener (MouseEvent.CLICK, onClick_Play);

    function onClick_Play(event:MouseEvent): void {}

    SWF_flv2. Play();

    }

    SWF_flv2.addEventListener (VideoProgressEvent.Progress, progressF);

    function progressF(e:VideoProgressEvent):void {}

    if(e.bytesLoaded == e.bytesTotal) {}

    trace (e.bytesLoaded, e.bytesTotal);

    SWF_flv2. Play();

    }

    }

    SWF_flv2.activeVideoPlayerIndex = 1;  This affects the player index

    SWF_flv2.visibleVideoPlayerIndex = 1; This affects the player index

    SWF_flv2.source = sourceVar;  source must come after the index/s

    SWF_flv2. Play();

    SWF_flv2. Stop();

    Somehow the video does not play automatically even if the "autoPlay = true" in the Component Inspector oprtions.

    I would like to know if there are any specific line of code that should play the video automatically in addition to:

    SWF_flv2.addEventListener (VideoProgressEvent.Progress, progressF);

    function progressF(e:VideoProgressEvent):void {}

    if(e.bytesLoaded == e.bytesTotal) {}

    trace (e.bytesLoaded, e.bytesTotal);

    SWF_flv2. Play();

    }

    }

    Is there something in the code that I messed up, and this configuration does not work properly?

    I also wanted to play button. Kind of this huge in the middle of the screen as users accustomed to see on YouTube.

    Here's the code that seems to work:

    play_btn.addEventListener (MouseEvent.CLICK, onClick_Play);

    function onClick_Play(event:MouseEvent): void {}

    SWF_flv2. Play();

    }

    The problem is that's not disappear once playback of the video. How do we need to, all video must apply to another setting with no play_btn on it or there is a code that can make disappear?

    assign your flv true pb automatic reading and don't play () / stop ().

  • videos and photos in the iCloud drive?

    I would use iCloud as an external hard drive.
    I want to keep my pictures and videos on iCloud and remove them from my phone.
    I understand that if I delete the pictures and videos from my iphone which photos and videos will remove also iCloud.
    I now have a plan of storage of 1 t because I can't afford to lose photos or videos, and now my MacBook Pro is also complete.
    Another thing is that my iphone can not save on the iCloud - it is April 2015 and it has never worked since.
    All opinions are appreciated.
    See you soon
    Darren

    iCloud library is not designed as an external storage or a backup service. It is designed as a synchronization service to put at the disposal of all your images on all your devices and sync all of your changes to these devices.

    If you are short on storage space, set the settings of your Photos to keep only a local library optimized. Library of photos on your computer should, however, be at full resolution, so it acts as a backup in iCloud. Buy an external hard drive if you wish.

    Photos user / help guide:

    https://help.Apple.com/photos/Mac/1.0/?lang=en

    IVous has a very detailed and well illustrated article on iCloud photo library:

    http://www.IMore.com/how-use-icloud-photo-library-ultimate-guide

  • How can I disable the back and gestures toward the front in F9 for OSX Lion?

    The new gestures in Firefox 9 to OSX Lion, which allow you to navigate forward and backward with a sweep two fingers are driving me crazy.

    I like the idea, but it is much too sensitive. Whenever I'm trying to scroll to the top or bottom of a page (which uses also two fingers), I accidentally go back because apparently I don't have the skills to drag and down the pad perfectly superimposed.

    If the function has been adjusted so that drag it back was not so sensitive, it would be a wonderful feature. But as it is currently, it is to destroy my browsing experience in Firefox to the point where I am considering to switch browsers.

    I have not found a way to disable this feature just and only in Firefox. Help?

    You can set preferences related gesture for a string value empty on the subject: config page.

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning so that you can confirm that you want to access the comments: config page.

    • Use the filter at the top bar of the on: page config to more easily spot a preference.

    Filter: gesture

    Double-click on the line with the pref of the gesture that you want to disable and delete its value.

  • CAPTURE VIDEO AND AUDIO FROM THE DESKTOP

    I USE A PAVILION DV 7-6163 WINDOWS 7 OS.

    WHEN I CAPTURE VIDEO FROM MY OFFICE, I ALSO CAPTURE ANY SOUND MY MICROPHONE PICKS UP. A COUGH OR SNEEZ. HOW TO PREVENT THIS?

    Thank you

    Its simple. DON'T cough or sneeze when you capture video.

    The laptop you have has a dual digital microphone array that has form the beam, cancellation of echo and noise suppression software support.

    Also go to control panel > programs and features, uninstall the drivers Audio IDT, restart the computer and install the drivers updated from here and see if that helps.

  • RealPlayer will not download videos and movies from the internet

    I try to download a movie or a video from the internet and the legend of realplayer download option does not appear on the screen and it is not in a right button, click my mouse as an option. I chose realplayer as my default program to download music and videos and movies. Can someone give me a solution.

    Hi, Rbrownbronx,

    (1) connect to the Internet.

    (2) Start RealPlayer

    (3) click on 'tools '.

    (4) then click on "Check for Updates".

    (5) follow the instructions to install the critical updates. After that, the "Download this video" button should reappear when you watch videos

  • Where can I find to listen to and address the music videos and soundclips on the first 13 items?

    I can't find to tune in and connect for videos and soundclips for 13 items first? Where can I find a manual for this program?

    Birgitta

    Fru_Blom

    Applied effects tab/Applied effects Palette/opacity range expanded

    I used the first items 12/12.1 to show the location of potential fades. Identical to 13.

    RTA

    Add on... Make sure your clip in timeline is selected so that you can see that the route to the opacity sign expanded.

  • Video and sound on the x 51 Alienware

    I got an Alienware x 51 for a few years already and have always noticed that there are two size HDMI ports in the back.  The manual of the these calls the 'edge' (on the motherboard) port and the port "discreet" (nVidia video card).  I currently have the computer connected to a bar that works then to a TV.  HDMI is my preferred connection type as the Soundbar is not equipped with too besides for the entry.

    Initially, I plugged the HDMI in the quiet port in order to use the video card.  But I noticed by doing this, I have not received any sound.  This kind of sense to me, it's a video card.  But it beats type of the object to a HDMI connection.  Then try the built-in HDMI port gave me both sound and image.  I used this connection for the length of time I've owned the system.

    In diagnosing another problem recently, I received your comments that I don't actually use the video card.  Their logic makes sense, I'm not connected to the discreet port.  Without knowing how the internal mechanisms work, I can't say with certainty.

    I have two questions for someone competent with the Alienware x 51 and it's dual HDMI output:

    1. By using the HDMI Board, am I without going through the video card completely and by using the (I imagine most rudimentary) integrated graphics capability?  The system always use the video card and switch the output via the on-board HDMI?
    2. If I am without going through the video card using the integrated HDMI output, how can I use the video card (and discreet HDMI port) and get her out of the system?  Is this possible?

    Sorry if these are stupid questions, I know a bit about computers.  I did a lot of research on this topic, watched videos of Alienware on the connections and I've seen a few posts on Dell for similar subjects.  But I have not found answers to these questions more precisely.  I would like to know how it works.

    Thank you!

    1 - Yes, you can use the HDMI port and have always discreet video card works as the main source of the image, in some cases (very little) I saw the graphics performance to drop slightly.

    2. don't make sure you had the HDMI as playback device on by default so that connected the port that goes directly to the video card?

    There are no stupid questions. We are all have to start somewhere and you have come to the right place. We are here to help.

  • Sliding to organize diapers "forward and backward" in the timeline?

    I'm puzzled as to why you can't move layers up and down on the timeline to arrange "forward and backward". I can click on the submenu to move from front to back. Do you want to add one?

    I had this same problem. Make sure that you drag in the ASSETS Panel and not the timeline. It is redundant and a bit confusing if you're used to working in AE or Flash.

  • The slice video and Audio at the same time

    Hello everyone.

    When I click on the K control, it dose create a slice in my calendar, I want to create a slice for my Audio, at the same time.

    But whenever I have cut a video, and when I want to delete the part of the slice of the film that I cut, the audio is still there, and I have to use the Razor tool to select the portion cut under the cut film.

    Thank you

    Simon.

    The razor default command (Ctrl + K like you currently have mapped it;) I use Ctrl + B, but there is no functional difference) slices only through the tracks that are being targeted. So, be sure to target your audio tracks for the command works correctly. just click the track selector associated with your audio files (Audio 1, 2 Audio, etc.).

    In CS5, there is a new command to cut through all the tracks, regardless of targeting. Discover the sequence > razor all tracks for it. It's probably Ctrl + Shift + K by default. Note that this will cut everything, securities Optionally you want not cut. Just use one that suits your needs.

Maybe you are looking for