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

Error 1046 keeps occurring.

New Here ,
Mar 23, 2016 Mar 23, 2016
Error 1046: Type was not found or was not a compile-time constant: Help.

No idea whats wrong. The error occurred when I entered this code in, tried fixing it, but nothing happened.

var Help1:Boolean = false;

case Keyboard.H:

  Help1 = true

  break;

case Keyboard.H:

  Help1 = false

  break;

if(Help1) {

  Help.visible = true;

  }

  if(1) {

  Help.visible = false;

  }

TOPICS
ActionScript
315
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 ,
Mar 23, 2016 Mar 23, 2016
LATEST

that code doesn't make any sense so i assume you extracted it from a larger body of code and made it unintelligible, but to start is Help defined somewhere?

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