Re: [Twisted-web] canvas without flash and optimization patches
Steven Armstrong wrote:
Wouldn't it be possible to use something like JSON [1] instead of XML? Like that you may have the best of both worlds. Structured data and a lighter format than xml. JS and Python work very nicely with it.
At first glance, it seems not so easy because the eval function in Flash does not work like in Javascript: its parameter can only be "a string containing the name of a variable, property, object, or movie clip to retrieve" and not any arbitrary expression [1]. Of course you can do that yourself but then you would probably find out that Flash's native XML parser does a better job.. that would be interesting to find out... ciao ste [1] http://www.macromedia.com/support/flash/action_scripts/actionscript_dictiona...
participants (1)
-
Stefano Debenedetti