"For, Else" Statement help
I have a faily simple question. I want to know how to write an "If Else" for a mouse click. I can write an hittest, but im not to sure of the mouse clicks. this is what I want to make shorter
---------------------------------------------
_root.q1_immark.onRelease = function (){
_root.gotoAndPlay("Q2_Good");
}
_root.q1_nicetomeetyou.onRelease = function (){
_root.gotoAndPlay("Q2_Bad");
}
_root.q1_wherearewe.onRelease = function (){
_root.gotoAndPlay("Q2_Bad");
}
since two actions have the same outcome, I figure I can consolodate some code.
also can I declare MCs as clickable buttons in a single line?
thanks in advance
Mark