Dashed HRule & VRule Components
8 Comments so far
Leave a comment
No biggie. This isn’t an original concept in the least bit. But I figure I will add to the stew and present my own modified HRule and VRule. These guys took maybe a total of 20 minutes to make. I got so sick of programmatically doing dashed lines, I figured what the hell, let’s just make em.
I decided to keep the same relative package and class names as well. So instead of mx.controls.HRule, you would use com.jwopitz.controls.HRule.
The only use issue is that in order to see the dashes, you just declare the style dashLength="some number". Its default is 0 so you can use these guys just as you would a normal mx.controls.HRule.
You can play with them here. I will be adding these guys to the jwo_lib soon.
8 Comments so far
Leave a comment
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Man, the summer sun must have gone to my head a baked my brains.
I forgot to load the source. So I will add the swc to my download box to the right. The source can be had at jwo_lib later today.
Comment by jwopitz Monday, July 2, 2007 @ 6:45 pmOk so apparently I cannot upload to my box. Alrighty then, I guess you folks will have to wait till I upload to jwo_lib.
Sorry
Comment by jwopitz Monday, July 2, 2007 @ 6:52 pmCan you post the source code?
Comment by Booyah Wednesday, September 19, 2007 @ 7:51 pmThe source can be downloaded from the project source files here:
http://jwopitz-lib.googlecode.com/svn/trunk/src/com/jwopitz/controls/
Everything should be all set with the project now.
Comment by jwopitz Wednesday, September 19, 2007 @ 11:33 pmThanks, works great!
Comment by Evan Thursday, January 17, 2008 @ 11:02 pmNice,
Comment by Anthony Wednesday, October 15, 2008 @ 1:46 pmIm always having to write dashed lines in Actionscript and I just havent had the time to extend the HRule, VRule classes. And now i dont have to!
Thanks
[...] visit the post here [...]
Pingback by BetaDesigns( Blog ).toString( ); » Dashed VRule and HRule Components Wednesday, October 15, 2008 @ 2:03 pmJust wanted to say thanks! You saved me a bunch of time.
Comment by Aaron Hardy Wednesday, June 3, 2009 @ 9:38 pm