javascript system question

I have this code:

class S_AnimationConfig
{
	var name : String;
	var crossfade : float;
	var time : float; 
	var cicles : int; 
	var interruptable : boolean;
	var next : S_AnimationConfig;
};

with which i want to create a list by having this next member to point to the next animation in the sequence, but i heard that this could have problem with Serialization (a concept i dont even know) so…

What is Serialization ?
How do i DE-serialize it ?
Do you have a link in where i could learn Serialization ?

Thanks

.ORG

I had a lot of problems with serialization. Just make sure you make your serialization code a .dll or else it won’t be able to de-serialize the object. C# serialization info: Radar – O’Reilly

with which i want to create a list by having this next member to point to the next animation in the sequence

This is called a linked list. I’m not sure if this is possible in JS without the pointers… Linked list - Wikipedia

Thanks for your reply and your links, i went for ArrayList anyways.

I know what a linked list is, that was what i was trying to achieve, i love them :sweat_smile:

BTW, i dont know yet the syntax to put that member NotSerializable, that could be the answer…

.ORG