Repro:
Didn't test if it's the same with height & depth.
Demo: http://dl.dropbox.com/u/46072108/arraybug.capx
What makes the bug annoying is that you can't simply work around it by resetting the size on layout switch because it appears to get ignored as well. Would appreciate resolution in next release. <img src="smileys/smiley16.gif" border="0" align="middle">
Also just noticed that if you log Array.CurX while looping through it, CurX will be 0 for all iterations past the width you set in the object properties.
Eg 0 1 2 3 4 0 0 0 0 0
Develop games in your browser. Powerful, performant & highly capable.
Oops, a typo in the source means the non-global Array object isn't destroyed at the end of the layout - so when you come back, there are 2 instances of the Array object! Fixed for next build.
Super, thanks!!!