Hello,
I'm creating a series of movie clips that are attached from the library.
After the movie clip is attached, I want to create some text on that movie clip. When I try this, I can't see any of the text that is created
When I print the movie clip contents it shows that the the mytext textfield exists:
j:mytext : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext
j:mc_image_loader : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mc_image_loader
j:instance3 : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.instance3
Here's the code I'm trying:
Any help is desperately needed!
I'm creating a series of movie clips that are attached from the library.
After the movie clip is attached, I want to create some text on that movie clip. When I try this, I can't see any of the text that is created
When I print the movie clip contents it shows that the the mytext textfield exists:
j:mytext : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext
j:mc_image_loader : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mc_image_loader
j:instance3 : _level0.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.instance3
Here's the code I'm trying:
Code:
_root.mc_scroll_group.masked_movie.scrollpage.attachMovie('show_db_list', 'show_db_list', 1, {_x:4, _y:4} );
//==== build test fields ======================================
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.createTextField("mytext",10,0,0,300,300);
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext.multiline = true;
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext.wordWrap = true;
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext.border = true;
myformat = new TextFormat();
myformat.size = 14;
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext.setTextFormat(myformat);
_root.mc_scroll_group.masked_movie.scrollpage.show_db_list.mc_show_plate.mytext.text = "this is some test text";
//=============================================================
Any help is desperately needed!