-
In a movie with an external dynamic .txt or .xml file, which loads other movies in a containerclip, which also has an external dynamic .txt file - why does the mainmovie with ex. a .txt file called test.txt, loads in this test.txt file in the other movies in the containerclip, eventhough they have totally other names those textfiles?
Please flash guru´s, help me out :-)
Thanks,
Thomas
-
Is each files variable named differently?
or does all textfiles start with defining the same variable name?
eg
-----texfile1 start ------
myVar=hello
-----textfile1 stop -----
-----texfile2 start ------
myVar=hello2u2
-----textfile2 stop -----
and you might end up having "hello" or "hello2u2" in all textfields
The right thing would be to;
-----texfile1 start ------
myVar1=hello
-----textfile1 stop -----
-----texfile2 start ------
myVar2=hello2u2
-----textfile2 stop -----
and refer each textfield to "myvar1" or "myVar2"
maybe?
-
.Txt files
Hallo Leif,
I can give you an example - this is what I write in the first keyframe of every movie in order to load the .xml file:
"_root.loadVariables("factstext.xml", "");"
and in another movie:
"_root.loadVariables("historytext.xml", "");"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|