Posts

Showing posts from September, 2009

Using Inline ActionScript in Flex Builder 3

Image
Image by angelsk via Flickr ActionScript and MXML go hand in hand. Watch this video below to learn about how create a Flex Project in Flex Builder 3 Writing inline ActionScript inside MXML code, Fundamentals of Events Event Handling More DIY videos at 5min.com

Creating a class from a drawing

Image
In this tutorial you will learn how to how to draw a circle and create a class from an drawing in Flash CS4 . You will also learn object-oriented features of ActionScript 3.0 and the correct approach to design a solution. Steps for creating a class from an drawing (graphics object) in Flash CS4 1. Create a New Document choose Flash file (ActionSceipt 3.0) as shown below 2. Choose Oval Tool (by clicking on Rectangle tool and selecting Oval tool from the menu) 3. Rright click on the cricle and choose "Convert to Symbol..." 4. Convert to Symbol dialog window appears. 5. Click on Advanced button to toggle the Advanced View 6. Provide a name to the Symbol (say Circle) , choose "Movie Clip" as Type, select "Export to ActioScript" and click OK button, it should now be added to the library. 7. You can instantiate the objects of the class from the library by draging it into the stage. Provide each circle an instance name by going to the proper...