on (press) { loadVariables("text1.txt", this); } var x:Number = this["x1"]; on (release) { trace(this[210-x/2]); }