Hi - I have given instance names to two movieclips for "bee" and "energy". When I sling the "ball" up and it hits the bee all the code executes but when I sling and hit the energy nothing happens. Thanks for any help.
energy.visible = false;
power.x = energy.x
power.y = energy.y
if (bee.hitTestObject(ball) && beeHit==false)
bee.visible = false;
pop_mc.x = bee.x
pop_mc.y = bee.y
You might be experienciung some confusion with your names in the coding. I don't see anywhere where ball is checked for a hitTest with energy... the first conditional tests if bee hits energy, not ball.
Wow - I feel stupid.
Sorry for wasting your time - I was looking for something real complicated and forgot to carefully read over every line. (happens to me a lot)