Skip to main content
Participant
August 25, 2011
Question

How to create a line with a chalk effect

  • August 25, 2011
  • 1 reply
  • 5741 views

Hello all,

I want to create, in AS3, a line with a chalk effect, like this one.

I can not find a snippet for this effect.

Thanks a lot

Patrick

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 25, 2011

convert your line to a displayobject (if it's not already the child of a displayobject with children that all should display the same effect) and apply a filter (like blur) to get the effect you want.

patrickmAuthor
Participant
August 25, 2011

Thanks a lot for your answer,

It is better than nothing, but it is not the effect that I want for my line.

The blur mode (bottom line) is too much regular for me.

The top line have a particular texture that I try to recreate.

kglad
Community Expert
Community Expert
August 25, 2011

are you using actionscript to draw your line?  if yes, check the lineShaderStyle of the graphics class.  if no, in the properties panel, select stippled for your line style.