PrimalScript from Sapien Technolgoies is now available as a public beta! Some of you may have already seen Sam and I post about this editor, if you have not here are some details of what features it brings for ActionScript 2.0 (It also supports 30+ other languages and introduces support for Flex, JSFL, and FCSSAS) .
Continue reading ‘The best ActionScript 2 IDE on the planet starts public beta’
Archive for December 9th, 2003
In response to a support request for our charting components I was looking into how a v1 component utilizes a v2 data source, such as the results from a WebServiceConnector. In stepping through the code, I noticed something surprising: the XML returned from the web service is deserialized on an as-needed basis instead of all at once. In the XML world this is called “lazy deserialization” and it’s a big feature I’ve never heard anyone mention as related to Flash MX 2004.
Curious? Here’s how it works…
Continue reading ‘Lazy deserialization improves WebService performance in Flash MX 2004′
I couldnt sleep for some reason Sunday night so I decided to look through the File Format Specifications that Macromedia published recently. To my surprise there are a few things in there that I found interesting.
The cool chapter to check out is the Whats New in Macromedia Flash (SWF) File Format 7. In this chapter, there is mention of ScriptLimits which is a tag that sets the Maximum recursion depth and the script timeout seconds of a swf. Usually the MaxRecursionDepth is set to 256 as anyone whos had the player loop a few too many times, and the ScriptTimeoutSeconds is responsible for that dialogue that pops up after 15 seconds.
It turns out that in the new player you have the ability to control those settings, wherein before you had to always make sure your movie behaved within those restrictions. I dont recommend people modify these settings, but if it is ever needed its good to know it is there. Also there is mention of the default value of ScriptTimeoutSettings which apparently varies by platform (between 15 to 20 seconds). Im not sure if this is for Mac/Windows or actually for low-performance devices like pdas but I didnt know about this variation before.
There are some other interesting things in there. If you have never looked at the file format specs, I definitely recommend it if you cant sleep and feel like getting deep into the byte code of your precious swfs.