I'm getting some rather strange problems with the FDTDefineText class in the SDK. At certain times, the WriteToSWFStream function call of the class (the part being called by either one of the 2 child classes of FTextRecord) would write a bunch of messed up values to the stream, starting with the first byte which has all the flags. What happens exactly is in one of the FDTDefineText object, starting from something like the third FTextRecord to the end of that DefineText is all messed up in the file that is written by the FObjCollection. This only happens at exactly 1 of the many FDTDefineText objects in the FObjCollection. And the same thing happens each time, so I don't think it's a memory leak or the such. Has anyone else had this problem? Any help would be greatly appreciated.