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
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
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
3 matches
Mail list logo