Actionscript Conflicts

Hi,

This is my 1st post to Kirupa. I was tipped onto Kirupa by one of your finest, Dan4885.

Attached is a fla that I have been struggling with. I obtained the Elastic and Scale code from Senocular’s website. Many thanks.

My problem is I want the slider Jukebox at the top and the 3 buttons on the stage to act independently of one another, however, right now they all move whenever you mouse over or click the other. It is driving me insane.

I have tried changing variables, passing the instance name of the mc, etc. I also noticed that the variable named “target” is highlighted blue. Perhaps because it is a keyword to actionscript that might be part of my problem.

Many thanks for anybody’s help.

Any friend of Dan is our friend too!:slight_smile:

about your fla: try this(attached file)

the thing with your fla was that the functions were the same for different elements, and variables were the same too, so, when you moused over the buttons they triggered the function and the juke box respoded as well, since they had the same function.

I created another function for the jukebox and replaced the variables with a unique set of variables for the jukebox.

=)

Thank you Guig0!!! I love kirupa. :slight_smile: Thanks for the quick response. That was the perfect solution.

lmao…why do you love kirupa when it was Guig0 that helped you…rofl

just kidding i understand

mak, you´re :crazy: , you know that, don´t you?

:stuck_out_tongue: