Archive for category ActionScript 3

The Dictionary class is awesome

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.

SWFWire Debugger Object Count Graph

2 Comments

StageVideo doesn’t work in Flash 10.2

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.

Leave a Comment

Efficiency of Flex 4.5 mobile

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:
http://swfwire.com/flows/flex_4.5_mobile.txt

Leave a Comment

Follow

Get every new post delivered to your Inbox.