The tween is a simple motion. (move from one position to another (x1,y1) --> (x2, y1) of course with the help of flash ide). And I do the alignment after the assignment since I need the myTextField.textHeight. But still, it seems that the TextField "loses" the animation properties.
-Apost On 12/16/05, Marc Hoffman <[EMAIL PROTECTED]> wrote: > > What tween are you talking about? > > If you just want the text positioned, make sure you align it after > assigning the text to the field. > > - Marc > > At 09:01 AM 12/16/2005, you wrote: > > >Hi all, > > > >I found the following solution > > > >vAlign = (myTextField._height-myTextField.textHeight)/2; > >myTextField._y+=vAlign; > > > >But my tween is created by the Flash MX IDE, so when I apply this to > >myTextField > >the tween isn't executed. > > > >Does anyone have a trick to vertical align the text in the Textfield, > >and have the tween > >executed as it is now? > > > >thx in advance, > >Apo > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders