  | |  | crashing on MAC with SO (I do not have a mac) | crashing on MAC with SO (I do not have a mac)
2004-02-17 - By Brajeshwar
Back Hi,
I have a situation where my app crashes on Mac but fine on PC.
Here we go,
My code works fine on a PC, is there a different way to deal with
SharedObjects on a Mac? From what i have in MM docs,
the flush method when called with a size parameter(in bytes) saves the
SO to disk. Now on the PC if the estimated size of the SO is
greater than the size allowed, it pops up the Settings window to accept
or deny the request. So what i am doing now amounts to this,
var so = SharedObject.getLocal ( "foo ", "/ ");
so.data.foo = 1;
var minSize = 10000000000; // for unlimited
so.flush (minSize);
The above however crashes on the Mac. From what I have so far, I am
thinking that the Mac player tries to save the SO without requesting
permissions, ie a bug with so.flush ().
Can somebody help me with a simple code with SO api usage, that does not
crash on the Mac player in question, that is without changing any
settings manually.
Thanks
Regards
Brajeshwar
http://brajeshwar.com/
http://oinam.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104475
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |