Archive for category ActionScript 3
Recent versions of SWFWire Debugger have a feature that shows the number of objects in memory in real-time. We can examine the objects without holding a reference thanks to weak keys in the Dictionary. And, we can count them quickly. On my computer, the Debug Flash Player is able to iterate through a Dictionary of 1,000,000 objects in 150 ms.
Adobe recently released Flash 10.2 featuring StageVideo. Looks cool, but unfortunately, it’s not working on most Windows 7 computers (with AMD/Intel graphics), and they didn’t care to mention that anywhere. If that includes you, vote on and watch the issue.
I was curious to see how much Adobe improved efficiency to run Flex on mobile devices. It’s not looking good so far. Here is the code I used for my firstView:
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="Home"> <s:Button right="10" bottom="10" label="Button"/> </s:View>
Just a button. Running this swf with no user interaction results in 10,884 method calls. See the full stack trace here: