[Flash MX 2004] Loading a variable attached to an instance

Man, I feel bad posting so soon after my last call for help, especially when the answer was so obvious. But I just can’t figure this out…

I have 25 instances of a movieclip “star”, duplicated and assigned variables using the following code:

for(n = 0; n < 25; n++) {
    star.duplicateMovieClip("star"+n, n+1000);
    with(eval("star"+n)) {
        startype = random(3);
    }
};

I now have it so that when I click on any instance of “star”, I’m taken to another frame, and in that frame I’d like to be able to look up the variable “startype” for that particular instance only. How exactly can I do this?

Thank you all for putting up with my horrible ignorance.