try tab#i# = tab[i]_btn.value = Scott
"Darren Tracey" <[EMAIL PROTECTED]> wrote in message news:21901@cfaussie... Not strictly CF, but I'm sure someone in here can help with this. I'm doing some actionscript in a flash movie. I've got a whole set of buttons labelled tab1_btn, tab2_btn, tab3_btn, etc Is there some way to do a loop and insert part of the variable name from the iterating variable? ie : for i = 1 to 100 if tab#i#_btn.value = certain value do something special end if next (clearly the above is not actionscript, I'm just trying to demonstrate the tab#i#_btn part) Any thoughts? Is it possible? Is there a better way? Darren Tracey Virus Disclaimer: Please note that this email may contain computer-generated file(s) as an attachment. Whereas we take every effort to protect our files from computer virus, we recommend that you check the file(s) with your own virus detection software prior to opening it. If you would prefer to receive a hardcopy of the file please email or phone. Alpha Business Systems does not accept liability for the consequences of any computer viruses that may be transmitted with this email. Confidentiality: This email and any attached files are intended solely for the addressee(s) and may contain confidential and privileged information. If you received this email in error, please advise us by return email or phone and disregard the contents and immediately delete it and destroy any copies. --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
