Copy link to clipboard
Copied
I am new to animate.
I have an interactive infographic.
both work fine seperate. When I put the animation infrony of my click sequence and change the frames appropriately I get the code below.
scene1, Layer 'actions', Frame 130, Line 4, Column 1 1120: Access of undefined property next_define.
Copy link to clipboard
Copied
do you see something that makes you think next_defined actually is defined on frame 130 (which will look like frame 131 to you)?
Copy link to clipboard
Copied
This is my code.
stop();
next_define.addEventListener(MouseEvent.CLICK,fl_ClickToGoToAndStopAtFrame130);
function fl_ClickToGoToAndStopAtFrame130(event:MouseEvent):void
{
gotoAndStop(130);
}
I built this section first and added animation infront of it. It works fine unitl I put the animation in and then change my frames in the action setting to match.
Copy link to clipboard
Copied
there's no object named next_define on frame 130 (which will look like frame 130 because this is as3, not canvas).
if you thihnk there is an object on stage (that's not part of a tween) named next_define, copy from your code and past into the name property field with the object selected and retest.
Copy link to clipboard
Copied
next-define is a mouse event button.
Clicking takes you to the next appopriate frame
Copy link to clipboard
Copied
if you think you have a button named next_define in 130, animate disagrees. you can try copying/pasting the button's name.
Copy link to clipboard
Copied
ok let me look at that