User Tag List

Results 1 to 7 of 7

Thread: Saving grid status incl. array

  1. #1
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)

    Saving grid status incl. array

    I am trying to find a better way to use a grid with an Array.
    So far I came up with this, which saves tons of less code.

    Only thing I am stuck is with, on how to save the status and load the status..

    Any thoughts?

    Thank you

  2. #2
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    ok, I got it to load as well, but HOW can I get the status from 1 cell ? ie. Counter = Cellstatus from cell 24 ???
    Cause once I save it, and load it I am not getting the updated statuses.. and it seems like it's not reading them, once it gets saved for a 2nd time.
    OR do I need to read the cells differently, since with the old grid I had from left to right cell 1,2,3,4,5 etc and now it seems to be backwards when I assign an ID to it

  3. #3
    Clicker

    Join Date
    Jul 2011
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://mfa.aquadasoft.com/upload/139...e_of_grid2.mfa

    I am unsure if this is what you were aiming for. I added a ForEach loop which seems to fix things, but I may have had the wrong goal in mind.

  4. #4
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    I'll look at it once I get home tonight.
    I was debating a loop, but it showed when I was loading, so I ignored it... guess I shouldn't have done that after all.
    Since I can't see the loop atm, how do I get the status from 1 cell? since they are all duplicates now
    how do I get the status from (ie.) cell 24 or cell 12 without clicking on it ?

  5. #5
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    ok, I moved a step backward, since I got lost with the code, so I went to basic logic for now lol, so I can see what I am missing here..

    Now you can click on a cell and change the color...
    But NOW I want to change that..

    I want to click on a colored cell on the right, and once that is selected, then I want to use the click for that cell color..

    I got this to work just fine when I was doing it the old way with overlays/masks etc.
    but now with this, I can't get it to work.

    What do I need to change to make it work, since when I change the click event, it changes all the cells

    Thanks

  6. #6
    Clicker

    Join Date
    Jul 2011
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  7. #7
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Thanks

Similar Threads

  1. Saving objects in a Grid
    By Klownzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th April 2014, 06:59 AM
  2. Loading Array info into grid
    By Perry in forum Fusion 2.5
    Replies: 1
    Last Post: 6th January 2014, 07:55 PM
  3. Looking for a grid/array object to overlay screen
    By Cybert9 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2012, 07:12 PM
  4. Saving an array?
    By Tsun in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 7th April 2012, 04:08 PM
  5. saving and loading grid co-ordinates at runtime
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd February 2009, 06:29 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
  •