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

Reply via email to