User Tag List

Results 1 to 6 of 6

Thread: Unsolvable issue?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unsolvable issue?

    Hi, i have encountered a problem i have encountered many times in the past. I will simplefy the problem by an example

    http://dl.dropbox.com/u/3537859/ManBurger.mfa
    ( hold mouse pointer over a Man, and press 1, 2, 3 or 4 to changethe ID_ value )

    What i basically want to do is to be able to Pin, or assosiate, an instance of an object( for example Active ) with an instance of another object ( for example Active ) by comparing ID_ ( values ) rather than creating many different objects.

    My idea that this is doable has halted my work many times. Im under the impression that the people on this forum are amongst the most experienced MMF2 users, and so i just want to get some clarefication, or feeback on this.
    Is this doable?

  2. #2
    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: Unsolvable issue?

    Yes - the easiest way to do this within MMF's object selection is to set up a fastloop to run through each burger/target and to select only the objects that match the loop index.

    http://mfa.aquadasoft.com/view/1295280251-dxn-burgers

    I haven't commented the events, but I only changed two of them from your original MFA. On each event loop, the fastloop "positionBurgers" is started five times (five instead of four, because the loop index starts at 0, and not 1 like the objects' IDs - this way, it will loop through the numbers 0, 1, 2, 3, 4).

    On each loop, the target and burger with the ID matching the index of the fastloop are selected, and the position of the object is changed without touching any of the other objects without matching IDs.

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Unsolvable issue?

    It is very doable. You just need to do it a bit differently.
    http://mfa.aquadasoft.com/view/1295280464-ManBurger
    The ForEach object is basically a more efficient way to do that same thing as matching loop index with an ID, eg using a fastloop to select each object in turn. In this MFA, it was very simple to implement it into your code.

    EDIT: DavidN shows the fastloop method.
    Working as fast as I can on Fusion 3

  4. #4
    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: Unsolvable issue?

    Oh, I forgot about ForEach... nice to have options, anyway

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unsolvable issue?

    Thanks guys
    Where can i get the ForEach extencion?

  6. #6
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Unsolvable issue?

    Quote Originally Posted by King_Cool
    Thanks guys
    Where can i get the ForEach extencion?
    You can find it in this thread:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=200505&Searchpa ge=1&Main=25635&Words=ForEach&Search=true#Post2005 05

Similar Threads

  1. HWA issue
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th December 2013, 12:20 PM
  2. Not sure if I'm the only one who has this issue...
    By LavaFlaminG6 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th June 2013, 12:48 AM
  3. Counter updating issue or code issue?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th March 2013, 01:48 PM
  4. Aim Issue
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th March 2010, 06:59 PM
  5. dll issue
    By cel in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th December 2006, 09:12 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
  •