-
I have a simple script.
In root on frame 1 I have script to load variables from txt file to Movie.Clip TOHIDE.
loadVariables ("test.txt", _root.TOHIDE);
In the test.txt I have only this text=1
In MC TOHIDE I have script to hide this MC
if (test eq "1") {
setProperty ("_root.TOHIDE", _visible, "0");
}
It does not work. If I put dynamic text in MC TOHIDE with input variable "test" it displayed "1". I don`t understand.
-
Hi...
Try this:
onClipEvent(data){
if(test==1){
this._visible=false;
}
}
Hope that helps,
K.
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
|