User Tag List

Results 1 to 2 of 2

Thread: Get the sum of checkboxes

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    0 Post(s)
    0 Thread(s)

    Get the sum of checkboxes

    I have 10 counters and 10 checkboxes.

    How can I get the sum of the value of each counter by checking checkboxes?

    is there a smart way to do this.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Boston, MA
    10 Post(s)
    0 Thread(s)
    Checkboxes/Buttons can store Alterable Values. Create an Alterable Value on each checkbox that corresponds to the counter next to it.

    If the Checkbox is checked, set the Alterable Value to the value of the corresponding Counter. If it's unchecked, set the value to 0.

    Finally, set the Sum counter to the combined sums of each individual checkbox (under an Always event, or when a box is checked/unchecked).

Similar Threads

  1. Checkboxes in menu can't be unchecked
    By theknewgreg in forum Fusion 2.5
    Replies: 4
    Last Post: 7th May 2019, 10:59 AM
  2. checkboxes don't work?
    By cimics in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd May 2013, 03:24 PM
  3. What's with the odd bolding of checkboxes?
    By Code6 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th June 2008, 11:25 PM
  4. List with checkboxes
    By LaraSoft in forum Extension Development
    Replies: 1
    Last Post: 22nd January 2008, 02:05 PM
  5. Covering up button checkboxes?
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st January 2007, 06:37 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