User Tag List

Results 1 to 9 of 9

Thread: [Request]Subapp "Compare to Fixed value" Condition

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

    [Request]Subapp "Compare to Fixed value" Condition

    Subapps are limited at the moment because there is no way to identify one from the other by any form of ID (as far as I know.)

    Subapps do not have alterable values, so it is not possible to loop through all of them. They have fixed IDs but they are not functional because they can only be retrieved as an expression through "Compare two general values" which means that it does not work the same way as an "internal" condition "Fixed value = " which would check each object seperately.

    If you have multiple instances of the same subapp it is currently very difficult to differentiate between them without using some shared value hackery. It is impossible to loop through them from a parent frame without having to push values to each subapp and getting it to perform actions on its own frame.

    I am requesting for:
    1. A "Compare to Fixed value" condition (identical to actives)
    2. Alterable values (again identical to actives, so that we can loop through subapps)

    Thank you for your time

  2. #2
    No Products Registered

    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Subapp "Compare to Fixed value" Condition

    Specifically, using "Compare two general values" does not perform a "for each" style check on subapp objects to perform individual actions to further limit an event to a single subapp amongst multiple instances. Instead, it appears to only check the last instance where such a "focusing" event was requested based on the condition.

    For example, "Mouse is over object" will cause the next conditions to "focus" on the proper subapp object, but "Compare two general values" based on Fixed Value (or any localized subapp global value) will not. OP is requesting an event "Compare to Fixed Value" which can "focus" amongst multiple instances for the purposes of selection or fast loop iteration to operate on multiple instances of the same subapp object.


    Edit: The current workaround for this is somewhat difficult and cumbersome (although it is made easier by use of either a global Array or global ini++). Each child app must "push" their values back to the main parent, which performs an event on all subapps indiscriminately. In order to differenciate the child subapp's behavior, an index must be created and all data necessary must also first be pushed to the subapps for the child subapps to process individually. View example MFA


    I'd also tack onto this request a possible future feature to access the "local" alterable values from within a frame similar to how current local and global variable extensions work integrated into subapps so that dealing with this problem is more streamlined and less convoluted. (This same issue most likely already hinders full utilization of the MDI functionality...)


    Edit2: The purpose of the example MFA is to demonstrate how to keep a subapp of a certain index set to mouseX while others are created at runtime. In theory, it can be extended to change which subapp moves with the mouse without relying on an active selection event such as the ones I explained above. It would involve sending an "active index" value to all subapps, then changing the event within the subapp to check and see if it is the particular object that needs to push back an update.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Subapp "Compare to Fixed value" Condition

    You can identify subapps by name, id and more, by using the Kernel Object by Sphax, if you have Developer.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  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: [Request]Subapp "Compare to Fixed value" Condition

    stephen1980 - thanks for the input but the Kernal Object will not help in this situation. It allows you to get an ID from a window but it does not allow you to choose an object based on its ID.

    There is still no no condition that will allow you to pick a subapp instance even if you know its ID. That is the problem I am requesting a fix to.

  5. #5
    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: [Request]Subapp "Compare to Fixed value" Condition

    On a related note I found a graphical glitch with subapps. If you have multiple instances they will "smear" when you move one over the top of the other:

    http://mfa.aquadasoft.com/view/1258614694-Subapp_Smear

    If you redraw the frame constantly by using the Fastloop 1.5 object then they will stop smearing but the windows will flash when they overlap.

  6. #6
    No Products Registered

    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Subapp "Compare to Fixed value" Condition

    this condition occurs with the subapp and any other surface, including windows controls. Had the same problem with Subapps and scrollbar object

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Subapp "Compare to Fixed value" Condition

    Bump for great justice.

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

    Re: [Request]Subapp "Compare to Fixed value" Condition

    Quote Originally Posted by netninja
    On a related note I found a graphical glitch with subapps. If you have multiple instances they will "smear" when you move one over the top of the other:

    http://mfa.aquadasoft.com/view/1258614694-Subapp_Smear

    If you redraw the frame constantly by using the Fastloop 1.5 object then they will stop smearing but the windows will flash when they overlap.
    Check the option Clip Siblings of the Sub-Application to prevent this.

  9. #9
    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: [Request]Subapp "Compare to Fixed value" Condition

    Thanks Gustav! I thought I had to tick "pop up window" aswell to fix that. It seemed to fixed the smearing problem

    Now I just hope we can get some way of ID'ing subapps.

Similar Threads

  1. Compare to the number of "x" objects in a zone acting weird?
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 2nd February 2013, 04:26 PM
  2. Fixed - B1: "Repeat while mouse pressed" ignored
    By DavidN in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 14th September 2010, 12:35 PM
  3. "ItemValue of" and "Compare Two General Values"
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 24th December 2009, 12:58 PM
  4. Subapp and "Jump to a frame" action doesn't work
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd December 2008, 02: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
  •