Even if you could, you'd run into SharedObject size restrictions for
most users as per their player default settings.
 

Jason Merrill 
Bank of America  
Global Technology & Operations, Learning & Leadership Development 
eTools & Multimedia Team 


 


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Cheng
        Sent: Thursday, March 01, 2007 3:22 PM
        To: [email protected]
        Subject: Re: [flexcoders] Save a BitmapData as a local file
        
        

        jwopitz wrote:
        
        > I don't quite understand the question here. Are you asking can
you save
        > some var myPic:BitmapData to your localSharedObject?
        > 
        > That's how I understand it. I have never tried but I assume
that you
        > could. We have been able to save some very complex object type
to our LSOs
        > without any issue.
        
        Unfortunately, there's a few non-primitive data types that can't
be 
        saved to shared objects owing to an apparent lack of
serialization 
        support in the native code. Among these are BitmapData and
ByteArray.
        
        To persist these data into shared objects, they must first
serialized 
        into primitives before they can be persisted into shared
objects, for 
        instance, as Base64-encoded string or a packed array of 8-byte
Numbers.
        
        Jim Cheng
        effectiveUI
        
        

         

Reply via email to