Hi Pedro. You can't set alpha on TextFields which use device fonts - you'll have to embed the font if you want to be able to set alpha.
I think myTextField.x++; probably works but since you only do it once it isn't apparent. You'll have to set up a timer or frame event to do this repeatedly in order to see the motion. HTH. Adrian Park On Tue, Mar 18, 2008 at 2:17 PM, Pedro Kostelec <[EMAIL PROTECTED]> wrote: > Hi > > Is there a way to apply to som text added with as3 some motion or alpha? > > I've got this working well: > > import flash.text.TextField; > import flash.text.TextFormat; > > var myTextField:TextField = new TextField(); > addChild(myTextField); > myTextField.text = "Križev pot"; > myTextField.width = 800; > myTextField.height = 200; > myTextField.x = stage.stageWidth/2-200; > myTextField.y = stage.stageHeight/2+50; > * myTextField.alpha=0.5;//doean't work, how to do it? Or should i > import something else??? > myTextField.x++;//doean't work, how to do it?* > myTextField.border = false; > var myFormat:TextFormat = new TextFormat(); > myFormat.color = 0xAA0000; > myFormat.size = 92; > myFormat.italic = false; > myFormat.bold = true; > myTextField.setTextFormat(myFormat); > > -- > Pedro D.K. > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

