[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-31 Thread jnewport
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, October 30, 2009 6:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Alex, first thanks for spending so much time helping me with this. How do

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-31 Thread Alex Harui
[mailto:flexcod...@yahoogroups.com] On Behalf Of jnewport Sent: Saturday, October 31, 2009 9:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back How would I go about doing that? Would I need to null out the transform object first

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Thursday, October 29, 2009 9:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back I can't seem to get

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back I can't seem to get this to work saving to a SQLite3 database. The code works writing (Data object contains 101 objects), but when reading the bytearray the Data object ends up with 0

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Getting error 1144: Interface method readExternal in namespace flash.utils:IExternalizable is implemented with an incompatible signature public class Data extends EventDispatcher implements IExternalizable public function writeExternal(output:IDataOutput) {

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Just realized need return type. --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Getting error 1144: Interface method readExternal in namespace flash.utils:IExternalizable is implemented with an incompatible signature public class Data extends EventDispatcher

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
What about using the JSONEncoder and JSONDecoder? Will I have the same issue? Jason --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Just realized need return type. --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: Getting error 1144: Interface

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Can't even use an JSON encoding at com.adobe.serialization.json::JSONEncoder/objectToString() jason --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: What about using the JSONEncoder and JSONDecoder? Will I have the same issue? Jason --- In

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, October 30, 2009 9:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Can't even use an JSON encoding

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
: Friday, October 30, 2009 9:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Can't even use an JSON encoding at com.adobe.serialization.json::JSONEncoder/objectToString() jason --- In flexcoders

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread seanmcmonahan
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, October 30, 2009 9:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Can't even use an JSON encoding at com.adobe.serialization.json

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Can't even use an JSON encoding at com.adobe.serialization.json::JSONEncoder/objectToString() jason --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, flexaustin flexaustin

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
[mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, October 30, 2009 11:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back I don't think so. Its just that it isn't just a generic simple Object or Array but rather

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread flexaustin
: bytearray.readObject doesn't convert my objects back I don't think so. Its just that it isn't just a generic simple Object or Array but rather a large Class file which contains other large class files. So imagine saving something like your entire displaylist, but not the visual just the data behind

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread Alex Harui
://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, October 30, 2009 6:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back Alex, first thanks for spending so much time

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread flexaustin
Not sure how that works and would I need it if I am not saving the file to a SharedObject? I am trying to save a CustomData class to a sqlite database. So I am trying to convert to a bytearray and then string. So that if the user opens the app say a week later they can pull the object from

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread flexaustin
I can't seem to get this to work saving to a SQLite3 database. The code works writing (Data object contains 101 objects), but when reading the bytearray the Data object ends up with 0 objects inside it. Its like it just returns a new Data object. FYI, the Data object I am converting to a

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread Alex Harui
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Thursday, October 29, 2009 9:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bytearray.readObject doesn't convert my objects back I can't seem to get this to work saving to a SQLite3 database. The code works