
columns [read-write]
ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Controls the number of thumbnail columns.
Acceptable values include any number greater than 0 that doesn't horizontally subdivide the thumbnail grid to the point where thumbnail elements have a width that's smaller than 10 pixels wide. Any number greater than that maximum threshold is ignored, and the maximum number of possible columns is used.
The default value is 6.
public function get columns():Number
public function set columns(value:Number):void
The following divides the thumbnail grid into four columns.
my_tg.columns = 4;