Your syntax looks fine. What do you mean by "it isn't recognized as a method"?
-Andy
On 8/8/07, [p e r c e p t i c o n] <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> i know htis isn't the fms list, but can anyone tell how to define a method
> in the asc file... for example
>
> i tried to define a method like this
>
> application.helloServer = function()
> {
> trace("hello from server");
> }
>
> but it isn't recognized as a method...
>
> i'm trying to not have to define it on the client side as a member of the
> NetConnection object...
>
>
> thanks
>
> p
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com