actionscript 3 - Create a text with drop shadow in AS3 -


I am trying to create a simple text in the ActionScript 3.0 with the drop-side; For example:

  _tf = new textfield (); _tf.autoSize = TextFieldAutoSize.CENTER; _tf.selectable = false; Var format: text format = new text format (); Format.font = "Arial"; Format.bold = true; Format.color = 0xffffff; Format.size = 12; _tf.text = "drop shadow"; _tf.defaultTextFormat = format; AddChild (_tf);  

How can I get this text with a drop shadow ??

  _tf.filters = [new drop shad filter ()];  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -