all groups > flash actionscript > august 2005 >
You're in the

flash actionscript

group:

TextField in a child movie doesnt appear


TextField in a child movie doesnt appear Renato_Dirz
8/31/2005 5:56:27 PM
flash actionscript:
I?ve a child movie called diaporama.swf in which there are several TextFields(
dynamic), when i run him stand-alone, every thing works fine, but when i load
this movie 'diaporama.swf' into a main movie and i run it i no longer see the
textfields placed in diaporama.swf.

ps. i heard that this component (TextField) has some problems.

Any help?

Renato Vieira
Re: TextField in a child movie doesnt appear Popeye the Sailorman
8/31/2005 7:16:30 PM
I use the code below in a child movie to create TextFields dynamically and it
works fine, also in the main movie

for (i = 1; i < 5 ; i++) {
_root.createTextField('dt' + i, _root.getNextHighestDepth(), 10, i * 30, 90,
30);
_root['dt' + i].text = 'this works fine';
}
Re: TextField in a child movie doesnt appear Renato_Dirz
9/5/2005 12:18:55 PM
Thx, it worked, i had to make some workarounds but at least now i can see them.


Keep sailing.... Renato_dirz
AddThis Social Bookmark Button