User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Problem with widget creation and alterable values

  1. #11
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah. I usually get around that by having an ID value that is spread through all instances of an object, and then use an array to store values. You can test for the X Index of the array to = The ID of the instance, and then the Y values would be different alterable values that you can use. It pretty much unlimits you, but it's a hassle that really shouldn't be there.

  2. #12
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jacob View Post
    Yeah. I usually get around that by having an ID value that is spread through all instances of an object, and then use an array to store values. You can test for the X Index of the array to = The ID of the instance, and then the Y values would be different alterable values that you can use. It pretty much unlimits you, but it's a hassle that really shouldn't be there.
    Hmm.. i am not sure I follow, do you have an example of this? Is this method for storing unlimited alterable values? Is it much slower then the regular method? Do you load values from the array into the alterable value slots or do you just refer from the array in all calculations with the values?

  3. #13
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You just refer from the array. You would have expressions like ValueXY("Array", [ID], [Value Index]) or something similar (I forget what the actual syntax of the array object is).

    So if your object has an ID of 3 and you want to access the seventh stored value, you would use ValueXY("Array",3,7)

    It's a little messy and ugly but it does the job. That said, this shouldn't be necessary in the first place and alterable values shouldn't be limited anyway.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  3. Problem with Alterable values
    By Fernando in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th August 2011, 01:57 AM
  4. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  5. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 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
  •