Getting greensock's draggable spin to work

hi guys,
i am new to edge animate and know virtually no code. i am trying to get greensock's draggable spin feature to work for me in edge animate. watching a paul trani tutorial, i followed his instructions but still no go.
+ paid to become a "shockingly green" member to get the throwprops plug in.
+ uploaded the js scrips (tweenmax, throwprops and draggable) in the scrips panel
+ made my image a symbol called "dial" (want to do it on a SVG from illustrator but read may be issues. so to test, i just created a circle in edge)
+ double clicked to isolate it (greys out)
+ in the property menu, clicked on open actions/creation complete
+ pasted this code from greensock, where i replaced the name of my symbol "dial"
var rotationSnap = 90;
Draggable.create("dial", {
    type:"rotation", //instead of "x,y" or "top,left", we can simply do "rotation" to make the object spinnable!
throwProps:true, //enables kinetic-based flicking (continuation of movement, decelerating after releasing the mouse/finger)
    snap:function(endValue) {
        //this function gets called when the mouse/finger is released and it plots where rotation should normally end and we can alter that value and return a new one instead. This gives us an easy way to apply custom snapping behavior with any logic we want. In this case, we'll just make sure the end value snaps to 90-degree increments but only when the "snap" checkbox is selected.
        return Math.round(endValue / rotationSnap) * rotationSnap;
+ saved, went to file/preview in browser.
and...nothing. please tell me what else i need to add to make it work? it sounded in the tutorial that this is all i need to do to make it work.
thank you for any help you can give.

I apologize, but I just don't have time to walk you through that - I'm swamped with other stuff on my plate. Perhaps someone else can chime in and help you with that. You may want to consider hiring someone who knows how to code in JavaScript.
Good luck with your project!

Similar Messages

  • Cant start up on my Macbook pro. All I get is a grey spinning wheel. Tried all the Startup key combinations and nothing works. I reset the NVRAM and nothing. I booted with start up disk , ran disk repair and all is ok. Tried to re-install OS but when I ge

    Can not start up on my Macbook pro. All I get is a grey spinning wheel. Tried all the Startup key combinations and nothing works. I reset the NVRAM and nothing. I booted with start up disk , ran disk repair and all is ok. Tried to re-install OS but when I get to designating drive its blank. When I go to startup disk there is a "?" mark. When I restart under startup disk search for a drive it still comes up with nothing.  Before I got the grey spinning wheel I had a locked screen. Could not move curser or click on anything. Finally just shut down. Thank you in advance for any help!

    Shouldn't still have a 'beachballing'... if the drive is being found and the system is trying to boot from it but is having problems, I would suggest looking over ds store's user tip - Step by step to fix your Mac.
    It's likely either something corrupt in your system files or a failing hard drive. But follow ds's steps until you find the cause of the problem.
    Good luck,
    Clinton

  • I cannot open my iphoto application.  The minute I double click on the icon I get the rainbow which spins forever.  I've used Applejack to repair the hd, but even that didn't work.  I've getting into iphoto preferences..can't.  Help!

    I cannot open my iphoto application.  The minute I double click on the icon I get the rainbow which spins forever.  I've used Applejack to repair the hd, but even that didn't work.  I've getting into iphoto preferences..can't.  Help!

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Problem with iTunes. I have Windows 8 on a new laptop. Installed latest version of iTunes. Can play music in My Library but when I click on Itunes Store I get the message "iTunes has stopped working. A problem caused the program to stop working correctly.

    I have a new laptop with Windows 8 as operating system. Installed latest version of iTunes ontop computer. I can play music in My Library but when I click on iTunes, I get the message " iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify if a solution is available."
    Anyone know what is the cause and if there is a resolution? Have tried to re-installing iTunes and have also tried restoring laptop to an earlier date.

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset 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.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    Follow the instructions under the heading "How to unlink a phone number" on this page.

  • How to get all recipients of a particular work item in workflow?

    Hi Abapers,
    I want to get all recipients of a particular work item in workflow?
    is any FM avilable for this purpose?
    Regards,
    Vinay.

    Hi,
    Please check FM     SAP_WAPI_WORKITEM_RECIPIENTS
    -Abhijit

  • I am running windows 7. My itunes keep shutting down on me. I keep getting the message itunes has stopped working What can I do?

    I keep getting the message itunes has stopped working. A problem has caused itunes to stop working correctly. What can be the cause?

    Hello Main Event,
    Thank you for using Apple Support Communities!
    I found this article while researching iTunes quitting unexpectedly on Windows 7 and feel it will help to resolve the issue here.
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    It starts with troubleshooting 3rd party plug ins, then moves on to account troubleshooting if needed.
    Open iTunes in Safe Mode to isolate any inference with plug-ins or scripts not manufactured by Apple.
    Hold down the Shift and Control keys while opening iTunes. If performed correctly, you should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    After clicking Continue, determine whether the issue you were experiencing persists in Safe Mode.
    If you see the same issue while iTunes is in Safe Mode, proceed to the Create a New User Account section below. If you do not experience the same issue, consult iTunes: Troubleshooting issues with third-party iTunes plug-insfor steps on how to remove third-party plug-ins.
    Take care,
    Sterling

  • Keep Getting Adobe RoboHelp 9 has stopped working Message

    I am running on Windows 7 Professional, SP1, 4GB RAM, 64-bit OS, with Administrative privileges using Adobe RoboHelp version 9.0.1.232. I am creating projects on my C drive and linking them to Word 2010 docx files that are on the network then generating them as AIR files for testing purposes at this point. Each linked document is a technical manual (with a TOC and index) having anywhere between 100 and 1000 pages. The plan is to create a project for each of the 20 manuals then link them together and generate a Master Project as an AIR file to distribute to our customers. The manuals contain flowcharts, bullets, numbered lists, images, tables, hyperlinks, etc with approximately 100 custom styles defined in one Normal.dotm file. Only defined styles are used in each of the manuals and all manuals use the same Normal.dotm file. Each custom style is linked to a corresponding style in a custom RoboHelp css file used by all RH projects. 
    I have a default project that is used to create each separate project which includes a linked docx file that contains each of the custom styles so I do not have to link each Word style to the corresponding RH style every time I create a project for a different manual. My process is this: create project, link docx file, change Properties to create new TOC, Index, Glossary, Generate the linked document, Update linked document (when applicable), generate the AIR file, then update the Word document (in Word) as necessary. I then Update the linked document in RH and generate the AIR file again....and keep doing that until it looks good.  So far, I have successfully created projects for 11 manuals with projects ranging in size from 20 to 50 MB. So I know the problem is not my styles, etc.
    My problem is this....I will sometimes get the message 'Adobe RoboHelp 9 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available'. Sometimes, I will get the message when the manual has been updated in Word and I select Update in RoboHelp while other times it occurs when I am first getting the project set up. Right now, I am getting this message when I select Generate for the linked manual. I checked my application log file and see that I am getting an EventID 1000, Task Category 100 error. The manual is 477 pages/7.6 MB and the RoboHelp project is 42 MB and has only two really small flowcharts.  I have successfully created a project for this manual a couple times before after updating the Word document for things I saw in the AIR file, but when I selected Update in RH, I would get the message and the project was then corrupt so I had to start over. I know it is not an installation problem because I can then open another project and it works fine.
    Things I have tried without success: copied the linked manual to my C drive to remove the network aspect. Closed all other applications so only the Word document and RoboHelp are open. My experience has been that in most cases, RoboHelp is happier when I have the manual I am working with open in Word but have also tried it without Word running. I have tried creating the project on the root of C instead of in my folder. Tried it when no one else was on the network (5 am). In one case, I pulled out a chapter that was about 50 pages of flowcharts - which fixed that one. All our flowcharts are inserted into borderless tables as metafiles so they are not free-floating.
    Any help anyone could give me as to why this is happening or what I can do differently so as to prevent this from happening would be greatly appreciated.
    Thank you!
    Kathi

    My inclination is that it is something in the projects or in the manuals being linked that is the culprit because that is where the consistency lies - projects were created identically and manuals all follow identical formats. The problem typically only occurs after the project has been successfully created and the manual is subsequently updated and I am syncing the manual in RH so I can generate a new AIR file. This is the first time the project has consistently corrupted every time I try to generate the Word document after linking it in RH. This makes little sense to me since it generated fine a couple weeks ago and I did nothing special when I updated it in Word yet when I tried to update it in RH, that is when it originally corrupted. The bottom line is that I cannot 100% trust that any project I run will work the next time. I end up just crossing my fingers and hoping for the best.
    My problems seemed to start once I went to RH9 (from RH8) because we had upgraded from MS Office 2003 to the 2010 version and I needed 9 for the docx extension. Like I said, it is not all the time - I can be beating my head against the wall getting one of the projects to work, then create 3 more projects that have no problems and then the next one leaves me wanting to throw my PC through a window....
    Deleting the CPD does not corrupt the project, it just removes my default linked document that allows me to circumvent linking the styles individually for that project. Once I have a manual linked and I remove the CPD, it just creates a new one. What I am saying is that if I delete the CPD file, it does not prevent the project from corrupting nor does it make the corrupted project viable again.
    thanks!
    Kathi

  • I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    chicx wrote:
    This is the third time of writing this on your Apple Support Communities!
    Not with your current user id.
    Far too much uneccesary information in your post, which only confuses things, a vast amount!
    Let's start with iTunes.
    Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
    With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
    Once you have doen those two things, check to see if the iPod is seen by iTunes.
    chicx wrote:
    By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
    Really?
    OS stands for Operating System. (In computer speak, IO means Input/Output.)
    iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
    I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do.

  • I keep getting the message itunes has stopped working I can't even open itunes I have tried uninstalling and installing, starting in safe mode but nothing seems to work. Please can anyone help me

    I have recently bought a new laptop with windows 7 and when i have tried to install and open itunes i keep getting the message 'itunes has stopped working' itunes then shuts down before i can do anything to fix it. This happens every time I try to open itunes. I have tried uninstalling itunes and reinstalling it, starting itunes in safe mode. Nothing seems to work. Please can anyone help.

    If and when I finally manage to open it, as soon as I click on a movie to watch, the message "itunes has stopped working" comes up.
    Try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • How do I get the built in microphone to work on my IMac?  Camera works fine, but I can't record voice.

    How do I get the built-in microphone to work on my IMac?  Camera works fine, but I can't record sound.

    I always assummed that the mic was part of iSight (intertwined?).  The mic is situated right next to iSight.  It would seem to me the solutions would be the same some what.
    Regarding the OP, I also suspect his/her problem is hardware.  It's rather unusual for the internal mic to not work yet the iSight does.

  • Can't get my iTunes gift card to work.

    Hey
    I can't get my iTunes Gift card to work I got the first part right but when I need the serial number it wouldn't work I entered it right everytime but still wouldn't work so I got out of the page and started again and I entered the Activate Numbers and it said that the card hasn't properly been activate seek help.... What do I do?

    If the error message you are receiving is that your iTunes Gift Card in inactive, you should contact iTunes Store Customer Support via the Contact Support link on the lower-left side of the iTunes support page and include attached digital photos or scanned images of the sales receipt and both sides of the gift card.

  • How can I get my hp Laserjet 1012 to work with Windows 7?

    How can I get my hp Laserjet 1012 to work with Windows 7?

    Here is a list of products that are not supported in the win7 OS. This product is listed there.
    Products not supported in win7
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • How do I get rid of the spinning pinwheel on my macbook?

    How do I get rid of the spinning pinwheel on my MacBook? I'm assuming I need to clean it up, but not sure how.

    A little more information is needed. Which model MacBook? Which version of OS X? How much ram is installed? Finally how much free space is left on your hard drive?

  • I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

Maybe you are looking for