Hi everyone…
I’m try to calling my sloppy global function by calling my global function class as u can see below
package{
public class GlobalFunc{
public static function someFunc():void{
trace("some global function");
}
}
}
My problem is why it’s thrown undefined underneath the trace statement…
//some testing
trace(GlobalFunc.someFunc());
//output
some global function
undefined–>why???
Hope someone can lighting me up on this…tq in advanced…
Tq