February 20th, 2003, 03:20 PM
accessing variables in different frames
I have a text box in frame 5 of one of my layers called finished_txt. When I'm in frame 3 I want to set the text of that text box and then move to that frame. I can't figure out how to reference that textbox though. No matter what I try, the textbox is empty when frame 5 loads. Is there a way to do this?
February 20th, 2003, 05:43 PM
you can't set text values (or variables ) for objects that don't exists yet. Try setting a variable equal to the value of what you want your text box to be, and instead of trying to assign the .text, just put the same variable name in the variable name of the text field. That should work.
textfor5 = "this will show in the text of frame 5";
give your text field a variable name of "textfor5"
see what i mean?