LineStyle help


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

Thanks in advance :be: