Syntax to keep adding 1 to a Variable

This is driving me nuts. I am trying to add 1 to my variable everytime it is moused over. I had the syntax correct at one point, but now I cannot for the life of me get it right.
So on frame 0 of my animation I have:
sym.setVariable("myVar", 0);//Sets Variable myVar to 0
On my mouseOver I am trying to get that value to be a ++ but my syntax is off.
I have tried this:
sym.setVariable("myVar" ++);//Adds 1 to the value of Variable myVar
Doesn't seem to work. I've tried it with a comma without quotes you name it. Wish I could find some documentation beyond this page for syntax:
http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html

I appreciate the help, but your code doesn't work for me. Also according to this page:
http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html
You should put "var" in front of variable names.
DO
var myVar = "This is scoped and should not conflict with other code.";
AVOID
myVar = "this is global and might conflict with other code in the page";

Similar Messages

  • Visual Studio keeps adding SharePoint features when opening a solution

    Hello everybody. 
    I'm facing a rather naughty problem. In a Windows 2012 environment (hosted inside an Azure virtual machine), with SharePoint installed, I created a VS SharePoint on-premise solution. I added a feature, and started adding lists, libraries, site columns, layout
    pages and such. At one point, every time I added a new list definition, the VS would create me a new feature. Which is not what I wanted, so I manually deleted the new feature and added the list to the first feature. No matter how much I try, VS keeps adding
    features instead of using the one I already got. 
    But that's a minor problem. After a while of adding lists, I did a check in to my TFS and closed the VS. After a couple of days, I open the VS again, and without a warning VS checked out the solution, checked out my only feature, removed the lists from it
    and created one feature for each library. I ended up with feature2.feature, feature3.feature, ..., feature50.feature files!!! Insane!!! I had to manually delete them and re-add them to my first feature. 
    Now I can't turn VS off without having this mess all over again. Why on Earth would somebody program VS to do this? Is there any way to turn this behaviour off?
    Thanks in advance!
    [Edit] Forgot to mention that I'm working with Visual Studio 2013.
    Fernando A. Gómez F.
    fermasmas.wordpress.com
    Galería de ejemplos

    Hi Fernando,
    Thank you for posting in MSND forum.
    Based on your issue, could you please tell me what template sharepoint project you create in VS2013?
    In addition, I find a similar thread about your issue, please refer the Xiaoying’s reply to check this issue.
    http://stackoverflow.com/questions/25857722/visual-studio-unexpectedly-adding-feature-on-load
    Or you could try to download a new sharepoint template in this VS2013 and then create it check if you still get the issue.
    I suggest you could try to create a same sharepoint project template from VS2013 on another machine and then check this issue again.
    If you have any update message, please feel free to let me know.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Expression question: keep adding to value

    Hi!
    I want to animate the cameras z-position based on an audio track. I have converted the audio to keyframes, but now I'm stuck trying to figure out how to feed the audio peak values to the cameras z-position so that they keep adding to each other.
    Simply linking the camera z-position to the keyframe data will make the camera fly back and forth, but I need it to keep going forward in a pulsating motion. So when there is a peak in the audio amplitude, the camera moves more rapidly forward and when there is a flat waveform the camera stays put or moves only slightly.
    Is this possible to do?

    This Position expression should work. Adjust mult to set the sensitivity (how much it moves in response to the audio) and minVal to set how much it moves when there is no audio.
    mult = 10;
    minVal = 5;
    L = thisComp.layer("Audio Amplitude");
    aud = L.effect("Both Channels")("Slider");
    accum = 0;
    for (f = timeToFrames(inPoint); f <= timeToFrames(); f++){
      accum += Math.max(aud.valueAtTime(framesToTime(f)),minVal);
    value + [0,0,accum*mult]
    If you have separated the Camera's dimensions, change the last line to this to make it suitable for Z Position:
    value + accum*mult
    Dan

  • The files in download folder keeps adding _b to the file name

    I have a strange problem when downloading files on my Macbook Pro(running Mavericks). The name of the files being downloaded or already downloaded to the Download folder keep growing like this:
    Say for a file called My_file_name.zip, the system keeps adding _b to the name, it becomes
    My_file_name_b_b_b_b...._b.zip.
    And for big files, frequently I get the error message saying the file could not be downloaded due because there is no enough disk space. However the file is infact downloaded. I just need to highlight the .download and select Show Package Content, and copy the real file out of it. Howerer this is very annoying.
    This problems seems only happens when download files to the default Downoad folder. When downloading to other user selected folders, everything works fine, Please help if you know how to fix this issue.
    Thanks

    I get the error message saying the file could not be downloaded due because there is no enough disk space.
    How large is your HD and how much space do you have left?

  • Apps keep adding themselves back onto icloud backup

    Really annoying problem because ill get emails from icloud saying the backup is almost full , upon checking the backup page and what apps are backed up . I keep finding that my winzip app , adobe reader, and another app keep adding themselves back onto the list despite me constantly selecting them off. The third app collects some 800 mb of data but none of it is needed to be backed up since its all profiles and stuff.
    Any solutions?

    Apps are NEVER backed up to iCloud. Neither is Music or Videos. So Apps are not what is taking up your iCloud storage.
    Apps, music and videos don't need to be backed up, because they can be downloaded again any time they are needed.

  • ICloud/iMatch keeps adding duplicates to my iTunes music folder?  What's going on? What am I doing wrong?

    Every time I open iTunes, iMatch keeps adding duplicates for some -- not all -- of the files in my music folder.  Each gets a little cloud-with-exclamation-point next to the duplicate. If I manually remove them, they pop up again the next time I open iTunes. The actual files are not duplicated in my local music folders.
    What am I doing wrong? Could it be related to the Error 50 message (Cannot save library) I get sometimes.  I uninstalled and reinstalled iTunes, which stopped that message for a few weeks, but now it's reappearing after I manually deleted  all the duplicates. 
    This is driving me crazy.

    What have you tried?
    You opened itunes?
    Connected ipad?
    Went to the music tab?
    Selected sync music and selected the music to sync?
    Synced?

  • IPad keeps adding numbers to account

    I share the iCloud with my family members. There are 5 of us. One iPad keeps adding phone numbers and email addresses that I unclick again and again (so as not to receive the various messages/facetime calls of different iphones/ipads from this device) from iCloud account to the iMessages and Facetime. Why does it not seem to get the message that i DON'T want that device to be able to receive and send messages from the different numbers? PLEASE HELP

    This may help you set up the iPads so this doesn't happen anymore
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How can i keep adding files to a dvd on my iMac?  it keeps locking the disc when i put a file on it by saying the disc is full

    how can i keep adding files to a dvd on my iMac?  it keeps locking the disc when i put a file on it by saying the disc is ful

    Take a look at this link, https://discussions.apple.com/thread/2079043

  • Camera raw filter keeps adding sharpening when I  open the image

    camera raw filter keeps adding sharpening when I  open the image although there are no presets and all sharpening sliders set to zero- this doesn't happen with the same set up on my imac- Ps cc 2014 osx 10.9.5- can anyone help me turn this off, I've reloaded  and update the Ps cc 2014

    Thanks for the reply - the problem isn't with ACR itself but the new Camera Raw filter available in photoshop CC 2014 in the filters selection, this doesn't seem to include the workflow options that you get at the bottom of the normal ACR window-  it's a really handy filter for quick final adjustments but on my Macbook keeps adding sharpening even when the sliders are at zero. Is there a workflow option menu for this filter ? Something strange going on somewhere- thanks again for the reply , Tom

  • Dear Adobe, it's great you keep adding new features, but what about ...

    Dear Adobe,
    It's great you keep adding shiny new "newsworthy" features ... but what about fixing long-standing bugs/issues and addressing the basics that have been missing since the the beginning?
    WHAT ABOUT LEAVING PASTED CLIPS SELECTED after a Paste operation in the Timeline?!? Like every other app in the world?
    What about leaving a complex selection of clips intact after an UNDO operation? (This costs me hundreds of minutes a week.) Like every other app in the world?
    What about allowing "." as an abbreviation for "00" when entering timecode?
    What about letting the renaming of a clip in a bin be reflected in timelines?
    What about a "reduce project" option? (To remove all items not used by selected sequences, like Ae.)
    What about actually useful clip labels (colors) which link between timeline items and their respective clips in the bin? (Like Avid & FCP) So we can mark certain clips a certain color in a bin and have that color be reflected in timelines?
    What about being able to close the title tool with a shortcut, not just a tiny 4x4 button?
    What about fixing the title tool so it's kerning/leading shortcuts are NOT the exact opposite of EVERY OTHER CC application?
    What about a simple "Select Media Relatives" command, like in FCP and Avid?
    What about fixing the audio scrub toggle shortcut so that it works without having to play or use the mouse?
    What about a shortcut for "Reveal in Finder" from the Timeline? It's in the context menu -- why no shortcut?

    I am curious about the time you waste ...and wonder what and why you are doing it... that causes this loss of efficiency.
    2. What about leaving a complex selection of clips intact after an UNDO operation? (This costs me hundreds of minutes a week.) Like every other app in the world?
    Maybe  there is a better way !

  • When I launch my iCal it keeps "adding a new event" over and over

    When I launch my iCal it keeps "adding a new event" over and over and over. It never lets me actually get into the iCal aplication? is there a way I can clear and reset mt iCal calender?

    Greetings William,
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    --- 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.

  • Dreamweaver CS4 keeps adding tr to my code..

    Hello,
    I have Dreamweaver CS4 Version 10.0 build 4117.  I am coding with ColdFusion and Dreamweaver keeps adding errant <tr > tags to my code.  I have even identified this in 3 different files at the exact line in which it adds the <tr > tag.  WTF?
    Can someone at adobe fix this?

    Usually that type of thing happens when you have an error somewhere in your html that DW is trying to correct for you.
    Run your page in the validator at http://validator.w3.org to see if you're missing something that DW is trying to fix.
    You may also want to check your settings under Edit > Preferences > Code Rewriting > uncheck invalidly nested and unclosed tags

  • Importing Audiobooks from CDs - keeps adding as music CDs

    Hi,
    I am trying to add some audiobooks that I have on CD to iTunes, it keeps adding them as music cds rather than as audiobooks, does anyone know how I can get them to import as audiobooks? Is there a setting that I need to change or anything like that?
    Any help greatly recieved.
    Coffee.

    You may find these links on audio books and iTunes helpful:
    http://aldoblog.com/audiobooks/itunes/
    http://oakroadsystems.com/genl/itunsabk.htm

  • ICloud keeps adding same contact over and over. How do I stop it? 4,600 duplicates in less than 24 hours and counting.

    I added a contact on my Mac Mini yesterday and it keeps adding the same contact over and over.. up to 4,600 duplicates and counting.. How do I stop it?
    Here was the exact sequence.
    1. Added a contact in Contacts.app on my Mac running OSX Mavericks 10.9
    2. Contact was added to Contacts.app successfully.
    3. Noticed only one contact in Contacts.app on Mac.
    4. Opened Contacts on my iPhone 5S running 7.0.4 and searched for contact.
    5. Noticed duplicates in Contacts on my iPhone 5S.
    6. Looked at Contacts.app on Mac, Still only one.
    7. Checked iPhone again, noticed several more contacts added and the data spin icon working in the status bar and more being added as I was watching.
    8. Opened icloud via web browser, noticed same thing in the Contacts section.
    9. Shutdown, Mac (thinking there was a bit of code open ended code)
    10. turned off all iCloud Contacts on all iOS devices linked to this icloud account.
    11. Less than 24 hours later... 4,600++ duplicate contacts in icloud and counting.
    12. As I am writing this I deleted icloud from my mac.. thinking this is the bug's origination point.
    what's next??

    Step 12 Stopped the duplicate contact.
    Deleted iCloud from my Mac. Hope this helps someone.

  • Aggregates Keep adding up (W_GL_BALANCE_A)

    Hi! Everytime we execute the "Financials - General Ledger" subject area, the amounts in the W_GL_BALANCE_A table are doubling up. I have tried both Full loads and incremental loads. I see the W_GL_BALANCE_A is truncated everytime I execute a Full load. But the totals in this table keep adding up (the preiod amount keeps adding to the previous amount in the aggregate table). Even though the numbers are reported correctly in the OBIEE Answers, the total lines are off as they are populated from the W_GL_BALANCE_A.
    I am wondering if anyone else on this forum as faced a similar situation with the Aggregates table and how this was resolved. Any help will be appreciated. If you have questions about our setup, please let me know. Thanks.

    Shyam, it looks like by default only aggregation is considered for 6 segments. The query used in the mapping 'PLP_GLBalanceAggrByAcctSegCodes' to load w_gl_balance_a is using first 6 segments for aggregation. I think we need to modify the query to consider the additional segments, but not sure whether still we need to do changes in any other mappings or not.

Maybe you are looking for

  • Looking for a Darknet/Secure BBS app

    I have been a fan of Haxial KDX for the longest time, but due to the bugs, etc., I would like to move on.  I'm looking for a secure darknet/bbs styled program that supports chat, filesharing, and of basic user management (who can login, who can't, et

  • How to EXPORT a concurrent program from one instance to another

    Hi, I am new to EBS. How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD. Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server. Thanks Asis

  • During Excise invoice capturing, BED and other duties not coming

    Hi experts, During Excise capturing with j1iex_c t-code for scheduling w.r.t. scheduling agreement, BED and other excise duties are not coming automatically. But in case of other scheduling agreements all the duties are coming l...what could be the r

  • Bluetooth on Macbook Pro Retina not working

    I am having trouble with the bluetooth on my MacBook Retina Display (software is up to date). My MacBook will not connect to my iPhone 5, nor will it connect to the bluetooth headphones I just purchased (Sony MDR-XB950BT). When I try to pair the devi

  • T400 with F3507G Win7 Driver problem cannot complete install

    I am trying to install driver of F3507G on T400 Windows 7 but cannot complete the installation the system still show in the device manager that mini card GPS port and mobile broad band GPS port on com 12 are the problem. Cloud you please help to rect