Buttons

Hi

Im creating a dynamic gallery with flash and xml and i have the basic stuff working.

At the minute I have a dynamic menu loading and when one is clicked on thumbnails become visible and clickable

This is all great except when the user enters the page the gallery is empty so I want to set the first dynamic menu button to clicked

Is there a simple piece if code that I can use to set the vale of a button to clicked I tried looking on the net but just get random useless info back

also i tried using

<code>
holder.loadMovie(urls[0]);
caption.text = captions[0];
whoIsOn = 0;
</code>

but it doesnt work for the images only the text (i think because i have the imagesholder set with an event listener)

so i think what i need to do is set the first gallery node to clicked but cant find the code. can this be done?

Thanks in advance