Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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
Reply:     1     2     3  

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)