I want to send data from mainClass (Flash class) to my Starling class. Here is the code of two classes. I need to pass data between them.
package { import flash.
Fast solution , useful in some cases: make static function in mainClass and call it when your Main instance is ready (in addToStage for example)
static
mainClass
Main
addToStage