Have a little problem here. Im making some kinda drop-down menu, but im having troubles with the if/else command. Think the problem is in the != thingy. Scaler and masker’s initial value is 16.9:
on (press) {
if (_root.scaler._height != 16.9) { // If "scaler" height is everything but 16.9
_root.scaler.scale(16.9); // Do this
_root.masker.scale(16.9);
} else { // If "scaler" height was 16.9
loadText = new LoadVars(); // Do this
loadText.load("http://daniel2.wi.ots.dk/egen_hp/php/read_dir.php");
loadText.onLoad = function() {
_parent.textbox.htmlText = this.recieve;
height = _root.textbox._height+_root.textbox._y-_root.scaler._y+4;
_root.scaler.scale(height);
_root.masker.scale(height);
};
}
}
Any help appreciated