How to stop sound of Flvplayer or close the video after the jump

Hi, I have a FLvplayer to play an intro in the first frame of my project

I put a "skip" button in the first picture too for users who do not want to see the intro, one when I click on this button that I use the simple "gotoAndPlay (2);

but I have problem with sound cause, the sound of my video continues to play in box 2 (after click on ignore)

I try to add "SoundMixer.stopAll ();" function in my button "skip" and this work for its judgment of flvplayback but it cause the conflict to my mp3 player in frame 2 (the script

I don't know why it happened...

my video have instance name "intro" and I

intro.addEventListener (Event.COMPLETE, instancecomplete);

function instancecomplete(event:Event):void {}

gotoAndStop (2)

}

to simply force Framework 2 way video Intro to gotostop...

have two script in other ways:

1 Event.COMPLETE to say when the end intro video and then go to another frame (2)...

2-simple goto script in my button ignore on the same chassis as the introductory movie is either go to another frame (2)

the problem come when I use the "skip" button and it seems the video played in the background and when to end the Event.COMPLETE run too!

So what script should I use to close this video for my "skip" button? This can solve my sound of flv player too

Thank you

at the beginning of your code in the first frame, write:

import fl.video.VideoEvent

then change

function instancecomplete(event:Event):void {}

gotoAndStop (3);

}

TO

function instancecomplete(event:__VideoEvent_):void {}

gotoAndStop (3);

}


Tags: Adobe Animate

