Re: [flexcoders] AMF Serialization hooks?

2007-03-07 Thread Jim Cheng
Samuel R. Neff wrote:
> Is there any way to run custom code related to AMF serialization without
> writing everything from scratch using IExternalizable?  From the docs it
> seems like the only option is to do it all yourself or do nothing
> yourself--no middle ground.

The ByteArray native class supports AMF serialization/deserialization of 
raw byte data via its readObject() and writeObject() methods.  You can 
also specify whether to use AMF0 or AMF3 as the serialization format.

I've used this previously to read/write to legacy raw AMF-encoded data 
files that I created previously using Flash 8 SWFs and a custom server 
back-end.

It's pretty low-level and I'm not sure if going this route is any better 
suited for what you're doing, but it's worked well for me in the past 
when I needed something in between basic AMF serialization and writing 
full-blown file format parser/emitters.

Jim Cheng
effectiveUI


[flexcoders] AMF Serialization hooks?

2007-03-07 Thread Samuel R. Neff

Is there any way to run custom code related to AMF serialization without
writing everything from scratch using IExternalizable?  From the docs it
seems like the only option is to do it all yourself or do nothing
yourself--no middle ground.

I'd like to primarily use the built-in AMF serialization but run some extra
code after deserialization is complete.

Thanks,

Sam


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]