quickly scanning the code, i can't see where you have assigned a string to any 
of your textfields.eg.
var myString:String = "this is my string";var myTF:TextField = new 
TextField();myTF.text = myString;

hope i've helped.
> Date: Fri, 20 Nov 2009 07:32:15 -0500
> From: [email protected]
> To: [email protected]
> Subject: [Flashcoders] Creating And Printing String With AS3
> 
> Hi;
> I am confused as to how to create a string, define its properties and print
> it in Flash. The following code doesn't throw any errors, and it nicely
> prints out my traces, but it doesn't print out the lines I want. Please
> advise.
> TIA,
> beno
> 
> package
> {
>   import flash.text.*
>   import flash.display.MovieClip;
>   import com.greensock.*;
>   import com.greensock.plugins.*;
>   import com.greensock.easing.*;
>   public class Holt extends MovieClip
>   {
>     public function Holt():void
>       {
>     }
>     public function init():void {
>       blurName();
>       easeOfc();
>       easeAtty();
>     }
>     public function blurName():void
>       {
>       trace('blurName');
>       var name:TextField = new TextField();
> //      var name:String = 'Joel Holt';
>       this.addChild(name);
>       name.x = 100;
>       name.y = 100;
>       name.height = 20;
>       name.width = 200;
>       var nameFormat:TextFormat = new TextFormat();
>       nameFormat.color = 0xffffff;
>       nameFormat.size = 20;
>       nameFormat.font = 'Arial';
> //      name.defaultTextFormat = nameFormat;
>       TweenMax.to(name, 1, {blurFilter:{blurX:20}}).reverse();
>     }
>     public function easeOfc():void
>       {
>       trace('easeOfc');
>       var ofc:TextField = new TextField();
> //      var ofc:String = 'The Offices Of...';
>       this.addChild(ofc);
>       ofc.x = 100;
>       ofc.y = 150;
>       ofc.height = 20;
>       ofc.width = 200;
>       var ofcFormat:TextFormat = new TextFormat();
>       ofcFormat.color = 0xffffff;
>       ofcFormat.size = 20;
>       ofcFormat.font = 'Arial';
> //      ofc.defaultTextFormat = nameFormat;
>       TweenLite.to(ofc, 1, {x:58, y:229, ease:Circ.easeIn});
>     }
>     public function easeAtty():void
>       {
>       trace('easeAtty');
>       var atty:TextField = new TextField();
> //      var atty:String = 'Attorney At Law';
>       this.addChild(atty);
>       atty.x = 100;
>       atty.y = 200;
>       atty.height = 20;
>       atty.width = 200;
>       var attyFormat:TextFormat = new TextFormat();
>       attyFormat.color = 0xffffff;
>       attyFormat.size = 20;
>       attyFormat.font = 'Arial';
> //      atty.defaultTextFormat = nameFormat;
>       TweenLite.to(atty, 1, {x:58, y:229, ease:Circ.easeIn});
>     }
>   }
> }
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
                                          
_________________________________________________________________
Have more than one Hotmail account? Link them together to easily access both
 
http://clk.atdmt.com/UKM/go/186394591/direct/01/_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to