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

Error 1120 and 1172

New Here ,
Oct 13, 2016 Oct 13, 2016

I'm creating a game and 2 days ago it was working perfectly, now all of a sudden I'm getting the following errors

1172: Definition core:Screen could not be found

1120: Access of undefined property Screen

The code it's referring to is:

import core.Screen;

stop();

(this.parent as Screen).getStateManager().nextState();

I haven't changed this at all in the space of time it was then wasn't working. Can someone give any explanation as to why that may have happened and how to fix it? Thanks to all answers in advance

TOPICS
ActionScript
222
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
LEGEND ,
Oct 14, 2016 Oct 14, 2016
LATEST

Maybe the Screen class file was removed from core, or the core is no longer in your class path.

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