User Tag List

Results 1 to 10 of 10

Thread: semi-transparensy events

  1. #1
    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)

    semi-transparensy events

    I just have a little question regarding semi-transparensy event handling that confuses me.

    I place 3 objects Active in the frame and add these events:

    * User clicks with left button on Active
    : Set flag 0 of Active on

    * Flag 0 of Active is on
    : Set semi-transparensy of Active to SemiTrans( "Active" )+3

    * Semi-transparency of Active >=128
    : Destroy Active


    What I would expect of this was that when I click on one of Active, it fades out and gets destroyed. But that does not happen. It fades out, but doesn't get destroyed before every Active has been faded out.

    That means that the condition Semi-transparency of Active >=128 actually mean: Semi-transparency of ALL Active >=128

    That just does not make sense to me.

    I know that I can add the condition: Pick Active at random and it will be fixed, I just don't see why I have to do that. I thought that the pick object at random condition was only when it doesn't matter what object the action shall be done with.

    Could someone please clarify this for me? Is it a bug perhaps?

  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)

    semi-transparensy events

    I just have a little question regarding semi-transparensy event handling that confuses me.

    I place 3 objects Active in the frame and add these events:

    * User clicks with left button on Active
    : Set flag 0 of Active on

    * Flag 0 of Active is on
    : Set semi-transparensy of Active to SemiTrans( "Active" )+3

    * Semi-transparency of Active >=128
    : Destroy Active


    What I would expect of this was that when I click on one of Active, it fades out and gets destroyed. But that does not happen. It fades out, but doesn't get destroyed before every Active has been faded out.

    That means that the condition Semi-transparency of Active >=128 actually mean: Semi-transparency of ALL Active >=128

    That just does not make sense to me.

    I know that I can add the condition: Pick Active at random and it will be fixed, I just don't see why I have to do that. I thought that the pick object at random condition was only when it doesn't matter what object the action shall be done with.

    Could someone please clarify this for me? Is it a bug perhaps?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: semi-transparensy events

    It has something to do with MMF's object selecting methods, but here's a work around:

    Always add 1 to alterable value A
    Always set semi-transparency to Alt A

    If Alt A >= 128 then Destroy the active

    This way it checks it for each active, because you are checking against the alterable value.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: semi-transparensy events

    It has something to do with MMF's object selecting methods, but here's a work around:

    Always add 1 to alterable value A
    Always set semi-transparency to Alt A

    If Alt A >= 128 then Destroy the active

    This way it checks it for each active, because you are checking against the alterable value.

  5. #5
    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)

    Re: semi-transparensy events

    Yes I am aware of that work around also, just forgot to mention it.. <img src="/center/images/graemlins/smile.gif" alt="" />

    I just wanted to know why MMF(2) is acting like this. I think I just stick with the answer you gave me for now, and just use the work arounds.

    Thanks!

  6. #6
    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)

    Re: semi-transparensy events

    Yes I am aware of that work around also, just forgot to mention it.. <img src="/center/images/graemlins/smile.gif" alt="" />

    I just wanted to know why MMF(2) is acting like this. I think I just stick with the answer you gave me for now, and just use the work arounds.

    Thanks!

  7. #7
    No Products Registered

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

    Re: semi-transparensy events

    its because comparing two general expressions is not the same thing as asking the object if its alterable value is over a certain value.

    accually, they do not get destroyed when all objects meet that requirement, they get destroyed when 1 specific instance of the objects meet that requirement, Its most likely the last one that was created that needs to meet the requirements. You will see if you click that one first, all will get destroyed despite not having faded.

  8. #8
    No Products Registered

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

    Re: semi-transparensy events

    its because comparing two general expressions is not the same thing as asking the object if its alterable value is over a certain value.

    accually, they do not get destroyed when all objects meet that requirement, they get destroyed when 1 specific instance of the objects meet that requirement, Its most likely the last one that was created that needs to meet the requirements. You will see if you click that one first, all will get destroyed despite not having faded.

  9. #9
    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)

    Re: semi-transparensy events

    Thanks, that really clearified it alot <img src="/center/images/graemlins/smile.gif" alt="" />

  10. #10
    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)

    Re: semi-transparensy events

    Thanks, that really clearified it alot <img src="/center/images/graemlins/smile.gif" alt="" />

Similar Threads

  1. Performance of behavior events vs frame events
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th July 2013, 05:24 AM
  2. Semi transparency in Flash application desabels my costom movement or Group Of Events
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 28th May 2012, 04:03 PM
  3. Global events or Frame events first?
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th June 2010, 08:18 PM
  4. Group of events & global events - performance?
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 9th June 2010, 03:00 PM
  5. Semi Transparency?
    By artician in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th June 2008, 09:13 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
  •