Question
targeting one level from another
Within a Flash document called "replace.swf" the following
input style text field is created:
_root.createTextField("main_txt",10,375,65,375,400);
------- so, the above input text field can be addressed as "_level10.main_txt" from another level right?
I also load "textStyler.swf" within "replace.swf" on level99:
Now I try to make a change in "_level10.main_txt" from "textStyler.swf" with the following code:
_level10.main_txt.text = "this is the replacement text";
But no changes occur to the text field.
I guess there's something wrong with the targeting!
??
thanks, carry
_root.createTextField("main_txt",10,375,65,375,400);
------- so, the above input text field can be addressed as "_level10.main_txt" from another level right?
I also load "textStyler.swf" within "replace.swf" on level99:
Now I try to make a change in "_level10.main_txt" from "textStyler.swf" with the following code:
_level10.main_txt.text = "this is the replacement text";
But no changes occur to the text field.
I guess there's something wrong with the targeting!
??
thanks, carry