User Tag List

Results 1 to 9 of 9

Thread: A coding problem

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    A coding problem

    Hi

    What I want is this The user selects (with clicking) a number and the transparency is set to 50. To unselect click again and the transparency is set to None.

    My code is like this :

    Start of frame bject Flag set to On

    First EVENT

    Object Internal Flagg is On
    User Clicks with left button

    Then Object Transparency is set to 50% and Internal Flag is set Off

    Second EVENT

    Object Internal Flagg is Off
    User Clicks with left button

    Then Object Transparency is set to None and Internal Flag is set On

    How do I avoid that the second EVENT runs instantly after EVENT One so I do not see the change?

    Keli

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    most of the time, I use this :

    On click : Open group "User clicked"

    Then in the group
    On click + Flag is off : do... and close group

    On click + Flag is on : do... and close group

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    :blush:

    Hi
    Thanks works perfectly!

    Keli

    PS Just what I wanted"

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    That's a bit of a hack- let me make an extension (10 minutes).

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    www.aquadasoft.com/ConditionID.zip

    Just add the condition to your conditions with the same ID. Each ID can only trigger once per loop.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    The fastest extension writer in the West.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    Thanks
    That is cute!

    Keli

  8. #8
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    on click(anywheres):set transparency 50
    on object clicked by mouse: set transparency 0.

  9. #9
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A coding problem

    make sure it's in that order.

Similar Threads

  1. Spaceship coding help
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th September 2007, 01:42 PM
  2. Coding or formula help
    By Rick in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 5th January 2007, 02:01 AM
  3. Coding Help
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 22nd September 2006, 11:58 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
  •