View Full Version : help with this stuff

04-18-2001, 08:03 PM
here is my problem:
I've made a first movie (single frame movie) with an input text and a button
the input text variable is "send"
on the button I've placed:

on (release) {
loadMovieNum ("loadmov1.swf", 2);

loadmov1.swf is the second movie... it is a one frame movie with a dynamic text with the variable "txt"; in the first frame I put the
ehi = receive;

when I run the first movie I put in a text then I press the button but the text in the dynamic text block appears and then immediately disappears...
WHY IS THAT? I would like the text to remain in the box...

04-20-2001, 06:07 PM
You'll need to use another button to transfer the value of send to receive as your trying to call on an action involving a movie that wouldn't have yet loaded:

1) First movie load button:

on (release) {
loadMovieNum ("loadmov1.swf", 2);

2) Transfer button:

on (release) {
_level2.receive = _level0.send;

Notice the path to level0.
If it was essential for you to do it within the same action then you could have some sort of loop statement checking if level2 is true, if so then populate the receive textfield with the send variable.

Hope this helps.