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

Compile error?

Enthusiast ,
Mar 23, 2017 Mar 23, 2017

clip.title3.text "EMBRACE THE JOURNEY.\nWE KNOW IT TAKES TIME AND EFFORT.\nBRING US WITH YOU.";

Took me half an hour to see I was missing the = sign to actually assign the string.

Why does that not generate a compile error?

TOPICS
ActionScript
364
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

LEGEND , Mar 23, 2017 Mar 23, 2017

Yes, that is odd. You could report it as a problem here:

Feature Request/Bug Report Form

To simplify the example you can have a textfield 'fld' directly on the stage, and test with this script:

fld.text "hello";

That would stop them being confused as to whether it being inside a movieclip is important.

Translate
LEGEND ,
Mar 23, 2017 Mar 23, 2017

Yes, that is odd. You could report it as a problem here:

Feature Request/Bug Report Form

To simplify the example you can have a textfield 'fld' directly on the stage, and test with this script:

fld.text "hello";

That would stop them being confused as to whether it being inside a movieclip is important.

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
Enthusiast ,
Mar 24, 2017 Mar 24, 2017
LATEST

Bug report filed. Thanks Colin.

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