Move Slider while  mouse is down

I am somewhat of a new lingo user but here goes:
I am trying to click on an open area (I put a hidden object
there for scripting). When I click on this area and hold the mouse
button down, I want to activate a slider bar at that location and
then have the slider go up and down as I move the mouse up and down
with the button down. I have the the click working so that the
slider bar appears (I avdanced to the next frame) and I have the
basic slider motion so that if I hold down on the slider, it
follows the mouse. What I do not have working is to have the slider
bar start at the current mouse position where I clicked. Any ideas
on this?
Thanks

You can find a behavior that uses Imaging Lingo to create a
slider similar to the one you describe
here..
Click on the little arrow under the paint tools to see it in
action.

Similar Messages

  • Follow sprite when the mouse is down, but randomly move when mouse is up?

    I have a sprite that has a Random Movement behavior.
    While the mouse is down, I want it to stop this behavior and initialize a Follow Sprite behavior instead.
    When the mouse is lifted, I want to stop the Follow Sprite behavior and reset/restart the Random Movement behavior.
    Openspark helped me out with a different version of a very similar behavior a long while back, which worked. It switched between Random Movement and Draggable. I tried to edit the code so that it would apply to Follow Sprite instead of Draggable, but it isn't working the way I thought it would.
    The order of behaviors on my sprite is as such:
    followSprite (Follow Sprite)
    moveToward (The behavior described above)
    randomMove (Random Movement)
    turnTowardsMouse (sprite faces mouse when it is clicked)
    Face Destination (if not facing mouse, sprite faces toward the randomized endpoints generated by randomMove)
    This is the moveToward behavior - the middleman that's supposed to be swapping between the two:
    property pSprite
    property pTouching
    on beginSprite(me)
      pSprite = sprite(me.spriteNum)
    end beginSprite
    on mouseDown(me)
      -- Overrule the Random Movement and Rotation behavior until the mouse
      -- is released. See the on prepareFrame() handler for the effect.
      pTouching = TRUE
    end mouseDown
    on prepareFrame(me)
      if pTouching then
        -- Block the event from reaching the Random Movement and Rotation
        -- behavior, so that only the Draggable behavior will work.
        if the mouseDown then
          stopEvent
        else
          -- The user has released the mouse.
          -- Start a new movement in the Random Movement and Rotation behavior.
          pSprite.pPath = VOID
          sendSprite(pSprite, #mNewPath)
          pSprite.pRotate = VOID
          sendSprite(pSprite, #mNewRotation)
          pTouching = 0
        end if
      end if
    end prepareFrame
    Can anyone help me figure this out?
    If you want to imagine a visual, it's essentially a touchscreen fish tank. Fish swim around randomly, but when someone is touching the screen, they approach the point of contact (which is defined by a tiny invisible sprite centered on the cursor).
    Once again, thank you so much to anyone who can help me out. This is part of a capstone undergraduate art project I am doing - and I am far more experienced in making the visuals than I am in coding. I am having to mostly tackle Lingo on my own. Any coding help I've received will be recognized (with permission) on my artist website as well as a thesis paper I am writing that will be published in May.

    As first steps at troubleshooting you could try an SMC reset and a PRAM reset:
    SMC Reset
    Shut down the computer.
    Unplug the computer’s power cord and disconnect peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    Reset PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    If that doesn't help, what OS are you running? Depending on the OS (Lion/Snow Leopard) will help determine the next step.

  • Dragging with the Middle mouse button down should move the viewport.

    Just like it says in the title: I believe that dragging with the Middle mouse button down should move the viewport, just like using the hand tool. Would be very handy for people still using a mouse. This can be hacked together using SetPoint (or similar software), but it doesn't work perfectly. Photoshop should've had it for a very long time, as the middle mouse button could be used to move around documents in other applications (web browsers, word processors, other graphics programs) for years.

    I've never had that happen with Firefox 4 on WinXP. I haven't updated my Netbook that runs Ubuntu to Firefox 4 yet.
    1. Try disabling the Java Console 6.0.24 and the Java Quick Starter 1.0 extensions and see if that solves your middle-click problem.
    2. Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.''
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How do I keep the drop down menu in the navigation bar open without continuously holding the mouse button down?

    When I use the mouse to hover over the naviation bar, I can see it, but once I select a drop down like bookmarks, I have to continuously hold the mouse button down until I move it to the bookmark I want, then I release the mouse button to select the bookmark. I used to be able to just click once to open the bookmark drop down, then click once to choose the bookmark I wanted to open. How do I get this function back?

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Try a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 23.0: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How do I move text within a cell down in "Numbers" please?

    I am trying to move text within a cell down in Pages. I use one cell as a topic and then add text in the  next row of a cell. It may seem strange to some but I have been doing it for years in Excel. Here is the best example I can give here:
    Customer
    Customer Notes
    ABC Company
    Imagine a long row of text here and I want to start a new line of text below this one without (within the same cell)
    Text would continue here but still within the same cell (I use to be able to just hit return in excel)
    Any ideas would be appreciated.
    Thanks so much! ;-)
    Thanks so much!

    Thanks so much Wayne... I spent quite a while searching for this to no avail lol.Have a great day!

  • My Screen Moves with my Mouse

    My 1 year old got to my keyboard and banged away for a few seconds before I could reach him. Now my screen is expanded and moves with the movement of my mouse. I have no idea what he did and can't seem to fix it. Any advice? Thanks!

    Hello Jenni
    Pretty smart for a 1 year old, hold the control key and roll the scroll ball down
    or try ⌥⌘8 (option command 8)
    Dennis

  • Why is Photoshop CC 2014 nearly crash with Wacom and fix itself when I move my regular mouse?

    I have Photoshop CC 2014 (completely updated through Creative Cloud). I am currently using a Wacom Intuos 3 9"X12" with the Intuos drivers all updated. Everything is updated. I am working on Windows 8, on a computer with 8 GB's of RAM. I have never had this problem before using Photoshop until just recently. Before I updated Photoshop CC 2014, I was having trouble putting in text into my files. I would go to edit or add text, and it would say that the text function was unavailable. I was pretty ticked, since I'm in school full time for animation and NEED Photoshop to work as fast as possible and this was making things harder. So, I updated. The text thing got fixed, but for some reason, whenever I use my wacom tablet to draw, it will work for a little bit (like two minutes) before it pretty much freezes my computer. It gets laggy and doesn't show anything on screen. I have waited almost two minutes before. But, whenever I move my REGULAR mouse (trackpad or USB mouse) it catches up with what just happened (including going from layer to layer if I clicked on those to get things moving). It makes it REALLY hard to work with this, and it's increased my worktime by at LEAST 45%, since I have to constantly fix this with a move of my regular mouse. During that time, I cannot click on anything with my wacom pen or use the hotkeys on the keyboard (the default ones).
    It, so far, doesn't seem that Photoshop CC has it, but I cannot update to that version. I always get to 75% or something REALLY fast, and then it says there was an error. I just don't know what's going ON with my programs. Do I have to uninstall and reinstall or something? My computer is set to optimize weekly, and I've done multiple scans to make sure I don't have a virus or something. Everything in clean, and I'm not overloaded on stuff, either. I usually only have two or three programs total open, Photoshop CC 2014 included. It ends up either being Photoshop and Firefox or Photoshop, Firefox, and iTunes to listen to music. I use a second monitor, as well, to make my flow go faster.
    Help ASAP would be VERY much appreciated! Thanks in advance!

    I have Photoshop CC 2014 (completely updated through Creative Cloud). I am currently using a Wacom Intuos 3 9"X12" with the Intuos drivers all updated. Everything is updated. I am working on Windows 8, on a computer with 8 GB's of RAM. I have never had this problem before using Photoshop until just recently. Before I updated Photoshop CC 2014, I was having trouble putting in text into my files. I would go to edit or add text, and it would say that the text function was unavailable. I was pretty ticked, since I'm in school full time for animation and NEED Photoshop to work as fast as possible and this was making things harder. So, I updated. The text thing got fixed, but for some reason, whenever I use my wacom tablet to draw, it will work for a little bit (like two minutes) before it pretty much freezes my computer. It gets laggy and doesn't show anything on screen. I have waited almost two minutes before. But, whenever I move my REGULAR mouse (trackpad or USB mouse) it catches up with what just happened (including going from layer to layer if I clicked on those to get things moving). It makes it REALLY hard to work with this, and it's increased my worktime by at LEAST 45%, since I have to constantly fix this with a move of my regular mouse. During that time, I cannot click on anything with my wacom pen or use the hotkeys on the keyboard (the default ones).
    It, so far, doesn't seem that Photoshop CC has it, but I cannot update to that version. I always get to 75% or something REALLY fast, and then it says there was an error. I just don't know what's going ON with my programs. Do I have to uninstall and reinstall or something? My computer is set to optimize weekly, and I've done multiple scans to make sure I don't have a virus or something. Everything in clean, and I'm not overloaded on stuff, either. I usually only have two or three programs total open, Photoshop CC 2014 included. It ends up either being Photoshop and Firefox or Photoshop, Firefox, and iTunes to listen to music. I use a second monitor, as well, to make my flow go faster.
    Help ASAP would be VERY much appreciated! Thanks in advance!

  • Planning application was deleted while Essbase was down

    Hi all,
    Someone deleted a Planning application while Essbase was down and now the application still appears in Planning, but errors when trying to access it. How do I now complete the deletion of the Planning application from the system, ie. Essbase, Planning, ....ect.
    Mike
    Edited by: user10224619 on Apr 21, 2010 9:55 AM

    Hi,
    To delete manually have a read of :- Re: Remove application from drop-down
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • In the main bookmarks menu I'm not able to move the links up and down for convenience like I used to. When I right click on a bookmark to do so, nthng comes up

    Recently I've lost the ability to use the options available with a right click on a bookmark in the main menu bookmarks. I can't move them around up or down, can't delete any either. The weird thing is in assorted bookmarks I'm having no problems at all.
    Do you have any advice to help me, I want to thank you in advance for any help you might be able to give me with this problem. I have installed the latest update sent to me to no avail.
    Mark Nicholson (seefids)

    After the release of Firefox 29, several people noticed that after using the Customize feature, most items on the right-click menu for the Bookmarks menu on the menu bar became ''grayed out'' and unusable until you closed and started Firefox back up again. That seems to still be a problem for me in Firefox 36.0.4, so if you used Customize, that could be the explanation.
    You still should be able to click and drag bookmarks around the menu even with the broken right-click context menu.
    And if it's easier than restarting, the context menu still works in the Bookmarks Sidebar (Ctrl+b to open/close) and Library dialog (Ctrl+Shift+b or "Show All Bookmarks").

  • While drilling up/down the report, the results are displayed after delay

    We have a WebI Report whose hierarchy is based on the time Year -> Quarter -> Month -> Day -> Hour -> 30 mins.
    While drilling up/down the report, the results are displayed after much delay and most of the time, all / some of the values are displayed as "#REFRESH" or '##########'. However, if i refresh it, all the values are displayed.
    What could be the cause for this issue? and how to troubleshoot it?
    Thanks In Advance!!!

    hi,
    This error appears in cells due to smart measures when the value returned by the smart measure is not available. This occurs when the grouping set containing the value is not available with the data provider.
    Remove the  error by refreshing the data.
    Regards,
    Vamsee

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • Can you add different songs to different slides while making a slideshow

    Can I change music on individual slides while making a slideshows

    You mean javascript, right? That's not Java.
    You cannot apply such things to a table.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "nyran20" <[email protected]> wrote in
    message
    news:ek33hv$g3k$[email protected]..
    > Hi all. Can someone tell me if you can add different
    states to an html
    > table?
    > I am using a table as a nav bar now, but I want to make
    it more fun by
    > adding
    > an over state. I feel that FW doesn't offer some of the
    simplicities that
    > a
    > regular HTML table does. I have the states (in java)
    made in FW, how do I
    > apply them to my existing html table?
    >

  • Re-Toast DVD - is it the same as IDVD - That is can you burn a number of .mov slide shows on the same disk?  Thank you

    Re-Toast DVD - is it the same as IDVD - That is can you burn a number of .mov slide shows on the same disk?  Thank you

    Toast can author and burn video DVDs but it's not nearly as versatile as iDVD is in creating video DVDs.  Toast can only create one menu so all items must be on it, i.e. no sub-menus, no animated menus, etc.

  • HP Pavilion dv6-3133nr overheats once in a while and shuts down

    My fiancee has a laptop that overheats once in a while and shuts down. She says when she turns it back on, it gives an error saying "There's a thermal temperature of 90". Anyone have any idea how to resolve this? She says it doesn't happen when she's running alot of things, it just seems to happen sometimes. I have yet to see it happen or the error message.

    Thank you. I will see if this works.

  • TS3116 I download a movie and while watching it freezes or pauses.  I have apple tv first generation.  What is the problem?  I can watch trailers just fine.

    I am having problems with my First Generation Apple TV.  My software is up-to-date. 3.0.2.
    I download a movie and while watching in pauses and freezes for as long as a minute sometimes.  I have already checked with my ISP regarding network issues.  There are none.  I can view trailers with no freeze or pause issues.  Just the actual movie when I download.  Is there something I am missing here?

    You must have a slower connection if it took 2.5 hours, did you pause it or exit out to the main screen? I've paused movies many times and it resumes..it could be due to the connection as well  so what is your actual speed? Check www.speedtest.net Wifi or ethernet? Have you changed the DNS settings?

Maybe you are looking for