[thelist] Hope this question is appropriate
ben morrison
ben at benjer.demon.co.uk
Thu Sep 2 11:37:27 CDT 2004
I want to change the color of a button on a page by reading in a
database
entry, and also have the button call a particular URL using it's
instance
name as part of the URL
use this._name to append the instance name to the string:
on(release){
loadVariables
("http://mbliving.com/WP/flash.cfm?lotnumber="+this._name)
}
Im not sure how you are calling/storing yesno, but you could use a
simple if statement:
buttonColor = new Color(_root.yourButton)
if(yesnovar=="yes"){
buttonColor.setRGB(0xff0000)
}
ben
More information about the thelist
mailing list