A new feature in Flash MX is the capability for ActionScript to draw lines, curves, and fills; create new, empty movie clips; and create new text fields. With this capability, you can start with an empty movie and populate it with elements.
In this hour, you will:
Learn how to draw lines and curves
Learn how to draw filled areas
Let the user draw with the mouse
Place drawn items into new movie clips
Create new text fields
Drawing Lines
Flash MX contains a simple set of drawing commands that allow you to create a wide variety of graphics from scratch. You can draw straight lines, curves, and even filled areas.
Drawing Straight Lines
Drawing a line with ActionScript is easy. First, you need to define the line style. The lineStyle command takes three parameters: the line thickness, color, and alpha. The color is expressed as an ActionScript hexadecimal number. So 0×000000 is black, 0xFFFFFF is white, and so on. The alpha parameter determines a line’s transparency. A value of 100 makes an opaque line, whereas a value of 50 makes a line that is faded 50 percent, and graphics behind it can be seen.
Taken From: Sams Teach Yourself Flashâ„¢ MX ActionScript in 24 Hours
Entries (RSS)
Buy:Zocor.Wellbutrin SR.Zetia.SleepWell.Buspar.Lasix.Prozac.Amoxicillin.Cozaar.Lipitor.Advair.Benicar.Aricept.Female Pink Viagra.Female Cialis.Lipothin.Nymphomax.Acomplia.Ventolin.Seroquel….
Buy:Cialis Professional.Viagra Super Active+.Levitra.Maxaman.Super Active ED Pack.Zithromax.Viagra Super Force.Soma.Cialis Soft Tabs.Propecia.Viagra.Cialis.Viagra Soft Tabs.Viagra Professional.Tramadol.Cialis Super Active+.VPXL….