off the top of my head, I'm thinking extend vs.Connection with the
method userBell
On Feb 9, 2009, at 11:11 AM, tom wrote:
what i tried now:
Server:
IServiceCapableConnection service =
(IServiceCapableConnection)current;
service.invoke("userBell", new Object[]{"One", 1});
CLient:
m_red5connection.addEventListener("userBell", message);
Client function:
public function message ( message:Object ):void{
trace("message");
for ( var a:* in message )
trace(message[a]);
}
again, same result:
ReferenceError: Error #1069: Property userBell not found on
vs.Connection and there is no default value.
---------- Forwarded message ----------
From: tom <[email protected]>
Date: Mon, Feb 9, 2009 at 10:33 AM
Subject: IServiceCapableConnection invoke CLient Method Flex3
To: [email protected]
hi, im following basically this turotial:
http://www.red5tutorials.net/index.php/Tutorials:Streaming_and_database_connection_with_red5_media_server
,
here the important part:
IServiceCapableConnection iconn = (IServiceCapableConnection)conn;
iconn.invoke( "message" , new Object[] {streamList} );
my problem is, i cant invoke the client mehtod:
public function message ( message:Object ):void
this is what flex is telling me:
ReferenceError: Error #1069: Property message not found on
vs.Connection and there is no default value.
what do i have to do here?
thx tom
--
sip:[email protected]
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org