Macromedia Flash Server - Fw: gFrameworkFC.ClientGlobals(client)

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > August 2005 > Fw: gFrameworkFC.ClientGlobals(client)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Fw: gFrameworkFC.ClientGlobals(client)
Brandon_Krakowsky-t6Q6IArRIhmxKhIkFyZ7poFTLv+w

2005-08-05, 5:46 pm

I'm defining clientGlobals in the main.asc When someone first logs in,=20
several things are saved, like username, login time, etc. If I don't use=20
any components, how would I use clientLocals? I don't think I can define=20
these in the main.asc, can I?

Thanks,
Brandon




Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>=20
08/04/2005 11:31 PM
Please respond to
Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


To
"Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org"=20
<Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org>
cc

Subject
Re: [FlashComm] gFrameworkFC.ClientGlobals(client)






I suggest use clientLocal if you have a component var only. You only
use the global object if you want to share data across components.

Fernando

On 8/4/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
<Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
>=20
> Thanks. I'm storing all kinds of things which is extremely useful. I'm
> storing large arrays with user info. Just wanted to make sure I wasn't
> pushing it when this object is intended for something simple, like a
> username, date, time, etc.=20
>=20
> Thanks,=20
> Brandon=20
>=20
>=20
>=20
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>=20
> Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
>=20
> 08/04/2005 03:25 PM=20
> Please respond to
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>; Please respond to
> FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>=20
> ToFlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>=20
> cc
> SubjectRe: [FlashComm] gFrameworkFC.ClientGlobals(client)
>=20
>=20
>=20
>=20
>=20
>=20
> There's no limit. ClientGlobals is a server-side object so you
> don'tany restriction from that part.
>=20
> Fernando
>=20
> On 8/4/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
can[vbcol=seagreen]
client[vbcol=seagreen]
> =3D-----------------------------------------------------------
> =3D-----------------------------------------------------------
>=20
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
>



=-----------------------------------------------------------
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

Fernando Flórez

2005-08-05, 5:46 pm

If you are not using components then there's no need to use
clientGlobals at all. You can specify those vars on the Client
instance.

Thanks,
Fernando

On 8/5/05, Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
<Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
> I'm defining clientGlobals in the main.asc When someone first logs in,
> several things are saved, like username, login time, etc. If I don't use
> any components, how would I use clientLocals? I don't think I can define
> these in the main.asc, can I?
>=20
> Thanks,
> Brandon
>=20
>=20
>=20
>=20
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 08/04/2005 11:31 PM
> Please respond to
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>=20
>=20
> To
> "Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org"
> <Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org>
> cc
>=20
> Subject
> Re: [FlashComm] gFrameworkFC.ClientGlobals(client)
>=20
>=20
>=20
>=20
>=20
>=20
> I suggest use clientLocal if you have a component var only. You only
> use the global object if you want to share data across components.
>=20
> Fernando
>=20
> On 8/4/05, Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
> <Brandon_Krakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
m[vbcol=seagreen]
> can
> client
>=20
>=20
> -----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> -----------------------------------------------------------
>=20
> 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

Brandon_Krakowsky-t6Q6IArRIhmxKhIkFyZ7poFTLv+w

2005-08-05, 5:46 pm

What if I want to save data from a clientLocal in a shared object=20
onDisconnect?

I have a tracking system which tracks login and logout time. When the=20
user logs in, I save the date, time, etc. in a clientGlobal. When they=20
logout (disconnect), I grab their clientGlobal, add to it the logout date=20
and time, and save it in a shared object. How can I do the same, but with =

clientLocal, if I'm not using components? I know I can save all of the=20
same info in a client-side variable when a user logs in, but when they log =

out, I still need to write it to the shared object.

Know what I mean? It just seems easier to do it server-side. Please=20
correct me if I'm on the wrong track.

Thanks,
Brandon





Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>=20
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
08/05/2005 02:38 PM
Please respond to
Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>; Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>


To
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc

Subject
Re: Fw: [FlashComm] gFrameworkFC.ClientGlobals(client)






If you are not using components then there's no need to use
clientGlobals at all. You can specify those vars on the Client
instance.

Thanks,
Fernando

On 8/5/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
<Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
> I'm defining clientGlobals in the main.asc When someone first logs in,
> several things are saved, like username, login time, etc. If I don't=20

use
> any components, how would I use clientLocals? I don't think I can=20

define
> these in the main.asc, can I?
>=20
> Thanks,
> Brandon
>=20
>=20
>=20
>=20
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 08/04/2005 11:31 PM
> Please respond to
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>=20
>=20
> To
> "Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org"
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org>
> cc
>=20
> Subject
> Re: [FlashComm] gFrameworkFC.ClientGlobals(client)
>=20
>=20
>=20
>=20
>=20
>=20
> I suggest use clientLocal if you have a component var only. You only
> use the global object if you want to share data across components.
>=20
> Fernando
>=20
> On 8/4/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
I'm[vbcol=seagreen]
wasn't[vbcol=seagreen]
> can
> client
>=20
>=20
> -----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> -----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>


=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com