Is there any way to call Js function in a .js file from action script file (Here, I mean a "stand alone" .js file, not a js file embedded in html tag)
Suppose I have a file lib.js, and inside it, I have two function hello(str) and bye(str).
Now, I want my function sayHello(str) in my Calculator.as class be able to do something like that:
function sayHello(str:String) : void {
hello(str)
...........
...........
bye(str)
}
It's possible to have such function like that ?