||unity-dev|| clients connected
unity-dev@moock.org
unity-dev@moock.org
Tue Feb 14 00:52:00 2006
--Apple-Mail-1-514660719
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
delsp=yes;
format=flowed
ok so I need to have a small pixel size uApp (flash file) which I =20
place on my front HTML page
that connects to the room and asks
public function onNumClientsInNamespace(e:NamespaceEvent):Void {
// Display the new client count on screen.
clients_txt.text =3D "Unique users: " + e.getNumClients();
}
I guess I could use uApp to connect to room in normal fashion and add =20=
this to the uAppNamespaceview
I have to make the clients_txt text box too but is that all i need to =20=
do ?
clientChatDemo looks good but does too much I just want to simply =20
display number of people
in room before I enter ? does clientChatDemo connect differently to =20
uApp ?
adam
On 31 Jan 2006, at 08:40, unity-dev-admin@moock.org wrote:
> Hi,
> If i am not wrong, you can have this in a namespaceview. I have no the
> example here, but i think if you look at "clientChatDemo" example =20
> you can
> see this. In this example, ChatNamespaceView implements not only
> NamespaceListener, but implements URoomListener too, giving you =20
> chances to
> do this with the onNumClients method.
>
> Hope this helps.
>
> Bye.
>
>
> C=D3MO Tecnolog=EDa - http://www.como.es
> -------------------------------------
> Javier Tardaguila
> Programador
>
> javier.tardaguila@como.es
>
> Duque de Liria, 6
> 3=AA Planta
> 28015 Madrid
> T (34) 91 548 92 60
> F (34) 91 541 10 17
>
> -----Mensaje original-----
> De: unity-dev-admin@moock.org [mailto:unity-dev-admin@moock.org]
> Enviado el: lunes, 30 de enero de 2006 19:36
> Para: unity-dev@moock.org
> Asunto: ||unity-dev|| clients connected
>
> I have some code to show number of clients when i am connected/ =20
> inside the
> room
>
> However I would like to have a front page that reports the number =20
> of clients
> connected to a unity room you are about to enter
>
> Is this possible ?
>
> Adam
>
>
>
> --
> you're a unity-dev subscriber. to unsubscribe, visit
> www.moock.org/mailman/listinfo/unity-dev/
>
> superb hosting for this list and moock.org is generously provided by
> Rackspace. See: http://www.rackspace.com/?supbid=3Dmoock
>
>
> --
> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/=20
> mailman/listinfo/unity-dev/
>
> superb hosting for this list and moock.org is generously provided =20
> by Rackspace. See: http://www.rackspace.com/?supbid=3Dmoock
--Apple-Mail-1-514660719
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida =
Grande; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><DIV =
style=3D"font-family: Helvetica; ">ok so I need to have a small pixel =
size uApp (flash file) which I place on my front HTML page=A0</DIV><DIV =
style=3D"font-family: Helvetica; ">that connects to the room and =
asks</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
face=3D"Courier" size=3D"3"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 10.6px;"><BR =
class=3D"khtml-block-placeholder"></SPAN></FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" face=3D"Courier" =
size=3D"3"><SPAN class=3D"Apple-style-span" style=3D"font-size: =
10.6px;">public function onNumClientsInNamespace(e:NamespaceEvent):Void =
{</SPAN></FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
face=3D"Lucida Grande"><FONT class=3D"Apple-style-span" face=3D"Courier" =
size=3D"3"><SPAN class=3D"Apple-style-span" style=3D"font-size: =
10.6px;">=A0 </SPAN></FONT><FONT class=3D"Apple-style-span" =
face=3D"Courier" size=3D"3"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 10.6px;">// Display the new client count on =
screen.</SPAN></FONT></FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" face=3D"Lucida Grande"><FONT =
class=3D"Apple-style-span" face=3D"Courier" size=3D"3"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: =
10.6px;">=A0=A0</SPAN></FONT><FONT class=3D"Apple-style-span" =
face=3D"Courier" size=3D"3"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 10.6px;">clients_txt.text =3D "Unique users: " + =
e.getNumClients();</SPAN></FONT></FONT></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" face=3D"Courier" size=3D"3"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: =
10.6px;">}</SPAN></FONT></DIV><DIV style=3D""><FONT =
class=3D"Apple-style-span" face=3D"Lucida Grande"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><FONT =
class=3D"Apple-style-span" face=3D"Lucida Grande">I guess I could use =
uApp to connect to room in normal fashion and add this to the =
uAppNamespaceview<BR =
class=3D"Apple-interchange-newline"></FONT></SPAN></SPAN> </DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I have to make the =
clients_txt text box too but is that all i need to do ?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>clientChatDemo looks good =
but does too much I just want to simply display number of =
people</DIV><DIV>in room before I enter ? does clientChatDemo connect =
differently to uApp ?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>adam</DIV><BR><DIV><DIV>On =
31 Jan 2006, at 08:40, <A =
href=3D"mailto:unity-dev-admin@moock.org">unity-dev-admin@moock.org</A> =
wrote:</DIV><BR class=3D"Apple-interchange-newline"><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Hi,<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If i am =
not wrong, you can have this in a namespaceview. I have no the</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">example here, but i think if you look at =
"clientChatDemo" example you can</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">see this. In =
this example, ChatNamespaceView implements not only</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">NamespaceListener, but implements URoomListener too, =
giving you chances to</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">do this with the =
onNumClients method.</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Hope this helps.<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bye.<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">C=D3MO Tecnolog=EDa - <A =
href=3D"http://www.como.es">http://www.como.es</A></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">-------------------------------------</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Javier Tardaguila</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">Programador</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><A =
href=3D"mailto:javier.tardaguila@como.es">javier.tardaguila@como.es</A></D=
IV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Duque de =
Liria, 6</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">3=AA Planta</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">28015 Madrid</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">T (34) 91 548 =
92 60</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">F (34) 91 541 10 17</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-----Mensaje original-----</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">De: =
unity-dev-admin@moock.org [<A =
href=3D"mailto:unity-dev-admin@moock.org">mailto:unity-dev-admin@moock.org=
</A>]<SPAN class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Enviado el: lunes, 30 de enero de 2006 =
19:36</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Para: <A =
href=3D"mailto:unity-dev@moock.org">unity-dev@moock.org</A></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Asunto: ||unity-dev|| clients connected</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have =
some code to show number of clients when i am connected/ inside =
the</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">room</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">However =
I would like to have a front page that reports the number of =
clients</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">connected to a unity room you =
are about to enter</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Is this possible ?</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">Adam</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">you're a unity-dev subscriber. to unsubscribe, =
visit</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">www.moock.org/mailman/listinfo/unity-dev/</DIV><DIV style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">superb =
hosting for this list and moock.org is generously provided by</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Rackspace. See: <A =
href=3D"http://www.rackspace.com/?supbid=3Dmoock">http://www.rackspace.com=
/?supbid=3Dmoock</A></DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">--</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">you're a unity-dev =
subscriber. to unsubscribe, visit <A =
href=3D"http://www.moock.org/mailman/listinfo/unity-dev/">www.moock.org/ma=
ilman/listinfo/unity-dev/</A></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">superb hosting for this list and =
moock.org is generously provided by Rackspace. See: <A =
href=3D"http://www.rackspace.com/?supbid=3Dmoock">http://www.rackspace.com=
/?supbid=3Dmoock</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>=
--Apple-Mail-1-514660719--