AS3 Dotted Line Class
Apr 2nd in ActionScript 3.0 Classes by JayHere is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. Free for any use other than reselling.


| ActiveDen | Flash Marketplace |
| ThemeForest | Web & CMS Themes |
| GraphicRiver | Graphics, Vectors & Icons |
| VideoHive | Motion Graphics & Projects |
| AudioJungle | Loops & Effects |
| FreelanceSw | Freelance Jobs & Community |
| Rockable | Books & How-To |
| Creattica | Design Community |
| Mac.AppStorm | Mac Apps |
| Web.AppStorm | Web Apps |
| WorkAwesome | Be Awesome At Work |
| Envato | About Us |

| More Coming Soon! |
Here is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. Free for any use other than reselling.

User Comments
( ADD YOURS )Brian April 2nd
First!
( )Brian April 2nd
And thanks!
( )Ben April 2nd
Awesome. By the way, what a great way to separate your functions in your code!
( )Marvin April 2nd
very great
( )Bruno April 3rd
Very good job ! Very orderly in your work.
( )Diego SA April 28th
Simple and useful!
( )Marcelo Casé June 23rd
Excelent! Thanks man!
( )dbam September 26th
Definitely a time-saver, thank You for sharing!
Allow me two notes though, what i saw after 2 minutes of testing…
1. in the constructor the “dotAlpha” doesn’t have a type declaration, i used Number, like “dotAlpha:Number = 1″.
2. the variable “tile” of type BitmapData has a height of “_h +1″, that gave me a one pixel artifact ( occasionally ), changing it to just “_h” gives the desired result…i’m wondering why the +1 though.
Still, nothing that one wouldn’t notice after using Your class – easy to pin.
( )Great share, thanks again Jay!