I use this SO class ;)
http://mirror1.cvsdude.com/trac/osflash/xray/browser/DEV_Source/xray/classes/com/blitzagency/util/LSOUserPreferences.as
Usage:
LSOUserPreferences.load("nameOfSO");
LSOUserPreferences.setPreference(propertyName:String, value,
persistent:Boolean);
LSOUserPreferences.getPreference(propertyName:String);
Events:
load: fired when LSO is loaded
save: fired when flush is attempted. Includes status message.
be sure to get GDispatcher or switch out the eventdispatcher with MM's or
whatever you like:
GDispatcher.as<http://mirror1.cvsdude.com/trac/osflash/xray/browser/DEV_Source/xray/classes/com/blitzagency/events/GDispatcher.as>
hth,
JG
On 6/16/06, Caruso Canepari <[EMAIL PROTECTED]> wrote:
Michael Stuhr <[EMAIL PROTECTED]> wrote:
never tried but you could also use:
http://www.meychi.com/source/actionscript/classes/Cookie.as
Hi, thanks for replying.
Being desperately ignorant, I could be wrong but here meychi code:
public function save(object):Void {
this.localObject.data[this.name] = object;
this.localObject.flush();
}
lets you add only one property (with the name of the cookie): am I wrong?
Instead, I would be able to save many properties in the same cookie.
And: I don't want to add and flush: I just want to add.
Another method, if is the case, will write the cookie.
But, of course, if you think I'm loosing my time, I'd be glad to know it
;-)
CC
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
John Grden - Blitz
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com