User Tag List

Results 1 to 2 of 2

Thread: Stop Slider once a value is reached

  1. #1
    No Products Registered

    Join Date
    May 2013
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Stop Slider once a value is reached

    Example.mfa

    In the above MMF application I have created a custom slider which I am having trouble with. I want the program to work so that, once the top value (Total Points) hits 0, the user cannot drag the Slider object any further to the right. This should result in the Total Points value being equal to 0 and the Points counter equaling 50. When I create the event for the Slider to stop once Total Points hits 0, if I drag the Slider fast enough, I can get the Points value as high as 82 and the Slider all the way to the right of the Scroll Bar, which is undesirable.

    If anyone can advise me on a method of causing the Slider object to stop instantly as soon as Total Points drops to 0 then I would be very much appreciative.


    As a side note, this example program is a temporary program to correct this problem, my next stop once fixing this will be to allow the user to drag the Slider object to the left but not to the right if the Total Points equals 0. If anyone has any idea how to do this then that'd be very helpful too as at the moment I am simply turning off the internal flag which ceases the Slider's movement completely as a temporary fix.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why you don't just correct the position? This effect always will happen with fast mouse moving.
    Just insert a line after your slider code, if the value is too high set it back to the limit.

Similar Threads

  1. [Request] Stop values when reached to minimum/maximum
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 17th September 2013, 04:27 PM
  2. Maximum amounts of installations reached.
    By Acroshinobi in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th August 2013, 07:25 PM
  3. I've reached my android exporter install limit
    By Tuna in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 27th June 2012, 03:53 PM
  4. Reached the maximum number of installations
    By K1kk0z90 in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 14th March 2012, 04:42 PM
  5. Maximum number of installations reached
    By Ls2 in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 8th February 2012, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •