I am coding in AS3 and want to add a stroke to text that I'm displaying to the screen. My current code is:
format = new TextFormat("BN Elements", 14, 0xEEEEEE, false, false, false, null, null, "left");
format.font = "BN Elements"
scoreText = initText(starsleftText, format, "", 160,5, 545, 61);
scoreText = "Stroke This Text";
As the text is dynamically generated I can't create it as a text object in the Flash IDE - where I know to add a stroke I can use the "glow" function set to 1000% and Low quality.
I suppose my question is, how can I apply the "glow" filter effect with similar properties within AS3 directly? Or is there an alternative "stroke" function I don't know about?