Ok I managed,
I just placed the function in an ActionScript class, not a file
and called the instance of that class from the other ActionScript

Thaks any way

--- In flexcoders@yahoogroups.com, "yossi.baram" <yossi.ba...@...> 
wrote:
>
> Hi guys,
> 
> I have the following ActionScript file:
> [Bindable]
> public function callJavaScript():void {
>     ExternalInterface.call("sayString", "Hello World, from 
> ActionScript");
>       }
> 
> 
> When I try to call callJavaScript() in a different ActionScript 
class, 
> it gives me a none recognize error :(
> 
> I included all AS's in my main mxml file.
> 
> How do I allow a function in AS to be shared among all AS's?
> 
> Thanks
>


Reply via email to