Similar Questions

  • How to stop Windows 7 opening 'imported photos and videos' after each scan an image?

    I'm scanning multiple images and after EACH scan, Win7 opens a new window "Imported pictures and videos", despite the window being open 20 times already...

    In the import dialog box, deselection 'Open Windows Explorer after import' has no effect.  After each import, a Windows Explorer window appears showing me that the directory of the file has been imported to (i.e. "imported photos and videos").  Worse still, this happens even if another this window is already open - so if (for example), I scan 10 pictures, I have 10 windows explore open all showing this same directory (unless I close them I will).

    It's boring, clutters the taskbar and takes expire have to close each window - how are we going to stop Win 7 "Imported photos and videos" opening after each scan?

    Hello Carl,

    You attempted to change the option to "Open the Windows Explorer after import" while connected as another user on the computer to see if the problem persists?
    Also, have you tried to scan using a different computer to see if we can isolate the problem to a machine?
    If you have checked these things and the behavior has not changed, I suggest to leave feedback for the Windows team at this link as an option behaves as expected:
  • Game "Faery-Legends of Avalon"-"a problem caused the program to stop working correctly, Windows will close the program and notify you if a solution is available.

    I downloaded a game from microsoft called 'Faery-Legends of Avalon', I am currently running Windows 7 Professional. I can't play the game. The game turns on but when it gets to the part where you enter a character name, I get the answer that ' a problem due the program to stop working correctly, Windows go close the program and notify you if a solution is available. . Is this not compatible with windows 7 pro game. I just installed pro about a month ago and this is the first game that I downloaded from the installation.

    Moved from feedback

    Hello

    1. is this problem confined to this game here?

    2. have you checked if the computer meets the system requirements for the game?

    System minimum requirement for the game:

    * Operating system: Windows XP / Windows Vista / Windows 7

    * Processor: Intel Core 2 Duo E6600 2.4 GHz / AMD Athlon 64 X 2 Dual Core 5800 +.

    * Ram memory: 2 GB

    * Of hard disk space: 4.5 GB

    * Video: nVidia GeForce GT 140 / ATI Radeon HD 3870

    * Sound Card: DirectX Compatible

    * DirectX: 9

    * Keyboard / mouse

    If your computer meets the system requirements, then I suggest you to try the following methods and check if it helps.

    Method 1:

    Put the computer in a clean boot state, and then try to play the game and see if the problem still occurs.

    How to troubleshoot a problem by performing a boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: once you have completed troubleshooting, try the procedure described in step 7 to reset the computer to start as usual.

    Method 2:

    Run the scan tool (SFC) System File Checker and check if it helps.

    How to use the tool File Checker system to troubleshoot missing or corrupted on Windows 7 system files: http://support.microsoft.com/kb/929833

    Check the event viewer for the event logs for the exact error message and the cause of the problem. The event viewer will give you all the information about the cause of the problem.

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope the information is useful.

  • I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    Try to uncheck 'use graphics processor' in preferences and restart Photoshop.

  • How to stop a tool to operate on my work, after you're done using it?

    How to stop a tool to operate on my work, after you're done using it?

    Oh. I've got Yosemite and CC, so let's explain how to do this.

    If you are finished using the Brush tool and you do not want to accidentally paint a different picture, simply click on the hand tool and the paint tool will be deselected. You can also use the hotkey "h". When you click and drag on a picture of very large dimensions, the hand tool moves everything.

    When you want your brush to the back, just click on it again.

  • How to fix the windows live mail has stopped working a problem caused the program to stop working correctly windows will close the program and notify you if a solution is available

    In the Middle looking emails from this error appears.  Windows live mail has stopped working a problem caused the program blocking works windows will close the program and notify you if a solution is available

    Hello

    1. do you remember make changes to your computer before this problem?

    Try to start the computer in a clean boot and check if it helps: How to troubleshoot a problem by performing a clean Windows Vista or Windows 7 boot http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 to start the computer in normal startup.

    If the boot fails, you can post your questions about Windows Live Solution Center by clicking on this link: http://windowslivehelp.com/product.aspx?productid=15

  • How to stop more calories of reading on the activity monitor?

    How to stop the calories to be overvalued in the activity monitor?

    Hi Roger

    To help improve the accuracy of estimates of the calories:

    • Check that your personal information is accurate:
      • On your iPhone, in the application of the watch, go to: My Watch (tab) > health > check and, if necessary, change your date of birth, sex, height and weight.
    • Check your privacy settings:
      • On your iPhone, in the application of the watch, go to: My Watch (tab) > privacy > Motion & Fitness > check that heart rate and fitness tracking are both enabled.
    • Calibrate your Apple Watch:
      • Calibration will improve the accuracy of health and activity related to such estimates:
        • Estimates of calories for a workout during the use of the application of the workout.
        • Calories, distance, move and perform estimates in the implementation of the activity.

    More information:

    Calibrate your Apple Watch for better accuracy of training and activity - Apple Support

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

  • laptop stops every time I got close the lid

    Hello

    I have a Presario C700 laptop, whenever I close the lid of the whole computer has recently

    to restart when I open it again. Sometimes a message appears saying its audit of the

    discs, but then the same thing happens right after.

    Help, please!

    Hello

    In the Menu start, open the all programs, open accessories, right-click on command prompt and select "run as Administrator".  In at the prompt, type the following command and press ENTER.

    sfc/scannow                (Note that there is a space between sfc and /)

    Let the entire process, then the output type and press ENTER.

    Then, click on the Start Menu, click computer, left click Local disk C once to highlight, right-click Local disk C and select Properties.  Click the Tools tab and then click on the button "check the drive for errors.  In the next window make sure that both boxes are checked, then click Start.  Part of this process will require a reboot to check the disk.

    When this process is finished, stop the laptop again.  Then typing away to f10 as soon as you press the power button to enter the menu of the bios.  Under Advanced Options or diagnosis tab, you will find the possibility to run tests on the hard drive and memory.  Launch the two tests and post back with the results.

    Kind regards

    DP - K

  • YB 45, when I down load of new emails everyone wonder if it's a spam how to stop this and letting just press the junk e-mail button

    I just down loaded TB 45 and is asking if each email is junk I have to click the no jumk button on everyone. How do I change so I only get the junk e-mail button? Thank you

    This is not sound like Thunderbird. This looks like an add-on, perhaps from an anti virus.

    Please add the troubleshooting information for your post to find troubleshooting information:

    • Open the help (or click Help three-line-icon and select)
    • Choose troubleshooting information
    • Use the copy button in the Clipboard to select them all. Do not check box "include account names!
    • Paste this into your post.
  • How to stop security WARNING pop up all the time to come

    original title: question of security warning

    How to stop security alert pop up coming all the time when you view the web site Clikpic. Whenever I select an image or a page, he asks me to select Yes or no, if I want to see the next page.

    Hi EDeeS,

    The settings Windows 7 UAC (User Account Control) has a slider to change your level of comfort with the notifications. You can choose one of the following four options:

    ·         Always notify me and wait for my reply. UAC (User Account Control) prompt is displayed on the Office secure when a program is trying to install the software or when you or a program tries to change the settings of Windows. If you do not click Yes, after 30 seconds, the UAC (User Account Control) prompt automatically denies the request.

    ·         Always inform me. The UAC (User Account Control) prompt will appear on the desktop when a program tries to install the software or if you or a program changes Windows settings. If you do not click Yes, after 30 seconds the UAC prompt automatically denies the request.

    ·         Notify me only when programs try to make changes to my computer. You are notified only when a program tries to make changes to your computer, including changes to Windows settings.

    ·         Never notify me. This selection disables UAC (User Account Control).

    http://TechNet.Microsoft.com/en-us/library/cc709691 (WS.10) .aspx #BKMK_S2

    Note: You must restart your computer when you turn on or turn off UAC (User Account Control). Change levels of notification does not require that you restart your computer.

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-change-the-behavior-of-user-account-control-by-using-the-slider

    When should I programs to make changes to my computer?

    http://Windows.Microsoft.com/en-za/Windows7/when-should-I-allow-programs-to-make-changes-to-my-computer

  • How to stop objects that are not on the scene that appears in a browser?

    I have text scrolling in my ActionScript 3.0 code and implies the full text of scrolling in from outside the area of the visible scene on the stage, then he again.

    However, when I view it in a web browser all that is outside of the scene is also displayed? How to stop browser view objects outside the scene and only show items when they're onstage?

    Thank you very much.

    Rhys

    If you want just a balance left - right, then just wrap the Flash content in a

    tag and then set it to center alignment.

  • How to stop a test print page whenever the HP psc 1315 printer is turned on?

    Everytime I turn on my HP PSC 1315 printer automatically prints a test page.  How can I turn this off?  At the same time, I was able to print or copy without a first printing test page.

    I also have Windows 7 ultimate installed with a HP PSC 1310.

    He kept printing an alignment at each start page, so I downloaded and installed the installer of HP PSC 1315 all in one series printer:

    Link:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=Al-75052-1&cc=us&DLC=en&LC=en&OS=4063&product=374568&sw_lang=

    This download works for the 1300 series.

    I ran the printer align cartridge utility, page printed, put in the scanner and used the button "scan" as the 'OK' button and it solved the problem.

    Thanks for the tip of the "scan" button

  • How to stop sounds like donald duck - when talking on Skype

    If I talk to someone on Skype our audio vioces like donald duck

    Hello

    1 are you facing this problem on Skype?

    2 has there been any changes made on the computer before the show?

    See the following Help article and check if it helps.

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-sound-problems

    How can I stop my music skip or break down when I play?

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-stop-my-music-from-skipping-or-breaking-up-when-I-play-it

    If the problem persists, then I suggest you to contact Skype to get help.

    https://support.Skype.com/

    It will be useful.

  • How to stop sound no breaks?

    I have a sound I want to play for a random time. I have setup and it plays very well. I was using the. stop() to stop the audio clip. The problem is when I want to play again, it resumes from the collapsed point. So I searched and stop() appears to be nothing more then pause() lol. I was wondering if there is a way to stop the sound clip and return it at the beginning?

    Maybe take a break and go back with

    javax.microedition.media.Player.setMediaTime(long now) throws MediaException
    

    Call with zero (or negative values) will be back at the beginning.

    If it does not throw an exception =)

    Cheers, Barak

  • How to stop sounds of keyboard on an Iconia Tab10 A3 A20FHD?

    Prevents keyboard on an A3-A20-FHD sounds?

    Settings/language & entrance
    on the right side of the keyboard google, there is an icon that will open some keyboard settings, tap that
    Uncheck the box
    Vibrate on keypress
    Sound on keypress

Maybe you are looking for

  • Warranty and OS

    I have Vista OEM. If I remove Vista or install another OS or dual boot can I lost the warranty?If done warranty refers to the operating system? Thank you. Sorry for my English :-)

  • optimization of 3D image redraw expensive?

    Hi all! I have a VI with a 3D picture control. This control is updated, and then set it to redraw 10 times per second. The redraw method is called by: The reference to the control is stored as a control reference generic, then sank to the control of

  • Relaxation and door, timing of the trigger.

  • Windows XP SP3 will not install and repeatedly keep trying with Windows Update

    I've had two months of problems with Windows 7 and had to build a Windows XP machine. I installed Windows XP Pro SP2 on the clean machine and tried to install SP3 I had downloaded and put it on a CD. Installation backed up the existing files and inst

  • Outlook express: "password was rejected"!

    Here is the error message... There was a problem connecting to your e-mail server. Your password was rejected. Account: 'St. Bermea Account', server: 'mail.stbermeahangers.com', Protocol: POP3, server response: '-ERR failed authorization ', Port: 110