Tag Archives: spark

Saving scroll position between views in a mobile Flex Application

In a mobile Flex application when you navigate to a new view the old view is destroyed. If you then go back to that first view then it is re-instantiated. If you have a List in that initial view then any scroll position changes the user may have done will be lost. This post demonstrates how to save and restore that scroll position when navigating between views.
Continue reading Saving scroll position between views in a mobile Flex Application

Memory Graph to track Flash Player total memory usage

Sometimes it’s nice to keep an eye on the memory of an application without involving the Flash Builder profiler. This post demonstrates a simple and lightweight component that graphs the value of the Flash Player’s System.totalMemory over time. The chart can be very useful for noticing spikes in memory that might require further investigation with the profiler.
Continue reading Memory Graph to track Flash Player total memory usage