Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Transfer string using shared object from one flash file

 
   Graphic Forums (Home) -> General Discussions RSS
Next:  EXE projector wont load swf in flash8??!!  
Author Message
laxman833

External


Since: Dec 20, 2005
Posts: 1



(Msg. 1) Posted: Tue Dec 20, 2005 12:44 pm
Post subject: Transfer string using shared object from one flash file
Archived from groups: macromedia>flash (more info?)

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 
Back to top
Login to vote
Display posts from previous:   
   Graphic Forums (Home) -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]