question men…can I have two buttons that listeners for the same event that have identical instance names?
For example, I have two buttons which have the same instance name: imageOne.
Can those identical buttons listen for the same event? I tried, but only one button responds to the event listener …
why do I need two buttons with the same instance name that listens for the same event? because I have a looping scrolling panel of thumbnails, and when you have scrolling panels, we all have duplicate panels inside for looping purposes…so since I have to have two identical panels grouped together to do the loop, I have multiple buttons with the same instance name…and these buttons listen for events…now of course I can rename the other half of the identical buttons with different instance nams, but a problem arises when i want to use an if statement to check to see if that image is already loaded…for example, say I image1 is already loaded, and someone clicks identical thumbnail that has a different instance name, ti would be too complex to write an if statemen to determine whats loaded…
anyway, my question is, why don’t both buttons work when they have the same instance name…in actionscript 2.0 this wasn’t problem…
thanks for help guys
x lisa x