silverswim
Programmer
Hi everyone .
I am having trouble working out the rules here. I'm learning this from a book and am trying to understand it...
you can make an object eg grid = {};
and give it properties eg grid.columns;
grid.rows;
then can you add more properties later in the script?
eg,
grid[name]={ x:i, y:j, name:name, clip:grid.path[name]};
grid[name] was a newly created mc, created in a loop, but it doesnt seem to have the same properties as the 1st definition of the game object.
is grid[name] a completley separate object definintion or does it inherit the possibility of a column and row property?
and is path a keyword in actionscript?
thanks so much in anticipation, for any light shed on this.
silverswim
I am having trouble working out the rules here. I'm learning this from a book and am trying to understand it...
you can make an object eg grid = {};
and give it properties eg grid.columns;
grid.rows;
then can you add more properties later in the script?
eg,
grid[name]={ x:i, y:j, name:name, clip:grid.path[name]};
grid[name] was a newly created mc, created in a loop, but it doesnt seem to have the same properties as the 1st definition of the game object.
is grid[name] a completley separate object definintion or does it inherit the possibility of a column and row property?
and is path a keyword in actionscript?
thanks so much in anticipation, for any light shed on this.
silverswim