A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: BUG or NOT, loading prom ext. txt file.

  1. #1
    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.

  2. #2
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center