Guest_imported
New member
- Jan 1, 1970
- 0
i have a movie clip, its name is test,the color of this movie should be changed if a vatiable in atext file is yes and not if the variable is no.
this varuables are loaded from a txt file, called var.txt.
the first action in my main movie is
loadVariablesNum ("var.txt", 0);
and the actions on the movie clip test are:
onClipEvent (load) {
if (test eq "yes" {
myColor = new Color(this);
myColor.setRGB(0x993366);
}
}
i have the feeling, that the variable isnt loaded into the sctions of this movie,
i know that i must write _root.....
if the variable should be loaded into that movie, but this are just the actions of the movie clip.
Is there something i must change while loading the variables?
thx for help
this varuables are loaded from a txt file, called var.txt.
the first action in my main movie is
loadVariablesNum ("var.txt", 0);
and the actions on the movie clip test are:
onClipEvent (load) {
if (test eq "yes" {
myColor = new Color(this);
myColor.setRGB(0x993366);
}
}
i have the feeling, that the variable isnt loaded into the sctions of this movie,
i know that i must write _root.....
if the variable should be loaded into that movie, but this are just the actions of the movie clip.
Is there something i must change while loading the variables?
thx for help