[Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Hi list... I'm trying to figure out what I'm missing in trying to instance a class via composition: I have 2 external classes: questions and puzzle. class questions { public var qa:Object = new Object(); function questions() { qa[0] = new Object();

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
Learning Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael >>Sent: Friday, June 16, 2006 4:40 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders]

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
ology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Merrill, Jason >>Sent: Friday, June 16, 2006 4:48 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Composition problems &g

RE: [Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Thanks Jason. I figured it out. I was getting tripped up by the fact that how I was doing it was only returning functions, not properties. In my fixed puzzle class: private function defineQuestions():Void { // create the question and answer data object...

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
[EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael >>Sent: Friday, June 16, 2006 4:56 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Composition problems >> >>Thanks Jason. I figured it out. I was ge

RE: [Flashcoders] Composition problems

2006-06-16 Thread Bernard Visscher
> Another things, a lot of people also capitalize class names, > but that's personal preference. And if you aren't already, > would recommend you organize your classes into packages - > will get real messy real quick if you don't. And if you do create packages as Jason proposed.. My personal