User Tag List

Results 1 to 3 of 3

Thread: Disabling an Active Object?

  1. #1
    Clicker Fusion 2.5SWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Traumat1x's Avatar
    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Disabling an Active Object?

    Is there a way to disable an active object?
    I have an active object that I use as a button. It has 3 animation frames based n the states its in.
    When user clicks the correct one, the other active object buttons disappear and I set the correct active objects button to another animation frame displaying that it's correct. I also award some points to the user. However I don't want them to be able to click on it again to add score each time.
    Currently I can make a facke button and when they click on it I can destroy the correct button and display an image at the same place, but that seems like a lot of work for something simple considering i have a lot of these.
    I know one can disable a button but it's then not going to allow me to customize the different states like I want.

    Any advice would be appreciated.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can do everything you want with active objects. They don't exactly have a disable option, but you can make it for yourself for instance by using events and flags.
    In the frame editor, select the object and rename one of its flags to isDisabled.
    In the event editor, when the button is pressed, set isDiabled to On. In the events that tests for button presses you then to add a new condition to test if isDiabled is off.

  3. #3
    Clicker Fusion 2.5SWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Traumat1x's Avatar
    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Popcorn View Post
    Yes, you can do everything you want with active objects. They don't exactly have a disable option, but you can make it for yourself for instance by using events and flags.
    In the frame editor, select the object and rename one of its flags to isDisabled.
    In the event editor, when the button is pressed, set isDiabled to On. In the events that tests for button presses you then to add a new condition to test if isDiabled is off.
    Thanks Popcorn, that sorted it perfectly.

Similar Threads

  1. Replies: 4
    Last Post: 25th December 2014, 12:06 PM
  2. Disabling Draw object
    By eezau in forum Fusion 2.5
    Replies: 5
    Last Post: 27th May 2014, 07:23 AM
  3. Replies: 4
    Last Post: 14th April 2014, 10:47 AM
  4. Disabling iAds with iOS object
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th July 2011, 02:39 PM
  5. Disabling close for MDI windows with Kernel object
    By Mantis in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th May 2007, 11:06 AM

Posting Permissions

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