Use static functions.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ACasualObserver
Sent: Thursday, January 11, 2007 5:18 PM
To: [email protected]
Subject: [flexcoders] Accessing the main class



I am creating an AS3 application. The mail file has some thing like
this:

package {
import ...;
public class myClass extends Sprite
{
public function svg()
{
}
}
}

I also have other classes that will be created by myClass or other
classes. Is there anyway that I can calls methods in myClass? In other
word, is myClass instance globally available?

Thanks



 

Reply via email to