Using an instance name to call a variable

Hello Everybody

I am using Flash2004 MX

I thought this would be simple, but it hasn’t been.

I have a seris of hidden MCs named star1, star2 etc.

I want them to become visible when I call this function.

star_fn = function() {
starcount++
starshow=(“star” + starcount)
starshow._visible=true
}

But it is not working.

I thought maybe it was like converting variable info to a number format, but using a text scenario instead. However, I am not sure how to do this.

Thoughts?

Thanks a bunch

Sean