Go to (forward) 1 second in timeline every time you click?

Trying to figure this out. I want to do an action in the Stage where everytime you use the keydown action for a certain key, the timeline moves forward 1 second (1000) every single time. I'm trying to figure out how to use something along the lines of currentFrame + 1000. Something like this:
if (e.which == 32) {
    sym.stop(currentFrame+1000);
which i realize is wrong. So what's right?

sorry you need a stop();
timelinePos=0;
$(window).keydown(function(e) {
  if(e.keyCode == 32) {
          var timelinePos = sym.getPosition();
    sym.stop(timelinePos+1000);
    sym.$('Text').html(timelinePos);
sample:
https://app.box.com/s/068vx5x6lj5t2yydrx17

Similar Messages

  • New popup window every time you click the link

    Hi
    here is the code iam using.
    function popupform(myform,windowname)
    if (! window.focus)return true;
    window.open('','_blank', 'width=500,height=400,left=0,top=0,resizable=yes,scrollbars=yes');
    myform.target='_blank';
    return true;
         <a class=search href="<%= rs.getString(1)%>"
    onclick=" return popupform(this,'Win1') ">
    I wnat to popup a new window Every time i click the link .ie. if I click ntimes,n windows should be opened in the screen.

    Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • HT1338 My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds. Can you help me?

    My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds before the screen changes. This has been happening the past 24 hours. Any ideas?

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • My Ipod is messed up. Every time i click the top button it just flashes the apple sign for like 5 seconds and then goes off and just continues to do that. help?

    My Ipod is messed up. Every time i click the top button it just flashes the apple sign for like 5 seconds and then goes off and just continues to do that.Can someone please help?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • My iPad 2 lost its mail after I upgraded to IOS8. It crashes every time I click on mail. Yet, I can send photos and forward things in outgoing mail.

    Lost my mail
    after I upgraded to IOS8. It crashes every time I click on mail. Yet, I can send photos and forward things in outgoing mail. how to restore?

    Answering my own question here. It's fixed! Another user recommended I switch to another wireless network then back to mine. And it worked! Mail is sending again with no problem.

  • On opening and every time I click the home icon, a second tab opens entitled "customizing firefoxx with add-ons

    I tried uninstall and reinstall of Firefox but the pesky tab still opens every time I click the home icon. To make it worse I get a new tab every time which means I can have multiple customizing tabs opening during a single session. How can I stop this happening?

    In Options/General you must have more than one Home page selected.
    More about Options here. [[Options window - General panel]]

  • Content in Container Moves every time I click

    Hi!
      I have created a project that calls a symbol into a container, and when the user clicks, the content gets loaded into the container. However, every time I click the button, it moves the container/content down about 25 pixels.
      I have tried in Firefox and Chrome, it works better in FF, but also the same problem occurs in Chrome.
      If anyone knows why this is happening, I would greatly appreciate any help. Thank you!
    Link to project: http://adobe.ly/1mbxreo

    It is not moving, but actually replicating the symbol on every click. So you click once, it appears fine, click a second time, you see the symbol instance appear below, the first appearance because the first symbol instance is still there.
    You need to destroy it or delete the original instance in order for the same click operation to occupy the same space.
    Enter Symbol Edit Mode for hashtagButton
    Enter Timeline Action Mode by clicking the {} as captured;
    Click the + and choose 'Complete' event handler;
    Then in the Code window enter sym.deleteSymbol();
    hth
    Darrell

  • I upgraded my imac to snow leopard and now every time I click the mouse I get the spinning wheel of death

    One morning a week ago I got the "White Screen Of Death" and my desktop imac wouldn't load so mac support told me I had to erase my history and upload imac again. We went through every senario to get it to work to no avai. I had a snow leopard disc so I uploaded that as well. In the last few days I click on my mouse and I get the "Spinning Ball Of Death" most every time I click. It lasts for about 5 - 20 seconds every time. I am not a "techie" at all. Is there any way to stop this. I am not sure what could be causing this. I erased my browers cache on Safari and that didn't help. I also turned the comp. off then back on and that didn't work either. Any advice would be greatly appreciated. Step by step how to's? I am not totally ignorant in computer speak but not an expert by any means. Thanks!

    Greetings,
    What do you mean by "events to update"?  Do you mean invites to new events or changes to existing invites?
    Troubleshooting:
    1. Your profile indicates you are running 10.6.7, 10.6.8 is the current version Apple > Software update.
    2. First make an iCal backup:  Click on each calendar on the left hand side of iCal 1 at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    ---NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps!

  • I own fully paid for license for Dreamweaver CS6. Every time I click to open the app, I get a very annoying pop-up message. How do I stop it?

    I own fully paid for license for a Mac version of Dreamweaver cs6. Every time I click to open the app, and before I can start using CS6, I get a very annoying pop-up message (see screen shot below) that states I have a trial version and do I want to buy into the cloud version, which I don't.  How do I stop the pop-up? This message seems to originate from the Extension Manager.
    I tried trashing Extension Manager, but another annoying pops-up which states that I have to "reinstall the application manager". Of course, there is no such thing as a "application manager" that I can find. I guess it should be "extension manager".
    I no longer own Photoshop because there are so many great alternatives available. Can't wait to do the same with Dreamweaver.
    Adobe can't even get the correct cost. I'm an US Customer however they quote the Creative Cloud in Euros. Go figure........

    I have faced this problem in the past.  In my case, I had Adobe registered under two separate ID.  One when a student and the second as a regular employed individual.  Because I purchased the licensed while at the University, the registration was listed under the school id. So, when I login in Adobe using my regular ID, I then received the annoying marketing campaign add.
    Therefore, review that you have enter the correct id during loging. IT is possible that you login to the community as one ID but purchased the subscription using a separate user name. In these cases, the computer will not know that you already have a paying license.

  • My itunes radio app crashes every time i click on the regional mexicano station , what is wrong?????,

    my i tunes radio app crashes every time i click on the regional mexicano station, also, randomly while i am playing on my phone, the screen turns white the apple logo appears and 3-4 seconds later i an taken to the lock screen, what is wrong, is it the iphonr, or is it just a bug that can be fixed in later ios versions????     

    please install latest version of Roboform 7.6.2 and try
    * www.roboform.com/support/news

  • Hangs every time I click on a link

    It appears that every time I clicked a link in Firefox, it would just hang. It didn't matter which website I was going to, the second I clicked on something, it would hang. I even tried to ask a question about it here using Firefox and it hung when I clicked the "submit" button. This is my 57934th attempt to ask this question

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.
    Also, if you have some kind of security software installed which scans links like AVG Safe Search, AVG Link Scanner, McAfee Secure Search, McAfee Site Advisor, or some other kind of anti-phishing tool, try disabling it.

  • I am getting a the same popup video every time I click on a link

    Every time I click on a link I get the same video that pops up?  Is there a setting or something to prevent this or do I have a more serious issue?

    Clear Safari and restart the iPad.
    Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or quit Safari completely and reboot the iPad. Quit the app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Every time i click the icon iTunes never works

    every time i click iTunes it never opens, what should i do?

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Every time I click the camera button it never works what should I do?

    Every time I click the camera button it never works what should I do?

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • My iphone 5s restarts every time I click on an app

    Every time I click on an app my iphone 5s restarts all by it self 
    Should I call apple support and see if I can get a new one?

    Try a Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    If no joy...
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

Maybe you are looking for