I am animating and moving some objects based upon the value of a variable. The variable value is retrieved from the stage, and then when a symbol is clicked ...
var myName == "blue"
// animate height of symbol "blue"
sym.$(myName).animate ({'height':'+=100px'});
//animate elements with class "blue"
sym.$('.myName').animate ({'top':'+=100px'});