| Stefan Richter 2005-09-28, 7:45 am |
| In your case the lobby acts as a client to a room.
Therefore you may define
Client.prototype.functionName=function(para1, para2){
trace("Room's functionName has been called");
}
in your room's .asc file (note the capital C in client!).
Put this function outside any onConnect etc and you should be golden.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Daniel Pedro
> Sent: 28 September 2005 00:21
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: Re: [FlashComm] RMI-Lobby HELP
>
>
>
> Ok I am at a point now where I am not sure what I am doing
> wrong... I have a lobby calling a room by way of
> call("functionName",null,param1,param2);
>
> the problem is that everytime I get the same message
> "function (functionName) not found."
>
> I have tried nc.functionName=function(){}
> client.prototype.functionName=function(){}
> application.functionName=function(){}
> function functionName(){}
>
> I know my connection is good because I am reading from a
> proxied shared object.... so is there some secret to RMI on
> the serverside between connected instances? pulling my hair
> out...still a newbie..
>
> thanks all in advanced
> Dan
>
> ________________________________________
_______
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|