FORUMS: list search recent posts

Where did my Code Snippet go?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rick Lee
Where did my Code Snippet go?
on May 15, 2013 at 5:10:37 pm

Hi, Everybody!

I have a scene with buttons that loops every 30 seconds. The scene also contains buttons, with each button leading the views to another scene that correspond with that button. I tried to add a code snippet to a button by doing the following:

1. Creating an layer that I named action and creating a gotoAndPlay (1); action at the last frame to have it loop.
2. Clicking on the button on frame 1 of the starting scene.
3. Creating an instance name for the button in the Property Inspector window.
4. Going to Code Snippet and clicking on "Click and go to scene and play".
5. Clicking "OK".

However, I changed the name of the "destination" scene, and now have to change the name of the scene in the Actionscript code. However, the code is not on the action layer. Does anybody have an idea of where it would be?

Thanks in advance!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved