Not finding what you are looking for? Request a recipe!
Custom Components automatically generate AS3 Classes, so you can instantiate the component the way you would any other class.
This is a crash-course overview of Flex for Flash Developers. It introduces a few key concepts like MXML, Custom Components and Data-Binding and compares the Flex workflow to the Flash workflow in a variety of ways. Read this if you're a Flash developer curious about Flex.
In this tutorial I show you where to the get the AS3CoreLib libraries, which among other things include a PNGEncoder class. I show you how to set up an mx:VideoDisplay object populated by the user's webcam, how to take a snapshot and encode it as a .png-formated ByteArray, and end by providing a sa ...
Add your buttons to an array and assign each of them the same event handler. In that handler, set all of your buttons to their default state - then set e.currentTarget to its active state. Handle your navigation logic with a switch statement in the handler.