I’ve been trying to copy footers from this site just to see if I could make them. And well, i’m kinda trying to make one like ahmed’s. Where when you click a square it changes from grey to white, and then back if you click it again. but I’m not trying to have it save designs like his (i’m not nearly that good). Here’s what I’ve got so far. I’ve just got 2 squares, but when i click one, they both turn white, why? Maybe I shouldn’t use alpha, but that’s only way of changing colors i know of.
the problem when using buttons (actually, it’s a pretty common problem) is that scripts in button symbols are referenced to the timeline, not to the button itself.
either use movieclip symbols or instead of this use the instance name of the button. =)
thanks ahmed and kax, but Ahmed, yours is just a bit too advanced for me right now :). I tried making it squarename._alpha but then i get tons of errors? Here’s a few lines of code right now (2354 is the button’s instance name):
oh yeah, i use them all the time and it freaks out my C++ professors cause they’ve either never seen them or never expected any of their students to know how they work.
thanks guys. I was just gonna name the squares by their row and column. like 14 would be row 1 column 4, but oh well, i’ll name them something else i guess :). Thanks for all your help. And watch out thoriphes, i’m trying to make something like the aol/e-mail on your footer. That’s a very cool effect.