views:

23

answers:

1

I have a coldfusion flash form. (Unfortunately don't have time to change to html/javascript) In the form I have a formgroup.

I would like to be able to use actionscript to detect if the formgroup is visible.

I've used the code:

if(formgroupid.visible == "true"){ do this }

However, this does not work. Any ideas to alter the if statement to get the code to work.

A: 

Is visible a string or a boolean?

Try:

if (formgroupid.visible) {do this}
Peter Boughton
brilliant! thanks!!!