PDA

View Full Version : textarea issues


mobzilla
07-20-2004, 06:44 AM
when I create a textarea, I can set the text with this.text = "blah" but I can't set it with mytext.text = "blah". I must be missing something. I can create a button and in the "on (Press)" section I can add mytext.text = "blah" and it doesn't work there either. Is this a pathing issue?

(fmx2004)

cobo
07-20-2004, 12:05 PM
if mytext is created on the maintimeline try:

_root.mytxt.text = "my Blah";

cobo

tg
07-20-2004, 03:18 PM
it all depends on where you place your code.
read thru the pathing tutorials. that will help you.

mobzilla
07-20-2004, 07:36 PM
:eek:

I thought I had tried that, but it worked! thanks cobo!

cobo
07-21-2004, 10:14 AM
you´re welcome... :)