Hi, thanks for the idea. I finally got it, your right, I didnt need the if, or even the function. I didnt realize there you have to put actions in the button itself(right click actions when hit button)and not just in an action layer. so a simple onRelease, gotoAndStop worked great. Thanks.