![]() ![]() Everything is converted into a dynamic object with only basic data types (int, number, string, array, object), and the shared object is only open long enough to immediately clone its data contents into another structure to avoid potential fuckery. ![]() If that class has gone missing****, or no longer has properties that are in the serialized object, the whole thing breaks.Īnd now you know why TiTS saves things in the way it does. When you then load the object, Flash looks for that class to create an instance of it. If you have a custom class and serialize it, the *class path* itself gets serialized into the object. * This is done using structural encoding called AMF. If you modify the data in the referenced object, you're also modifying data inside the shared object**.Ĭertain things (including closing the swf/tab/etc) will flush the current state of the shared object to disk***. ![]() If you just grab the data segment after loading the shared object, you're referencing the object structure directly. It's how shared objects work, for "ease of use".Ī shared object is a container that has a *data segment that gets written to disk. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |