Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Advanced layers screwing up my code

Community Beginner ,
May 16, 2019 May 16, 2019

Last year I made an animation. It worked fine with code and using the camera layer/tool. Ive reopened the file this year to make some changes. The "Do you want to turn on advanced layers" box appears. If I say "yes" to this, then all the references in my scrips to my movieclips stop working and throw up an error

Access of undefined property xxxx

If I turn off the Advanced layers function, my scripts work but then I can no longer use the Camera tool. Is there anyway to install last years version of Animate CC? Or how do I reference all my movie clips in my code with advanced layers turned on? I don't really need advanced layers...just the camera feature.

This is really frustrating.

Any ideas?

4.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , May 21, 2019 May 21, 2019

I've just solved the problem. If anyone else is really confused by the example given by Adobe like I was, here's a basic explanation of how the script will change:

Without Advanced Layers: MovieClipInstanceName.gotoAndStop(5);

WITH Advanced Layers: nameOfYourLayer.MovieClipInstanceName.gotoAndStop(5);

So easy!

Translate
New Here ,
Dec 03, 2023 Dec 03, 2023

That is a instant name for a button not a scene, i the button really not functioning and it stress me out 😭😭😭

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2023 Dec 03, 2023

upload your fla to a file server and post a link here

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2023 Dec 03, 2023

Can use google drive?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2023 Dec 03, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2023 Dec 03, 2023

how do you even get to the scene Opening2?

 

and i don't see where you're using the camera tool.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2023 Dec 03, 2023

U need to click around the spaceship, in zoom in using the camera

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023
LATEST

i don't even see a camera used in your app other than in Opening2

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines