actionscript 3 - Have Adobe changed Flash's ExternalInterface marshalling? -
i have application written in actionscript 3 has run on versions of flash runtime, including latest - flash 18.
one section of code passes rather complex object (actually tree of objects) as3 js via externalinterface.call(). object has internal cyclic references, , used work, , including flash version 17.
in flash 18 object no longer gets passed, there long pause, , stack overflow thrown. upon further inspection (with debugger , flashbuilder) find pause in tojson method getting called recursively (obviously not correctly handling cycles in object).
the documentation externalinterface states marshalling done using xml , in past i've had problems when i've tried marshal data can't represented in xml work in json, appear having opposite issue, , quite backward step if cyclic references in existing compiled applications break.
has else seen issue?
do know if intentional, permanent, and/or documented? doesn't appear in release notes flash 18, far can see.
Comments
Post a Comment