-
1. Re: Problem with buttons and mouseovers playing & stoping the same symbols
AMULI Sep 26, 2013 11:03 AM (in response to summazing3)Hi Erik,
When you have a problematic file, you should post a simplified version of it (get rid of everything secondary), give descriptive IDs to all of your elements and symbols, in short do the maximum to facilitate the understanding… or you will discourage people to help you
It took me a while to understand your question. And indeed there is a bug in your question ! The problem you emphasize doesn't happen when you hover over the image, but when you click anew on the text. And that's perfectly normal as your click event handler rewinds all the symbols
var all = sym.getChildSymbols();
for (var i=0; i < all.length; i++) {
all[i].stop(0);
}
so that aff1 which is in its down state after a first click is reset to its up state, before moving down again :
sym.getSymbol("aff1").play();
I suggest you use a debug tool (Firebug for example) and place console.log() statements in your code to understand the flow of execution. See post 10 of that tread : http://forums.adobe.com/message/5669043#5669043
And if this isn't sufficient, the next step is step by step execution and watching for variable values.
Gil
-
2. Re: Problem with buttons and mouseovers playing & stoping the same symbols
summazing3 Sep 27, 2013 6:30 AM (in response to AMULI)Great suggestions, thank you Gil. I actually figured out an answer myself. Thanks again for your help!

