Copy link to clipboard
Copied
Hi
I'm new to Animate
I'm trying to start simple
A two frame timeline with a button_2 on frame one that is suppose to send the viewer to frame 2.
Can anyone tell me why this isn't working?
thanks
Here is a file I made for you.
Copy link to clipboard
Copied
Hi.
Everything seems correct to me.
Are you using an AS3 or an HTML5 Canvas document?
Can you please check this?
Regards,
JC
Copy link to clipboard
Copied
Thanks very much for the help JC
The original document was AS3.
I tried re-creating it starting off as HTML5 and got similar result.
I did get an output warning in the HTML5 version, It is this:
WARNINGS:
** 6 Bitmaps packed successfully into 1 spritesheet(s).
Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (4)
Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
Thanks again
Steve
Copy link to clipboard
Copied
Hi,
remember frames in HTML5 Canvas start at 0. So if it was frame 1 on AS3 then it will be frame 0 in HTML5.
Also, some browsers like Chrome and Firefox have security that might stop your buttons working. Can you test from a server?
This is really all what the Warning was saying.
Cheers.
Copy link to clipboard
Copied
Thanks a lot Gory
That makes sense now. My buttons are working and my faith in humanity is restored!
Copy link to clipboard
Copied
Do you get any error in the console?
Copy link to clipboard
Copied
Here is a file I made for you.
Copy link to clipboard
Copied
You made a file for me? Thank you so much. I figured it out and my buttons are working now! You're the best!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now