Now that I’m on the verge of madness I must consult the forum.
I’m simply trying to take one movie clip I made, make it behave like a button, and attach multiple instances of it on my stage, each of which will load a different image to the page. Therefore each movie clip instance contains one crucial bit of unique info -> a number.
That way when I click on the upper left movie clip button it will load [“poster”+this.num] where this.num = 1 and so on. Im having a heck of a time talking to the variables stored in my movie clips… tried to do an onLoad since I only want to set it once but to no avail.
any ideas? i’m confused myself just trying to explain it so i’ll attach the fla, it’s not too big. thanks so much.
if you can read that… My initial problem was that I was using an incremented variable for my attaching loop, and trying to use this same variable to set up a data member of the movie clips. Sounded alright to me but the way it works is that it attached all the movie clips first (incrementing my variable buttonCount), then entered into the onEnterFrame (and in reverse order i might add… recursive), so using another variable counting backwards and problem solved. bleck!
a more elelgant solution would be lovely. thanks all.