coolcollin
asked on
Movie clip frame to refresh frame outside movie clip.
I'm working on a script that will only display text when a password is typed in. I need the password box to appear on all frames and work independently of the main movie so that you can enter the password without it going to an entirely new frame every time. So i have all the code in a Movie clip. So far, that much works, and when the correct password is entered, it stores the boolean value true in the variable passed. In the main page, I have code on the frame to display the content:
stop();
if (passed == true) {textbox.text = "Content!";} else {textbox.text = " ";}
The problem is, the frame doesn't refresh when the password is entered because it is inside a movie clip inside the frame. So when frame 3 is reached inside the movie clip, i need the frame outside of the movie clip to refresh automatically so that the code in the frame is run. Does this make any sense to anyone at all?
stop();
if (passed == true) {textbox.text = "Content!";} else {textbox.text = " ";}
The problem is, the frame doesn't refresh when the password is entered because it is inside a movie clip inside the frame. So when frame 3 is reached inside the movie clip, i need the frame outside of the movie clip to refresh automatically so that the code in the frame is run. Does this make any sense to anyone at all?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome :)
ASKER