There are four .fla files by name main.fla, child1.fla, child2.fla, child3.fla.
This main.fla contains one input text field, after entering text into it and
by clicking next button , we will go to last frame of the main.fla file. In the
last frame of the main.fla, 3 buttons are provided each corresponds to one
child flash file.
In this main.fla file, I used shared objects concept as follows:
so = SharedObject.getLocal("flashdata", "/")
so.data.name = sending_txt.text; /* sending_txt is input text field instance
name */
In this child1.fla file, I used shared objects concept as follows:
so = SharedObject.getLocal("flashdata", "/")
receiving_txt1.text = so.data.name; /* receiving_txt1 is dynamic text field
instnace name */
A button is provided in child1.fla. On clicking which brings back to
the last frame of the main.fla file.
Likewise, receiving_txt2 is dynamic text field instnace name in child2.fla &
receiving_txt3 is dynamic text field instnace name in child3.fla. My objective
is:
When we come back to last frame of main.fla, and clicks buttons corresponding
to the remaining two child flas, the content of receiving_txt1(text what we
entered in input text field) should appear in receiving_txt2 of child2.fla and
receiving_txt3 of child3.fla.
>> Stay informed about: Transfer string using shared object from one flash file