User Tag List

Results 1 to 6 of 6

Thread: Feedback: ForEach Object

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,541
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Feedback: ForEach Object

    Since I saw Ross is actively updating this, and I've been tooling around with it, I thought I'd just give my 2 cents of what could be done to improve it- its already quite impressive as it is.

    There should be a "Stop Loop" function- right now there is only a pause and resume. This can be worked around by telling it to set the current iteration above the maximum I believe, but it should just be "breakable". The object seems to malfunction if you stick a "remove objects from group" call after a call to a function. IE, you cannot do this:

    =Add Object "Active" to group "Foo"
    =Run ForEach for group "Foo"
    =Remove Object "Active" from group "Foo"


    Logically, as MMF2 doesn't preserve the object selection list on the stack frame, this shouldn't work *quite* as you'd imagine- it should run the loop on that object then remove *all* objects of that class from group "Foo", as the scope would now include everything. But instead, that code does not run at all- it seems to somehow remove the objects from the group before running the loop, even though it occurs after it- you have to put the command on the next line.

    There should be a generic "Remove all objects from group" or just "Close group" command to retire a group. So after my loop has run on an object group, I could refresh it by closing it then readding objects.

    You should be able to run a foreach loop scoped to an object for X iterations. For example, run foreach X times instead of the "only one" right now. Right now, you have to work around by invoking a fast loop that invokes the foreach loop- sort of silly.

    Also if possible- it should remove references to grouped objects that do not exist- the stability issues I've seen have to do with having an object in a group which does not exist anymore, causing it to crash

    Maybe its all HWA problems, but I thought it might help to get some feedback going. Thanks for the awesome extension. And as always, let me know if I was mistaken on any of the features, which I probably was

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,541
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Feedback: ForEach Object

    Hrmm, unless I'm mistaken- is the foreach object not breaking the stack and therefore waiting until the current action group has finished before executing a loop?

    If I have actions like this:

    +Condition
    =Start Loop "Foo"
    =Do Something

    The something seems to occur before anything in foo. To me, it seems the loop should most definitely create a new stack frame and return to executing events when it is done- just like the fast loop object and the built in fast loop.

  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: Feedback: ForEach Object

    As far as I know, it is impossible to not break the stack if an event is triggered.
    Working as fast as I can on Fusion 3

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Feedback: ForEach Object

    Quote Originally Posted by Pixelthief
    +Condition
    =Start Loop "Foo"
    =Do Something
    The only reason fastloops run before the do something is because they are inbuilt. Extensions are unable to do that I think.

  5. #5
    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: Feedback: ForEach Object

    What we really need is an object that can save and load the Selected Object List with actions.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,541
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Feedback: ForEach Object

    I was under the impression that functions, fast loops, and other calls in existing extensions preserve the stack frame and return. Given the object groups its events as 'immediates', I thought this would be the expected functionality.

    I agree the object scope list needs WAY more controls

Similar Threads

  1. [Bug] ForEach object crashing the app
    By Konidias in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 5th June 2012, 03:22 AM
  2. ForEach object
    By Ross in forum SWF/Flash Extensions
    Replies: 5
    Last Post: 12th February 2011, 02:39 PM
  3. foreach object extension
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 19th May 2010, 09:53 AM
  4. ForEach Object (Possible Bug?)
    By Atom in forum File Archive
    Replies: 12
    Last Post: 27th April 2010, 06:06 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
  •