August 21st, 2007

360|Flex Seattle – Memory Management for Flex and AIR Developers

In honor of the release of Bioshock today for the 360, I figured I would stop slacking and post the slides and sample code from my 360|Flex presentation. Also, I wanted to give big thanks to all the people that attended my presentation and didn’t fall asleep. ;-) Those of you that did…well, it was 8:30am and I wish I had been sleeping too!

Now, regarding the sample code and slides, a couple notes:

1. I am running Flex Builder 3 Beta 1. The zipfiles containing the code are exported FB3B1 Flex and AIR projects.

2. Although the client-side libraries are included in the project lib directories, for these samples to be halfway worthwhile and actually show memory statistics, you should download REDbug Beta.

3. If you want to do the things I did during my presentation to compare and contrast memory utilization within the samples, look at the TODO comments within the code. An easy way to do that is to use the awesome TODO/FIXME plugin tool many props to Dirk!

4. Although these samples are cool examples on how to compare and contrast deferred instantiation techniques, using the right components for the job, and finally to illustrate event listener memory leaks, they should in no way be construed in whole as best practices in building an app. Remember, examples only…to illustrate the key points regarding memory consumption as described in the TODO comments.

5. The module example is configured to work when you run the application, not debug the application. If you want to change that, you’ll need to either set the debug compiler option to true, or create an ant script to compile the module that’s in the project.

6. The link to the slides is actually a link to an Adobe presentation. I figured I’d give that format a try.

So…without further ado, some links:

Hope you find something useful…and if anything, rush over to your nearest game distributor and pick up a copy of Bioshock…I know I will be!

3 Responses

  1. MyoT » Blog Archive » 360|Flex: Day 2 Recap Says:

    [...] Memory Management for Flex/Apollo Developers (by Jun Helder) It was the great session and Jun presented with much enthusiasm. Again David Colettas was in the session and he covered well. This is that kind of session that powerpoint make sense and Jun will be posting his slide on his website soon Jun posted here. [...]

  2. Alberto Says:

    Hi Jun,

    Is there any chance you send me ( or post the link of ) the PPT presentation? There are some animations that are not displayed correctly right now.

    Thanks.

    Alberto

    =================================================================

    Hi Alberto,

    I just verified the “My Presentation” link above: http://office.realeyesmedia.com/blogs/jun/samples/360Flex/360_Slides/index.htm

    It’s an Adobe Presentation that’s based on my ppt slides. The animations are working for me…what issues are you having when you go to that link?

    -Jun

  3. Intresting links « Sudha Hariharan Says:

    [...] 1. Memory Management for Flex/Apollo Developers (by Jun Helder) [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Community Jun

Ignite Denver Committee

Written Jun

Flex Authority Vol. 1 Issue 2
InsideRIA
Fusion Authority Quarterly Update

Gamer Jun

Categories

Credits