# LineStyle help

**URL:** <https://forum.kirupa.com/t/linestyle-help/194158>\
**Category:** flash\
**Created:** [July 20, 2006, 9:56pm UTC](https://forum.kirupa.com/t/linestyle-help/194158 "2006-07-20T21:56:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tofer](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@Tofer](https://forum.kirupa.com/u/Tofer)\
**Post date:** [July 20, 2006, 9:56pm UTC](https://forum.kirupa.com/t/linestyle-help/194158/1 "2006-07-20T21:56:44Z")

</div>

Hi,

I’m designing a Drawing API program in Flash that allows users to choose colors, line styles, opacity, etc. I’ve got the color part down pat but I can’t seem to figure out how to get the thickness and opacity parts to work.

Line.lineStyle(10,0x000000, 100);

I’ve got two dynamic text fields set up for the alpha and the thickness respectively. I would like to take the numbers from the text box and place them in the lineStyle string. How would I do that?

to see an example go to [http://www.ogdesignlab.com/cmoran/pp/pinMask.swf](http://www.ogdesignlab.com/cmoran/pp/pinMask.swf)

Thanks in advance :be:
