How can I call a public function that lives outside a
I have a "Main.mxml" file that is set as my default
application. In this file I have a public function called
"switchView(). I also have another mxml file called "LoginView". I
want to call the public function in Main.mxml from LoginView.mxml.
Does that make sense? There are certain functions I want to be
available across the board to multiple components. I prefer this
method if possible.