Your:
class rect {
needs to be:
class com.drawing.rect {
And
Either move:
private var ref:Object = target_mc;
To outside the drawRectangle() function or drop the word private from
the declaration.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of murder
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
2 matches
Mail list logo