where did it go?

Out of context: Reply #5

  • Started
  • Last post
  • 6 Responses
  • unfittoprint0

    the good thing about it is that it creates an object (myVars, for example) that will hold every variable received/send for/from Flash. You can populate textfields, movieclips, etc.. with the loadVars object variables...

    like this (var1, var2, var3 are variables in your text file...):

    myVars = new loadVars();

    myVars.onLoad = function(sucess){
    if (sucess) {
    myTextField1.text = var1;
    myTextField2.text = var2;
    myTextField1.text = var3;
    } else {
    trace(damn!!!)
    }
    }

    myVars.load("about_text.h
    tml);

    good luck...

View thread