Both Flash Builder Pro and the free alternative, Flash Develop, include an invaluable tool called the memory profiler. Take full advantage of this tool to increase the performance of your apps and prevent browser crashes. We'll also cover some common mistakes when building interactive web applications. This presentation is for anyone who is unfamiliar with the profiler or hasn't used it before.
3. What Causes a Browser to Crash? Poor code written in ANY programming language All browsers in the previous slides crashed using JavaScript Both JavaScript and ActionScript can perform poorly and crash the browser when written incorrectly
4. Background I am a self employed… ActionScript developer Mobile applications developer Google AdWords consultant My devices… BlackBerry Android iPod Touch
6. Mobile Development When building applications for mobile it is even more important to consider memory management Devices are running on a fraction of the CPU and memory of desktop computers
7. Reputation of Scripting Languages Flash doesn’t crash browsers, poor development crashes browsers in all languages People see the result, not the cause
9. Infinite Loops while(1){ n += “You shouldn’t have done that”; } // this JS will crash IE, Firefox and Safari var data = new Array(“1”); for(var n; n < data.length; n++){ data.push(“1”); }