This content has been marked as final. Show 4 replies
is the textfield created with actionscript or in the authoring environment?
if it's created in the authoring environment, you can use the properties panel to assign text alignment.
if it's created with actionscript, show your relevent script.
Hi, the textfield has been created using actionscript.
The code I used is attached. I attached it to the original post but for some reason it didn't appear on the thread.
Many thanks, Leo
that code doesn't create a textfield. you would use the createTextField() method of movieclips to create a textfield using actionscript.
Sorry, I misunderstood your question – the code was created in the authoring environment but despite assigned center alignment in the properties panel it didn't come out that way in the movie. Anyway I resolved the problem with the following piece of code...
Cheers – Leo