# Monopoly object arrays

**URL:** <https://forum.kirupa.com/t/monopoly-object-arrays/229330>\
**Category:** flash\
**Created:** [June 15, 2007, 10:51pm UTC](https://forum.kirupa.com/t/monopoly-object-arrays/229330 "2007-06-15T22:51:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeventKA](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/leventka/32/2160_2.png) [@LeventKA](https://forum.kirupa.com/u/LeventKA)\
**Post date:** [June 15, 2007, 10:51pm UTC](https://forum.kirupa.com/t/monopoly-object-arrays/229330/1 "2007-06-15T22:51:47Z")

</div>

I’m trying to create a flash monopoly game.

But i want to create an array with my class.

class player{  
var public money:int;  
}

var Player : player = new Array(5);

for(i=0 ;i\<Player.length; i++){  
Player\*.money=100;  
}

I want to code like this
