开发者

AS3 ByteArray writeObject() XMLList is null

Why isn't my XMLList writing to my ByteArray?

var suspendData:ByteArray=new ByteArray();

var _questions:XMLList=model.questions;

suspendData.w开发者_运维知识库riteObject(_questions);// only writes 3 bytes

and when I attempt to read it back in it's null.


I don't know why, but the simple fix is to convert your XML to a string first.

If you post more code, I might be able to tell you why though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