Video stops playing for no reason

I do a banner that has several film clips, sharing the same area, creating Rainbow effects different when different areas (invisible buttons) are speckled on.

First I could not understand if there was a way to have an invisible button over the entire surface that has changed to a different color effect with each mouse above (first mouse on black and white would change to the reds, second would change it to the blues, the third would change it Brown, etc..). Because I couldn't understand this, I settled on the creation of three buttons covering a third of the banner each, so when the mouse enters a button, it turns red, on another button it changes to the blues, in the third it at browns.

The effects are video clips where each image has another band color change so it goes into effect of wave from one to the other and then back to white and black in the same way.  The first frame of each clip I had to turn in a nested movie clip, so I could turn the alpha to 0, because I was going to have these clips of film color effect over the other in the main scenario on different layers, and so you could see the effect, even if it was not this color layer on top. I used the same clip nested with zero alpha for the first frame of each clip color effect (red video clip, clip video blues, etc.), so I don't ' know if this is a problem.

In any case, it seems to work correctly for a while, but after working on it for a little longer (and does not get more because I removed most of the changes I've done), now when I test the movie the mouse above doesn't seem to work properly. It works very well, apparently, for the first time I mouse over each button, but for that it work once again, that I have the mouse on the button twice and then it is paused at random during a part of the clip and I have to move my mouse over to the video to continue.

I can't tell if it's because of video clips that overlap, or because my buttons are confusing, or if my actionscript is messed up, or if the timeline must be longer, or what. The timeline is currently 55 frames, identical to each video clip.

I put a movieclip_instance.stop (); command of the first frame of the main timeline, is there a better way to do so? Should I put the stop command in the clip itself?

Here is an article of my as in the scenario, it is my first time programming ever, in any language, and trying to learn from the internet is more difficult that I thought it would be.

redmovie. Stop();

red_btn.addEventListener (MouseEvent.ROLL_OVER, playRed);

function playRed(event:MouseEvent):void

{

redmovie. Play();

}

I'm not sure what is the problem, so I don't know if this will help or not.  One thing I might suggest is that you use gotoAndPlay (1) instead of play().  In this way, if your movieclip is in the middle of play it won't continue, but will start from the beginning.

You can use a button to have the different movieclips at play in order if you prefer that.  You just need some form of counter that keeps track of who is the next to play. Something like...

var mcCounter:uint = 0; start at 0 because a table is used to identify what movieclip to play

var mcs:Array = new Array (redmovie, bluemovie, brownmovie);

only_btn.addEventListener (MouseEvent.ROLL_OVER, play);

function playMC(event:MouseEvent):void

{

MCS [mcCounter]. Play();                  say the current mc to play

mcCounter += 1;                            increment to the next mc

if(mcCounter == 3) mcCounter = 0;  reset the counter if it exceeds the table

}

Tags: Adobe Animate

Similar Questions

  • Video stops playing after the transition

    I want to embed a video in a Keynote slide so that the video starts to play just after the slide in video. When I play the presentation and advance to the slide video, it plays for 1 second, then stops and the presentation falls back in design mode. I tried different video clips and they all do the same thing.

    The video is a MP4. I can integrate the same video into the Powerpoint presentation and it plays OK.

  • Flash video stops playing after 10-12 seconds

    Not sure when this started, but the videos now only play for about 10-12 seconds at a time. No crashes just breaks down, no errors, and it's only video. I can jump to another point in the video, and it stops after 10-12 seconds from there. I'm on the latest Firefox with the latest version of Flash. I tried to uninstall Flash using the Adobe uninstaller program. I reinstalled with 10.3, 11.2 and later even more once without success. I turned off hardware acceleration, no luck. I manually chose the resolution of the video, no luck. I started in safe mode and activated the plugin Flash, no luck. In any case have ideas?

    I tried the other two, but the Middle, I had not seen. In this page, I found that the HTML5 video play at all. So I checked my display drivers, and they have been of 2011. After their update that the problem is solved, thanks for the help.

  • videos stopped playing

    cannot view photos from Webshots Pro shots weekly
    stop playing YouTube videos
    sytycd videos do not play
    they all play very well IE

    Hi dancehappy, see:

    11.3 Flash does not load video in Firefox

    11.3 Flash crashes

    Your best solution is to downgrade to Flash 10.3, until Adobe released an update to Flash.

    Thank you

  • Videos will play for a few seconds and start the buffering again.

    Buffering

    When I go to watch videos like on MSN or MSNBC buffer? Then play for a few seconds and start

    buffering again. Other Web sites that I can watch the video, but most of the videos to start the buffering. I run Windows Vista.

    Y at - it a cure?

    Thank you-Richard

    When I go to watch videos like on MSN or MSNBC buffer? Then play for a few seconds and start

    buffering again. Other Web sites that I can watch the video, but most of the videos to start the buffering. I run Windows Vista.

    Y at - it a cure?

    Thank you-Richard

    You download the video more slowly as you watch it. So when he says "buffering", he expects to catch up and download what you are willing to watch next.

    This type of internet connection do you have? Dialup? DSL? Cable? Whatever it is, it's too slow for what you do, or do you have some problem that it slows down.

  • Access to another system of Win7 has stopped working for some reason any

    I have 2 systems Win7 Ultimate x 64 on a network. These two systems have been able to share files etc for a while using standard file sharing both in a home network. For some reason, I was on the road for a few weeks and when I came home and connected to the network I am more able to reach other Win7 systems.  I can Ping the systems IP address but not by name (I get the message "Ping request can not find host xxxxx.").  If I do a 'net view', I see the host name but can use net use to access the shared drive (error system 53). Since the home network, I can see the system and open the view which shows the 'Documents', 'Videos' etc., but records by clicking on the folders just returns without having to open the folder.

    Clues as to what perhaps is the problem or how can I do to diagnose the problem.

    Thank you

    Neil

    Neil Lamka

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • videos stop playing

    I need to know how can I fix FLASH PLAYER in my computer?    I have windows XP AND the IE8 HELP, every time Itry to play a video first, but stop after 11 seconds I stopped so that it loads but still doing the same thing, I also try to install the new version but open a window for error, can anyone help me please?

    Hello

    If the video load, runs, then stops and charge again but normally played when it works, which is buffered; which is normally caused by a slow download speed.

    This can help you with Flash:

    Download and run the Flash Player uninstaller program.

    http://helpx.Adobe.com/Flash-Player/KB/uninstall-Flash-Player-Windows.html

    Then download and install Flash Player; After unchecking the option Google toolbar:

    http://get.Adobe.com/flashplayer/?promoid=BUIGP

    If the problem persists, you may want to ask in the Forums of community Flash Player:

    http://forums.Adobe.com/community/flashplayer

    See you soon.

  • Videos stopped playing in safari

    Videos have always played in safari.  All of a sudden stopped.  There is a sign to play with a line going through it now.   Update software, data of the Web site cleared, soft reset iPad. Nothing works

    Have you tried resetting Safari? Go to settings - Safari - clear the history and data from the Web site. After reset iPhone again. You must also make sure if the Internet connection works fine.

  • page stops loading until the cursor is moved, video stops playing while the audio continues until the cursor is moved, WHY?

    Recently updated for Firefox 25, Windows 7 and noticed that the pages load slowly or not at all. I realized, then, that the pages loaded so I had my cursor moving. Similarly, I noticed very well the videos loaded but played audio directly by. The video alone "moved" when the cursor moves. In the contrary case, it freezes. Don't know if it's a hardware problem, but I don't get it on IE. Have tried disabling all add-ons, no change. Have reset FF, no change. Please notify.

    This problem has been fixed in Firefox 25.0.1.

    25.0.1: pages sometimes would not load without first moving a cursor

  • Gallery of Windows stops working for some reason.

    While watching or house keeping in the Gallery of windows, the program suddenly stops responding and closes its doors

    While watching or house keeping in the Gallery of windows, the program suddenly stops responding and closes its doors

    ====================================
    Your photo library database may be corrupted.

    Maybe the following article offers some ideas:

    Stops Windows Live Photo Gallery (944221)
    answer or does not start
    http://support.Microsoft.com/kb/944221/en-us

    For Windows Photo Gallery... just change the path:

    XP
    C:\Documents and Settings\ > user name<\Local>
    Application Data\Microsoft\Windows Photo Gallery

    Vista
    %UserProfile%\AppData\Local\Microsoft\Windows photo Gallery

    After Renaming Pictures.pd4 you will need to re-catalogue
    your photos and some tags may be lost. If the name change
    Pictures.PD4 does not solve the problem... you can delete
    the new Pictures.pd4 file and change the name of the
    origin to Pictures.pd4 and the catalog file should
    be restored.

    In later versions of Windows Live Photo Gallery...
    the name of the file is Pictures.pd5.
    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Stop playing for hot spots

    Captivate 9, I have a slide with 6 hotspots, each linked to an external resource and a next button. I want the user to click on all, some or none of the links they want, and then click next to move on.

    But it does not work like that. Looks like that when they click on an external link second, the slides without them ever clicked Next. Why? I tried to create a hotspot hidden with Pause project until user clicks, but it doesn't seem to change anything.

    I have hot spots to keep a project of game with infinite attempts. I have the next button for infinite and timed attempts to take a break at the end of the slide.

    Subscribe to the option "continue playing project." Have all the hot spots-

    which are probably forms used as buttons - pause at the same time. Break

    the next key can be same time or later.

  • The AV Digital adapters stop working for no reason

    I'm on my 3rd adapter in more than a year, they work for about 5-6 months and then one day I plug it to watch a movie and I get a message this device may not work properly, and that of all, no more signals no matter what I do. I have to go and buy a new one.

    You may want something like that

    http://www.Apple.com/shop/product/MD098AM/A/Apple-Digital-AV-adapter

  • Network bridge Xbox 360 stopped working for some reason.

    Yesterday (February 18, 2013), I had no trouble connecting my Xbox to the internet via a network bridge that I made in December, using an Ethernet cable to connect the Xbox to my laptop. Today, however, no change in my computer since before the last time that it has been connected, my Xbox could not connect to the network when I tested the connection, after he already not be connected to Xbox Live when it starts, and he says that this is due to an error in IP address. After some trial and error with some of the suggestions, both the xbox and its support page (www.xbox.com/ipaddress-help), I have had no progress with this problem. I follow in mind this could be a temporary glitch in the internet and the network which can resolve itself, as these things do sometimes, but if not I would like to know how to fix the problem myself.

    Hello

    If I understand correctly you have tried the steps in the article to help Xbox and it did not help to solve the problem.

    Unfortunately, we will not be able to help you with this question. As the Xbox support team will be better suited to handling this problem please contact them for assistance.

    http://support.Xbox.com/en-us/contact-us?XR=footnav

    It will be useful.

  • My external drive stopped working for unknown reasons,

    It reads in RAW format, I tried to reformat, but it says "unable to complete format" ive downloaded programs to force reformat it without success, tried to repartition it. Help? advice? something ill try anything to save my hard drive portable 500 GB wd, ive downloaded test disk and accidentally changed the cylinders and don't remember what the correct setting has been, I assumed because the fix has not worked would not save my error.

    Hello

    1. have you tried to connect the hard drive on another computer?
    2. other USB devices work well?
    3. the USB external hard drive works in Mode safe?
    4. can you see the external hard drive USB in Device Manager?

    You may have performed the steps in the following article.
    Check a drive for errors
    Important: when running chkdsk on the drive hard if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost.
     
    It will be useful.
  • I was put on hold with customer service for half an hour only to be directed on the forums. Wow. My license key for Windows CS6 has suddenly stop working for no reason and now considers all my programs for free trials and refuses to recognize the key

    Suddenly, she considers the invalid key in spite of owning for almost 3 years. Anything I can do to make it work again?

    Hello

    My apologies for the inconvenience, please see the following links:

    Invalid serial number error

    Warning: "Adobe software real failure of Validation...". » | Windows

    Failure audit download or installation. CS6

    Let us know if that helps.

    Kind regards

    Bani

Maybe you are looking for

  • Help with folder to playlist

    Hello I have recently started using iTunes and have been transferring my folders with music in the playlists in iTunes using the method by Meg St._Clair in this forum... Import files into playlists His summer work well, except a few times 1 song is a

  • Bluetooth connection is no longer

    Hello world I'm currently under that Vista Ultimate completely up-to-date (03/15/10) on my Acer 5680. I've been running my mouse Mogo (BT) for months now without any problems. But for some reason my bluetooth is now unable to find the devices either.

  • MSN Explorer

    So I installed Windows 7 on my machine of grandmothers. She is really tied to the focus of MSN Explorer. (since the time of its first computer with Windows 98 Second edition on it). Although on the last 10 years, she had 3 computers and went through

  • Use the accelerometer in BB10

    I want to create a game that will respond to the inclination of the unit BB10 (interaction almost similar to the classic maze game). I want to undretsand if possible in BB10 using AIR SDK, I guess that it requires accelerometer but I couldn't get the

  • Where should I go in Windows 7 to find all programs, files that I have on my machine?

    I use to be able to find them on XP. Don't know where to go in Windows 7.