Fw: gFrameworkFC.ClientGlobals(client)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Fw: gFrameworkFC.ClientGlobals(client)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 10: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.o
rg=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@publi
c.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.gma
ne.org
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wr
ote: 
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






[ Post a follow-up to this message ]



    Re: Fw: gFrameworkFC.ClientGlobals(client)  
Fernando Flórez


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 10: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.o
rg
<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> wrot
e: 
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






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 10: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.gm
ane.org>


To
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gm
ane.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.gma
ne.org
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wr
ote: 
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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register