My Blog

All about my activities, Ideas and everything.

Category: Flex

Tutorial : Flex convert object to xml

This is CustomerDTO.as that extends DTOBean.as 123456789101112131415package actionScript {     public class CustomerDTO extends DTOBean     {         public var name:String;         public var surname:String;         public function CustomerDTO()         {         }     } } This [...]

Tutorial : Flex Profiler

This is the tutorial for flex profiler. It’s good for the beginners to finding a leaking object. !! http://blogs.adobe.com/aharui/profiler/ProfilerScenarios.swf

Flex Performance – Use Weak References When Adding EventListeners

Garbage collection is good. Blocking garbage collection is bad. Event listeners, when they’re not added with care, can be a barrier to garbage collection, because they make it look like unused objects are still needed. A Flex best practice is to set the 5th parameter in addEventListener to true, as the example below shows: component.addEventListener( [...]