Download the video

Hi all

I have a simple film with a button "play", what makes a movie about a label, where I have a video game, which is loaded via the component. I also have a stop button, which goes to the first image, giving an illusion of video stop. Here's the script:

Stop();
close_btn. Visible = false;

play_btn.addEventListener (MouseEvent.MOUSE_DOWN, playMovie);
close_btn.addEventListener (MouseEvent.MOUSE_DOWN, stopMovie);

function playMovie(event:MouseEvent):void {}
trace ("Play!");
gotoAndPlay ("start");
play_btn. Visible = false;
close_btn. Visible = true;
}

function stopMovie(event:MouseEvent):void {}
trace ("Stop!");
gotoAndPlay ("stop");
close_btn. Visible = false;
play_btn. Visible = true;
}

The problem is that when I go to the first image, even if the video isn't there, the sound continues to play. Can someone please help me on how to stop the sound... I guess I need to delete the video completely, however, I don't know how to do this with a component. Any help would be great appreciated. Thank you advance!

use:

Stop();
close_btn. Visible = false;

play_btn.addEventListener (MouseEvent.MOUSE_DOWN, playMovie);
close_btn.addEventListener (MouseEvent.MOUSE_DOWN, stopMovie);

function playMovie(event:MouseEvent):void {}
trace ("Play!");
gotoAndPlay ("start");
play_btn. Visible = false;
close_btn. Visible = true;
}

function stopMovie(event:MouseEvent):void {}

SoundMixer.stopAll ();

or explicitly stopped playing your video


trace ("Stop!");
gotoAndPlay ("stop");
close_btn. Visible = false;
play_btn. Visible = true;
}

Tags: Adobe Animate

