Programmatic Gradient Fills and Effects in AS3 and Flash

We show how to create and precisely control gradient fills
in AS3 with the createGradientBox method of the Matrix class.
We discuss the parameters of the beginGradientFill method
and show how to manipulate them to draw programmatically
interesting gradient fills.

You Might Also Like...

  • Rotating Bitmaps in 3D in Flash CS3, a 3D Menu on a Cube in ActionScript 3

    733 readersA new tutorial at flashandmath.com. We show how to rotate bitmaps in 3D in Flash CS3. We build a 3D menu on a cube whose sides are bitmaps and which can be rotated by the user. We discuss the transform.matrix property of display objects in AS3 and the Matrix class.

  • Getting Started with 3D Methods in Flash Player 10

    310 readersIn this new tutorial at flashandmath.com, we show how to use a few simple 3D features of Player 10, rotationX, rotationY, fieldOfView, to perform free rotations of bitmaps in 3D with perspective and texture mapping. Amazing. And

  • Flash alpha GradientMatrix to PDF using purePDF

    365 readersOne of the most hard thing to traslate when creating pdf documents from existing flash movies is indeed the gradient matrix. Not only because pdf and flash have 2 different coordinates system and because the gradient matrix is applied in 2...

  • AS3 Drawing Vectors

    Tutorial: Drawing Vectors in AS3

    573 readersThis ActionScript 3.0 tutorial will teach you how to draw lines, make fills, and create simple graphical vector shapes in Flash by using the Graphics Class. Click here to read the tutorial.

  • 3D Menu, Bitmap Fills, and Loading External Images in Flash CS3

    400 readersTutorial posted January 15, 2008 in the advanced tutorials section. We show how to build a 3D menu on a tetrahedron. When the user clicks on a face of the tetrahedron, an external jpeg loads. We discuss in detail bitmap fills, loading external files, the Loader class in ActionScript 3 as well as the BitmapData and Bitmap

  • Tricks for Drawing and Filling Partial Circles in AS3 and Flash

    586 readersWhat if you need to fill shapes that go beyond the simple shapes built into ActionScript? For example, you may need to create fills the are sectors of a circle or other less common shapes. The trick is to approximate such shapes with polygonal shapes and draw the polygons the standard way. In this easy

  • Tricks for Drawing and Filling Partial Circles in AS3 and Flash

    1611 readersWhat if you need to fill shapes that go beyond the simple shapes built into ActionScript? For example, you may need to create fills the are sectors of a circle or other less common shapes.

  • The Matrix Special Effects

    35 readersThe aim of this tutorial is to learn how to create some Matrix special effects in Flash using Motion Tweens and ActionScript. There are two variations in this animation. Both take their inspiration from the films The Matrix & The Matrix Reloaded. The first is the dropping letters and the second has

  • The Matrix Special Effects

    499 readersThe aim of this tutorial is to learn how to create some Matrix special effects in Flash using Motion Tweens and ActionScript. There are two variations in this animation. Both take their inspiration from the films The Matrix & The Matrix Reloaded. The first is the dropping letters and the second has an added background....

  • Gradient Backgrounds for Spark Containers

    254 readersOne of my very first posts on this blog was about how to create a “Generic Background Gradient for Containers“. In Flex 3, you could only use styles to create solid backgrounds for your various MX Containers. To accomplish a gradient background, you needed to write your own custom class that used the flash player’s

'>How to create a top quality logo for your company
  • Remove a Section of Your Photo
  • Subscribe to RSS headline updates from: GurusUnleashed
    Powered by FeedBurner

  • Design & Career Resources

    Open design job and RFQ/RFP listings for Thursday, 29 July Courtesy of Design Jobs Live!
    The latest resources and free stuff (like textures, fonts, Photoshop brushes, scripts, plug-ins, and much more!) from workflowFreelance.com. Read more!
    The latest headlines from workflowFreelance.com. Read more!
  • Popular Search Terms

    Curious what others are searching for? Below are the most popular search terms over the last 30 days.