Tag: actionscript

  • DashedLine AS3 Class

    Custom class dependencies: None Flash of course has built-in styles for line strokes, but none of them accomplished what I needed that CSS seems to do so intelligently. This is a simple dashed line drawn pixel for pixel with no antialiasing. This class attempts to make this process easy to use and control.

  • VectorClip AS3 Class

    Custom class dependencies: Vector2D Working with vectors – Part 1, Part 2, Part 3 So far everything done in the series “Working with vectors” have been utilities to help with the calculation of trigonometric values. Now we will apply it to something that will be displayed, a MovieClip! Or in this case, what I call…

  • EventDispatcherList AS3 Class

    Custom class dependencies: None I hope this class will be of as much help to everyone as it is to me. Too many times to count, I needed to manage multiple objects that all use the same listener! Adding the same listener to multiple objects is very useful and code saving in Actionscript 3. Most…

  • Vector2D AS3 Class

    Custom class dependencies: Trig Working with vectors – Part 1, Part 2, Part 3 This is my second post regarding my vector class quest. The first post was about the utility that I decided to create for all those very useful trigonometric functions that are always popping up in almost every complex piece of code…

  • Trig AS3 Class

    Custom class dependencies: None Working with vectors – Part 1, Part 2, Part 3 What is a ‘vector’? Well, it is just 2 numbers used for one thing. It is a direction and a distance. You can also call these two things properties, and these properties can also be called the angle and the magnitude.…