User Tag List

Results 1 to 4 of 4

Thread: [BUG?] LoopIndex comparison

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [BUG?] LoopIndex comparison

    I have an event "compare two general values": LoopIndex("loop")>=10 --> do something

    Works when run inside MMF2, but doesn't work in swf. The loop itself is started and the number of loops is higher than 10.

    Has anyone else encountered this problem?

  2. #2
    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: [BUG?] LoopIndex comparison

    If it works in MMF2, then I suppose you probably do have the "On loop" condition as well.

    If not... well... heh you better!

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG?] LoopIndex comparison

    Good point.

    But there is still a difference in behavior. When I use LoopIndex("loop")=Number of loops (without "on loop") to test when the loop has run to its end, it triggers action in MMF2 but not in swf.

  4. #4
    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: [BUG?] LoopIndex comparison

    Try adding the LoopIndex to a list object during the loop. See what it does in the SWF.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Issue with LoopIndex and strings
    By AndyH in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 30th December 2013, 05:13 PM
  2. [Bug] LoopIndex Compare Name
    By Stephen in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 2nd May 2012, 06:02 PM
  3. String Comparison
    By Jesse in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 30th April 2010, 11:28 PM
  4. Image Comparison
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th March 2010, 01:34 PM
  5. Nested loops and get loopindex
    By Shadoku in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th September 2007, 04:13 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
  •