Hello,
I was wondering If some one can help in teaching me how to target a function in one .as file from another .as file.
For example.
Lets say that in as1.as I have a function:
//---------as1.as
Function hello():Void {
Trace(“hello”);
}
And in as2.as I have function with in a button;
//---------as2.as
Button1.onRelease = function():Void {
Hello();
}
Hope it makes sense.
Thank you.