Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

objects

Status
Not open for further replies.

silverswim

Programmer
Oct 17, 2001
50
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top