flash - How to add Stroke to Text in AS3? -


I am coding in AS3 and I want to add the stroke to the text displayed on the screen. My current code is:

  format = new text format ("BN element", 14, 0xEEEEEE, false, false, false, zero, blank, "left"); Format.font = "B Elements" score text = init text (star text, format, "", 160,5, 545, 61); Score text = "stroke this lesson";  

As the text is dynamically generated, I can not create a text object in Flash IDE - where I know to add a stroke, I use the "glow" function set to 1000 I can set the% and low quality.

I think my question is how can I apply the "brightness" filter effect directly with similar properties within the AS3? Or is there any alternative "stroke" function on which I do not know?

It is very easy:

(An example is at the bottom of the page )

I'm not sure if they have added new to add a real stroke, but the brightness filter works with the 'stroke' code only.

You can also create a pixel alcoholic filter which can give you some control over the effect, I think no previously written people can be found there: (


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -