Next frame for only ONE layer, not the entire scene?
Hi,
I am new to Flash and am trying to create a button (button1_btn) that will change the color of an object (object1). I couldn't find any answers on how to go about this, so I've colored object1 black in Frame 1 and pink in Frame 2. In Frame 1 of object1, I've given the action below. However, this makes the WHOLE scene go from Frame 1 to Frame 2 and I only want object1 to switch to Frame 2. How do I specify that I only want object1 to change frames? Hopefully this makes some sense. ![]()
If there is an simpler way to change the color of an object by clicking on a button, please let me know! Thank you for your help. ![]()
button1_btn.addEventListener (MouseEvent.CLICK, Shoot_2);
function Shoot_2 (event:MouseEvent) :void
{
gotoAndStop(1);
}