Similar Questions

  • When I click on "download video" on a TED talk, the video plays right outside, but I would like to download the video to play offline how can I do this?

    If I try 'right click' (i.e. holding the button for a few seconds) the button 'Download video', the only result is that the text of the button is selected. So, I don't know how to download the video for offline reading in my Android phone 4.2.2.

    "right click" (that is, for a long time by tapping the button) 'Download video' has not helped, but I have now managed to download the video just by 'clicking' (that is, threads) this button. I think that it is perhaps due to a recent update of Firefox for Android. Thank you for your time!

  • downloaded the video have no sound. Can someone help me please

    the video uploaded from my phone have no sound

    Hello

    1. what operating system you are using on the computer?

    2 is that the problem is specific to this particular video or videos?

    3. you receive an error code / message when you play the video?

    4. When you have downloaded the videos?

    5. what program you are using to view the videos?

    6. do you have the sounds on the computer?

    Additional information on the question for you help the better. See the article below.

    Suggestions for a question on the help forums
    http://support.Microsoft.com/kb/555375

  • I'm unable to download the video driver for an Aspire 7540 - download is infected

    I'm unable to download the video driver for an Aspire 7540, because the download is infected. Who can be contacted to alert their site Acer seems to have infected files? I checked for a link to the webmaster but could not find one.

    Hi Simon,.

    The ATI for the Aspire 7540 driver was released over 6 years ago and has been downloaded tens of thousands of times. I downloaded and tested the file on our network of company without problem. I think that you can experience a false positive if your anti-virus is indicating that he has a problem.

    Cory

  • Download the video in MPG format to iCloud photo library

    Is it possible to download a video file, MPG to a Mac to iCloud photo library?

    I stopped using iCloud photo library on the Mac due to low disk space, however I always use iCloud photo library on other devices and would like to have the video available here. I tried to use the web interface to iCloud by using Safari, but I get a message that the format is not supported

    I guess I could convert the file in another format, however, I do not want 3rd party applications on my Mac, and I worry about compromising video quality. Is the other way to do this? Could using Photos (1.5) on the Mac and the activation of my photo stream get the video to appear in the photo library of iCloud?

    As we told you MPG is not a format alternative for ICPL

    Types of files that you can use with iCloud photo library

    Your photos and videos are stored in iCloud, exactly as you took them. All your images are in their original format in full resolution, JPEG, RAW, PNG, GIF, TIFF, and MP4, as well as special formats capture you with your iPhone, like slo - mo, Time lapse video 4K and Live Photos.

    iCloud photo library - Apple Support

    LN

  • Download the video in Firefox, open and play

    What's the trick to download a video to my host server, it is open in a window and have it start playing? FF wants to download the entire video before you begin.

    http://www.northbayedu.org/images/video/Curriculum_Meeting.MP4

    I think that what I'm looking for here is to have the link on my site, have the user click on the link and open in a new window. Not sure if it's quite clear, but I think you get the idea. Basically they start broadcasting on its own.

    Thank you
    Mark

    This MP4 file is send as "Content-Type: application/octet-stream".
    '' and who made Firefox to display a download dialog box, unless the file is embedded in an object or embed tag.

  • Why doesn't my realplayer download the video in mp4 format

    Why realplayer does download that videos in mp4 instead of flv formats please?

    I'm having exactly the same problem with mine, I used real player/download from windows 98 and since Ive had on Win 7 Ultimate, it works fine, it downloads in MP4 or FLV format (depending on the video) until about a week ago. I downloaded videos on You Tube for some reason, they are all uploaded in MP4, and when I went to watch later, (I think it was actually VLC who told me) but it says that 2 of them had no video in them and just like you, Real player will not play them, VLC will be no more , or FLV player, Windows Media, DivX or QuickTime will not... So im starting to think that maybe it's a problem to You Tube?

  • Show and share: download the video with the link URL

    Hi all

    It is used to add the video which is in the external server? Can you give me an example to send video in SnS with URL link? My system has Wowza streaming server.

    Thank you.

    Bintasan Mokkamakkul

    Basically, when you want to add\upload a video to show and share you can simpy:

    1. download the file itself

    2. use a URL where the video content.  It is usually a url of the WEB server.

    such as:

    http://webserver.company.com/videos/movietrailer.FLV

  • I want to watch my Canon HV20 video without downloading the video. Can I do this? How?

    I have a dell latitude E6420 with windows 7 Pro Office.  I have a Canon HV20 Camcorder.  I am connected between the two with an express firewire card.  The app from machine to machine and the film see the camera, no problem.  When I connect the video screen capture appears without a problem and I can see the video on the tape.  I want to do is watch the video without download.  I want to watch the video on the laptop, just as I watched him if the device is connected to my TV.  I saw something on the use of a camcorder as a webcam.  Would you do that?  Thanks in advance for your answer.

    INSTALLS

    Stanley thank you for your answer.  I'll try and find a canon forum.  During this time.  I don't have any software Cannon installed on my laptop.  It's a new laptop and an older camcorder.  Is the software you MENTION provides the functionality I'm looking for?  Thank you

    It can: rather than having none of the supported software to those who have made the material.   ;-)
     
    The software is located on the web page I linked to...
    http://www.USA.Canon.com/Cusa/support/consumer/camcorders/high_definition_camcorders/vixia_hv20

  • Download the video does not

    Try to download a video. When I click on license, no download occurs. So far I've been charged twice for the same video but not download.

    Hi Adam,.

    I gave you a replacement for one license of that made you pay twice. Could you please clear your browser history/cache and restart the browser? After you connect to Adobe Stock and try again. You should not be required to buy the video again. Please be aware that if you buy or license for an article that you have a license and we do know. Looks like you may have found a bug.

    EBQ

  • How to download the video file on Lightroom Mobile?

    Hi all

    I'm trying to download my pictures and video to the Mobile with Lightroom, but the video was never synced to Lightroom Mobile on my iPad.

    I wonder if Lightroom Mobile supports synchronization video or just still a picture only. I've been looking for the answer for days, but I still couldn't be able to find the answer. I hope someone can help. Thank you very much.

    No, video may not be synchronized to Lightroom Mobile right now.

  • Publish on YouTube: "error when downloading the video.

    I can't post a video on YouTube. When I try to publish the project, video editor is capable of producing the video and then I see the progress bar for the download of YouTube, but then invariably I get an error that reads "error encountered during the download of video.

    captivate error.jpg

    Running Adobe Captivate 5.5 on Windows 7, 60 Mbs cable internet connection. I have no problem with the network, the internet connection is fine.

    I tried to go in the Adobe Captivate AppData folder under my user name and trashing the Captivate 5.5 folder, reset all my preferences. I get this error pretty regularly, and it worked in the past. But not for this video. It's not too large - 22 slides, 4 minutes in length, 4 MB of files. I tried to create a new project and copy and paste the slides from the original, but I still get the error. I have tried to install Captivate 5.5 on a virtual machine Windows 7 newly installed (and updated), copy the file to him and publish from there - same error.

    I was able to work around this problem in the past of trashing the file I mentioned above - is embarrassing enough because I have to configure everything again. But at least it worked. Now I'm stuck.

    I tried to call tech support on this issue, and they advised me to try to screw up the folder.  But beyond that, they had all the ideas.

    Anyone has any ideas what to do?  Anyone else has this problem by publishing on YouTube?

    Jason

    As an experiment, try to change your title for something that contains only letters (no punctuation or hyphens), does not begin with a number and has underscores instead of spaces.

    See if you are able to then publish correctly.

  • I need to download the videos?

    Hi there, Adobe provides enormous resources for us to learn more about Flex, but they forget the people like who uses still a dial-in order to watch these videos. Watch them so are really painful. Where could I download this videos and also the pleasure of learning?

    For those who want to download videos easily:
    1. use Firefox to browse the tutorial page
    2. download the FlashGot extension for firefox ( http://www.flashgot.net/)
    3. If you click on a video it opens in a new window, at the bottom of the player window (low status bar to the right) a small diskette wil icon flashes, this way FlashGot inform you about the downloadable video file (in flv format)

    I propose also nice for work two app:
    1 Bitdownloader (www.orbitdownloader.com)-> FlashGot can transfer the download tasks to this Manager download and this way the downloads mutch more fast (because of the multi thread download)
    2. KMplayer ( http://www.kmplayer.com/forums/showthread.php?t=4094) -> a playet free medai multiplatform and multilingual to view flv files downloaded

    Those who want to download the pdf file, I suggest another Firefox extension:
    Download in format PDF (https://addons.mozilla.org/en-US/firefox/addon/636)-> with this plugin, when you click a pdf file (exatly a link to a pdf file) a question apears Panel, and you can choose to download the file. (his more quickly, that wait for acrobat reader to open them and then use the Save function under)

    Hope this is help for you.

    P.s.:
    Sorry for my bad English

    Kind regards
    Peter

  • I download the video from the cloud, and he just Gray with no inside pictures.

    I see media in the sidebar to iMovie on my iPad pro. When I select a video clip, it must first download it. before it downloads I can see what is in the clip. After downloading, it goes gray. also, nothing ever appears in the section overview top of page. Help please

    If you add the clip to the timeline of a project, he brings up and play?

  • Using Windows Media Player to download the video in an Apple ITouch/IPod

    Help! Is it possible, using the 'Sync' feature to download video stored in Windows Media Player in an apple ITouch/IPod? I tried to create a playlist, and then using the synchronization function, but it doesn't seem to work. Help, please!

    Hi Yosimitesam36,

    Windows Media Player is not compatible with the iPod. You may need to purchase a plug-in to sync the IPod to your windows media player.

    Or you need to get help from Apple try to download iTunes from the IPod website:

    www.Apple.com/support/

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • The small screen on my Satellite M size

    Hi you all, AIDS. About the smaller screen size, it's all the time when I use it. Now, I can increase to full size by as I said clicking on display then full screen. But when I start my laptop again after the judgment or the closure of the window I w

  • Intel iMac restart

    I unplugged my iMac as it ran, it does not restart. Unplugged the power cord, waited fifteen seconds, reconnect the power cord, wait five seconds, and then you press the power button / stop. Nothing!

  • How not to set default PFI as inputs to the and door to the counter 0?

    Hi, community of NOR. I have problems on a DAQ 6212 trying to serve in the PFI12 and PFI13 and door of the input for the meter to 0 signals. My application must simply measure the time difference between the two edges of awareness of two signals atta

  • Printing blank pages to 5515 HP all-in-one (cartridges have been replaced - HP 364)

    Hello.  My HP 5515 has begun to print blank pages, even though I just changed the cartridges of printers.  This seems to be produced printed middle and nothing I do does not work (IE cleaning cartridges and metal connectors).  I also tested the copy

  • make an album

    I'm putting my (stored in my pictures) photos in an album. I know how to make a new folder, as soon as I did this, how can I get the pictures in the folder?