attachMovie OOP type of thing help. >:D

[font=Arial]

MicroEgg = function () {
 this.health = 10;
 this.cost = 100;
 this.attack = 0;
 this.name = "MicroEgg";
 _root.MicroEgg.attachMovie(_root.MicroEgg, MicroEgg+i, 1);
};

[/font][font=Arial]That’s the code I have currently. My problem is, I need it to be where when you make a new “MicroEgg” it has the graphics of it, and for it to be placed randomly on the screen. (W = 550, H = 400) I’ve never been too good with OOP or attachMovie, mainly because i’ve never used them until now. Thanks in advance, and if your here to critisize my sloppy work [/font]

[font=Arial]º( ò,ó)=O)>,ó)[/font]
[font=Arial][/font]
[font=Arial];D[/font]