ActionScript 3 ActionScript Drawing and Animating Diagonal Lines

An example using ActionScript 3 of creating and animating diagonal lines for “Op Art” type effects using ActionScript. This is my first AS3 class file, so is probably pretty rubbish. In this current version, the angle of the lines is fixed. Changing angles is something I intend to implement. You have control over line thickness, colour, tween direction and speed of tween. It is provided as a Flash CS3 demo and ActionScript 3 class file.

Example
View an example here; http://www.noponies.com/dev/animatedLines.

Source Files
Here are the relevant source files; source

Dependencies
Flash CS3 or ActionScript 3 editor and compiler.

One Neigh about “ActionScript 3 ActionScript Drawing and Animating Diagonal Lines”



Pona Neighed:

Hey,

Browsed to your script online looking for tutorial on how to create diagonal lines with actionscript. Any chance you could send me as3 code to create just 1 diagonal line?

Leave a neigh?