datawizard
11-28-2005, 03:37 AM
Hi all, I have a question here, I know how to disable buttons in flash via action script 2 by
"this.ButtonName.enabled = false"
my question is how can I disable a button when that button corasponsed to a web page IE HomeButton = index.htm,
Ive tried scripting it like this
" If (getURL) = ("index.htm") then
this.HomeButton.enabled = false;
this doesnt work as I get actionscript error of object is string. any clue as how I am suppose to write this out ? thanks Datawizard
"this.ButtonName.enabled = false"
my question is how can I disable a button when that button corasponsed to a web page IE HomeButton = index.htm,
Ive tried scripting it like this
" If (getURL) = ("index.htm") then
this.HomeButton.enabled = false;
this doesnt work as I get actionscript error of object is string. any clue as how I am suppose to write this out ? thanks Datawizard