[Flashcoders] oop[s?]

2006-03-10 Thread murder design
coming from a C/ASM background, and today is my first day trying to convert all of the hundreds upon hundreds of lines of code i use daily to a component/classes. i want to organize it, so i have my main file in the root directory (mysite.com) importing with: // begin code import

RE: [Flashcoders] oop[s?]

2006-03-10 Thread Robert Chyko
design Sent: Friday, March 10, 2006 11:46 AM To: Flashcoders mailing list Subject: [Flashcoders] oop[s?] coming from a C/ASM background, and today is my first day trying to convert all of the hundreds upon hundreds of lines of code i use daily to a component/classes. i want to organize it, so i

Re: [Flashcoders] oop[s?]

2006-03-10 Thread Adrian Park
Your class decleration should be: // begin code class com.drawing.rect { i.e. you need to declare it with the full classpath Your ref property should be declared like this: var ref:Object = target_mc; i.e. you shouldn't use the private or public keywords within a method since the property is