I am trying to access another class function. I have 2 Classes and my main menu features are in my Main Class and I want to call that function from my Level Class
What is a good idea to approach this, some how I need to import it in a way but I don't know how I could do that.
Fixed it myself
public static var instance:Main;
public function Main()
instance = this;
And I called a function from Main Class in my Level Class using: