A Game Spinner Using the Tween Class and Math.random() in AS3 and Flash

A simple AS3 how-to in which we show basic methods and properties
of the Tween class. We also show how to generate random integers in
a given range via the Math.random() method. We construct a simple
game spinner as an example.

You Might Also Like...

  • A Game Spinner Using the Tween Class and Math.random() in AS3 and Flash

    606 readersA simple AS3 how-to in which we show basic methods and properties of the Tween class. We also show how to generate random integers in a given range via the Math.random() method. We construct a simple game spinner as an example.

  • Quick Tip: Get a Random Number Within a Specified Range Using AS3

    1649 readers

  • Using the Timer and Date Classes in Flash CS3 and ActionScript 3

    361 readersIn this tutorial at flashandmath.com, we use simple examples to illustrate the AS3 Timer and Date classes and their basic methods. We explain how to use a Timer object to create animated motion or a repeated event. In one

  • Math Quiz Bowl AIR application makes math fun

    525 readersThe Math Quiz Bowl AIR application is a simple example combining some Flex and ActionScript 3 techniques (playing an event-based MP3, scaling images, the DisplayShelf by Ely Greenfield) and the ActionScript Math class (Math.ceil, Math.floor, and Math.round) presented in a quirky card game. This AIR application also leverages the ApplicationUpdaterUI to seamlessly check for updates

  • Material Image

    Change movie clip colour randomly in AS3

    1194 readersIn this tutorial the colour of the movie clip will change randomly using the ColorTransform class and the Math.random method. Category:Flash Actionscripting TutorialsAuthor: iliketoflashDate: January 06, 2010

  • View Demo

    Create a Flower Sprayer with AS3

    1020 readers

  • Tween Tricks in ActionScript 3 and Flash CS3

    840 readersA new tutorial at flashandmath.com. We explore less common ways of using the AS3 Tween class. The class is remarkably flexible. Instead of tweening properties directly related to motion or appearance, we tween

  • Color Effects with a Custom InterpolateColorTransform AS3 Class

    1377 readersWe present a custom InterpolateColorTransform class and interesting color and image effects accomplished using the methods of the class. The methods provide several ways to smoothly transition between two

  • Creating a small shooting game

    489 readersIn this tutorial you will learn how to create a small “shooting stars” game using Flash and ActionScript 3. Let’s get started! 1. Open a new Flash document and save it under “ShootingGame.fla”. Set its size to 500 x 300 pixels. 2. First of all we need to draw the sight of our weapon. So rename the

  • Using the Tween class in Flash CS3 and ActionScript 3

    681 readersA new tutorial at flashandmath.com in the Basic Section. We give several examples of using the AS3 Tween class. This class allows for easy creation of interesting visual effects and animations. We build control panels that smoothly slide in and out of place, with a nice 'bounce' to them. We also show a 'spin and snap back when

'>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.