[thelist] Hope this question is appropriate
Michael Tidwell
mtidwell at t2hadvertising.com
Thu Sep 2 13:05:15 CDT 2004
That didn't work - the button still returns nothing when clicked...
On 9/2/04 12:37 PM, "ben morrison" <ben at benjer.demon.co.uk> wrote:
> 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
--
Michael Tidwell
T2H Advertising
1297 Professional Drive
Myrtle Beach, SC 29577
http://t2hadvertising.com
843.692.7300
mtidwell at t2hadvertising.com
More information about the thelist
mailing list