User Tag List

Results 1 to 4 of 4

Thread: What does the X,Y,Z dimensions of the Array object mean?

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,757
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Question What does the X,Y,Z dimensions of the Array object mean?

    I can write the string to array object at exceed on defined dimensions by property.
    I think "dimensions" is limit to prevent to write data into the Array object.
    What does the X,Y,Z dimensions of the Array object mean?
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    What does the X,Y,Z dimensions of the Array object mean?

    The dimensions are like rows and columns. Think of a grid. The horizontal rows would be the Y dimension and the vertical columns would be the X dimension. Similar to X and Y axis on a graph. The Z dimension acts as multiple arrays stacked on top of each other.

    So if you write a string in cell (1,3,2) assuming it's following (x,y,z) the cell would be located in the first column, third row down, in the second array.

    Check the properties of the array object. You have to define it as either a value or string array. Then you need to specify how large the array dimensions are in the properties. You're probably trying to write a string to either a value array or your trying to write in a cell outside of your dimension parameters.


    Sent from my iPhone using Tapatalk

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    I think ASD could be asking:
    "why I can write outside dimensional limit I set?
    What are dimensions used for, since I can bypass them?"

    If this was the question,
    preset dimensions are mainly to take into account for:

    1) memory allocation / disk space on saving

    2) performance reasons

    presetting a number array to a big size will make its memory / save size already at max-size it can get
    while with text array changes happen more gradually and the array become bigger while you write on them, makes less difference

    expanding the array (writing outside its boundaries) is a complex operation that takes time to perform
    (and much more if you use many Z-indices)
    you won't notice any issue while indices are low and you expand few times,
    but it will make a big difference if you're going to write a lot of data to the array, in short times

    I remember testing that expanding an array one-step-at-time (i.e. adding one "X row" at time)
    for writing from a 5000 index on, made the array perform as a list object,
    and much more slow than the list from then on
    while if you don't expand the array during runtime it is 50 times faster than a list (25 times faster than a hidden list)

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,757
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    @ schrodinger
    > 1) memory allocation / disk space on saving
    Ah understood. Thanks!

Similar Threads

  1. Array and dimensions.
    By Aasland in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th April 2012, 05:26 AM
  2. How fast is Array object in massive dimensions? (thousands x thousands)
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st November 2011, 12:16 PM
  3. Dimensions in binary array
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 4th May 2011, 11:59 PM
  4. backdrop object's "integral dimensions"?!?
    By Snakesoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th September 2007, 11:37 AM
  5. object dimensions
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 6th April 2007, 06:18 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
  •