Need a clip to loop a few seconds then stop

I am new to this stuff so play nice, please.
I have a movieclip that has about 18 frames.
On the last frame I have a script to goto and play at frame
8.
This works fine.
What I need is to have it keep looping and then stop after
like 10 seconds.
so if someone could edit this code that would be great:
gotoAndPlay(8);
Thanks in advance to anyone who can help.

Put this code in first frame of your animation.
var a = 0;
function time(){
a++
if(a == 10){
stop();
clearInterval(timeInterval);
timeInterval = setInterval(time, 1000); // 1000 = 1 second
I hope this help...

Similar Messages

  • I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    My purpose for copying to a CD or DVD is so that I can make copies and send to friends and relatives. What is the best way to get these files on a CD/DVD with the right codecs?
    The easiest thing to do is to simply tell your friends and relatives to copy the files to their local hard drive before playing them. Your basic problem is that data discs have a limited real time transfer rate. Since you say VLC plays the files fine, I might suspect its player is likely buffering the data while the QT 7 Player is not.
    Data discs made for playback directly from the CD or DVD are normally encoded using MPEG-4/AVC (H.264) video with AAC audio. This is a modern codec which has specific settings to re-package the data (i.e., must be encoded using the multipass option and then select the "optimize for CD/DVD" option).

  • Started downloading CD's to iPod classic. Plenty of spacr left, but Ipod stopped syncing with my music/play list. Sync notification appears for only a few seconds then stops. Sync scroll bar on music/play list never scrolls. Any suggestions?

    Started downloading CD library to iPod. Plenty of space remaining, but it quit syncing with my music/play list. Sync notification appears for only a few seconds then stops. Sync scroll bar on music/play list never starts scrolling. Any suggestions?

    Which version of iTunes and which iPod Classic model are you using?
    Have you tried to Reset the iPod and download again?

  • My youtube videos are only running for a few seconds, then stop.  Is this an issue with my macbook?

    My youtube videos are only running for a few seconds, then stop.  Is this an issue with my macbook?

    Go step by step and test.
    1. System Preferences > Other/ Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
         Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        http://get.adobe.com/flashplayer/?PID=7105813 
        Follow the prompts.
        Quit Safari.
        Restart computer. Relaunch Safari.
    2.  Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.
    3. Check  whether you are currently  in  YouTube HTML 5 trial.
         http://www.youtube.com/html5
        At the bottom  left of the page  uncheck the box beside
       "You are currently in the HTML5 trial".
    4. Reset Safari.
        Click Safari in the menu bar.
        From the drop down select "Reset Safari".
        Click "Reset".
    5. Turn off Extensions, if any.
        Safari > Preferences > Extensions
         Now try YouTube.
    Best.

  • TS1702 Whenever I try to redownload an app from the cloud, it only loads for a few seconds then stops. What do I do?

    The app was having problems, so I deleted it and tried to redownload it from the cloud. It only loads for a few seconds, then quits. I don't really know what to do, help please!

    Never mind!!

  • Ac-adapter plugged, white led on side lights up, pc boots few seconds then stops working

    Hi after plugging in the ac-adapter the white led on the side lights up, pushing the start button boots the laptop but just for a few seconds and it stops working totally. Removing the battery doesn't change a thing. I can detect a light burning smell. Doesn't look promising.... Warranty is no longer available. Wondering what repair could cost.
    -pavilion dv7 1050eb, win7 home premium x64, bought aug 2008

    Please identify your notebook/pc .
    Look at the base/rear/side of the notebook/pc at the barcoded sticker.
    Post items numbered 1 and 2 on the following example of an HP notebook's barcodedimage. Your barcode may be slightly different but will still have the important imformation needed for us to help you.  
    ###Do not post the serial number as it is personal information.###
    Post the installed operating system version ( and whether it is 32 or 64-bit ) and whether the CPU is an AMD or Intel product
    Not posting all of the information as requested will delay our responses and slow troubleshooting of the issue that led you to author a thread.
    Is your notebook/PC still within its warranty period?
    BTW..DC powers the notebook and charges the battery. The external power adapter changes AC into DC.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • HT1267 My iPod player in my iPhone isn't working properly it will play for a few seconds then stop and also the volume level will appear then disappear what can I do to remedy this?

    My iPod player within my iPhone isn't working properly when playing videos it will start then stop after a few seconds and also the sound bar appears then disappears, and when playing music no sound is coming out when I'm on a call I can hear everything properly and also on loud speaker! What can I do to remedy this? Please help!!!

    If you haven't tried it yet, I'd eliminate memory issues first.  Close all of the apps with the double tap on the home button method
    http://support.apple.com/kb/HT5137
    then restart the device.
    http://support.apple.com/kb/HT1430
    My experience has been that this fixes a lot of issues.

  • HT1725 ive purchased a few songs recently, and when i play certain ones back, they only play for a few seconds then stops, what do i do about this?

    Hi, a few of the songs i have purchased recently, only play back for a few seconds, what do i do about this?

    Try to delete the songs (both iTunes and computer) and redownload the songs.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Hope this helps.

  • Widgets work for a few seconds then stop!

    Recently all my widgets, default or notepad3 for example simply stop working after a few seconds in use, has anyone else experienced this, i searched all over and found terminal commands, suggestions to putting prefs in trash but i must be doing something wrong becuase the problem returns again and again.
    can anyone advise
    cheers

    My problem is that i use this widget called notepad 3 and i have multiple copies open with tons of info, i have tried putting the prefs on the desktop to see whether or not notpad 3 will return but un fortunately they where all gone so i will have to back up the info then try this, so ill get back to you soon, THANKS AGAIN FOR THE HELP, VERY MUCH APPRECIATED!

  • Cartoons play a few seconds then stops, then starts, then stops, just started doing this

    My grandson likes to watch a cartoon with me in the evening, suddenly when I bring them up now they start to play, then stops, then starts, this just started happening, my grandson would appreciate any help resolving this.  Thanks

    Check to make sure your video is loading.
    The red indicates what has already played and the white indicated the portion of the video that is loaded but unplayed.  If you have no white bar and the movie plays and then stops it is because your video is having trouble loading in which case you wil want to select a lower quality video by clicking on the gear icon.
    YouTube uses a program called Adobe Flash player to play the cartoons. If your seeing the white bar in front of your video, the first thing I would try would be to remove the Adobe Flash software and reinstall the latsest version. Allow me to explain how to do this:
    Step 1: Download the Adobe Flash uninstaller from here, for help running the uninstaller Adobe has good directions on their website which you can view here.
    Step 2: Once you receive the notice that Adobe Flash player has been successfully removed, download the latest version of Adobe Flash Player here.  If you need help running this installer Adobe again has good insturctions here.
    Once finished, go back to the YouTube cartoon you are having trouble with and let us know if your still having any issues.

  • Videos stop after few seconds then continue

    My system is W7 Home Premium 32 bit and IE 8
    Just recently I find that when I try to play a video clip (generally BBC News
    but also others) the rotating circle of dots displays whilst the video is loading
    but it then plays (sound and vision) for only a few seconds then stops for about
    10 seconds and then resumes playing right through to the end.  If I click on
    'play again' it will play the complete video without any interruption.
    At first I thought this was my system malfunctioning, but having set up a laptop
    for a friend (using W7 Home Premium 63 bit and IE 8) the same thing is happening.
    I am posting to this forum as it seems that many video problems are down to
    aspects/settings of Flash Player.
    All suggestions to resolve this problem greatly appreciated.

    Hi, I am glad you were able to get into the BBC site.  You may probably know that the BBC are
    forbidden to broadcast commercial advertisements in the UK, but I understand they are allowed
    to do so for some of their foreign broadcasts - to recoup some of their expenses.
    It occurs to me that because the news video was preceded by an advertisement, the video had
    enough time to completely download before it started to play.  Does that sound reasonable?
    I get the feeling that my problem is concerned with buffering and the video is starting to play before
    it is completely downloaded; as I said previously, replaying the video (when the whole file is presumably
    in memory) it plays right through without interruption.
    As I stated in my first post, viewing videos on my friend's laptop is also having the same problem.
    Instead of connecting the laptop into a network, I have disconnected my own desktop Ethernet
    connection from my modem and then connected the laptop via the Ethernet.  That means that the
    common things to both systems are the modem and the Internet connection to my ISP, which
    makes me wonder if there is a problem with the modem?  It will be interesting to see what happens
    when I take the laptop back to him and connect via his router.
    Having checked the Shockwave Flash Object I was surprised to find it is version 10.0.045.2
    whereas Adobe's 'about' page informs me that I have version 10.1.102.64 of Adobe Flash Player
    installed.  I understand that Shockwave is installed as part of Flash Player so do not understand
    the discrepancy between versions.  Could the different versions cause a conflict?  However
    my friend's laptop shows 10.1.102.64 for Shockwave and Flash Player.
    The files in the Flash folder are - Flash101.ocx, Flash Install.log, FlashUtil101_ActiveX.dll
    FlashUtil101_ActiveX.exe and install.log
    With regards to streaming another site I go to is EarthCam - http://www.earthcam.com/usa/newyork/timessquare/
    and have no problems watching this.
    Hope you may be able to deduce something from all of the above
    Thanks
    ollyoscar

  • When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    You can take some of the steps here, #4, #5 or even trying a #18
    Step by Step to fix your Mac
    but I suspect your going to first have to create a data recovery drive
    Create a data recovery, undelete boot drive
    to get your data off the machine,
    then do a #20 to eliminate the bad sectors as that's why your getting the "pinwheel" it's getting a delay reading from the drive, right when your trying to log in too, what a bad spot for it to happen.
    Step by Step to fix your Mac

  • I'm conecting my Ipad to the computer to charge and it shows the charging sing for a few seconds then says not charging, do I need to bring it in to get that fixed or is there something I can try to do on my own?

    I'm conecting my Ipad to the computer to charge and it shows the charging sign for a few seconds then says not charging, do I need to bring it in to get that fixed or is there something I can try to do on my own?

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • My Ipod touch is in recovery mode but when I go to restore it in itunes it only stays connected for a few seconds then ejects itself. How do I keep my ipod on long enough to restore it?

    My Ipod touch is in recovery mode but when I go into Itunes to restore it, it will only stay connected for a few seconds then ejects itself from itunes. How do I keep my Ipod connected long enough to go through the restore process?

    Error 1611
    This error typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.

  • HT4863 I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ide

    I sent an email from my iPhone 3GS (via iCloud account) with around 16GB of attachment. It slowed down the phone for a few seconds, then appeared to be sent. However, the message is now not in the sent box, and I can't see an outbox at all. Any ideas?

    That changes things a little bit , login to icloud.com and see if you can find it in your sent folder.
    If it is there you did send, just need to wait until you phone syncs "sent folder" perhaps on wifi.
    If it is not, then I would say it is lost and you may have to send again. They have 20 megs limit, so make sure that message plus attachment is under that limit.

Maybe you are looking for

  • Invoicing plan and framework order

    Dear All SAP Gurus, I am very new to this scenarios .I just read about invoicing plan and FO document type, through that I understand that FO purchase order and MRIS are linked. Still I am very confused about this . My ideas are not clear what is fra

  • Tds cycle mapping and testing

    hi, i have the problem regarding to the tds cycle,so pls inform about the total process of 'TDS CYCLE-MAPPING AND TESTING' REGARDS JANA

  • How to open an .indd file in commands

    does any one know how to open an .indd file in commands from a plugin(without opening from the normal procedure..File -> Open ...) in my plugin I tried,   SDKFileOpenChooser fileChooser; fileChooser.AddAllFiles(); fileChooser.ShowDialog();      It sh

  • ADF Faces or APEX for a lightweight browser-based front end.

    I'm tasked with prototyping a lightweight browser based front end to display consolidated customer information. It needs to be callable from half a dozen disparate and mostly non-Oracle applications. The idea is that each application will have a butt

  • Crystal Reports Enterprise 2011 Crystal Server 2011

    Hi, I have created a ton of reports in Crystal Reports 2011 (Non-Enterprise). I have now installed and configured or at least try to configure the new Server software and Enterprise Edition of Crystal. I am opening my local Crystal Files, they open,