If else issues

brndn
Wed, 25 Apr 2007 10:53:59 +0000

I never get the hang of these.’

	_global.web_link_activate = (wArray[this.id]);
if (_global.web_link_active == "no"){
_root.load_area.zoomer.enabled = false;
_root.load_area.zoomer._alpha = 20;
trace("no");
}else {
_root.load_area.zoomer.enabled = true;
_root.load_area.zoomer._alpha = 100;
trace("yes");
}

that should work but it does not. it always says “yes”
wArray is a drawn from an xml document

xml is

weblink="yes"

can i set vars like true and false in xml kinda like weblink=false??

Read full topic