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

Compile error?

Enthusiast ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

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

Views

290

Translate

Translate

Report

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.

Votes

Translate

Translate
LEGEND ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Bug report filed. Thanks Colin.

Votes

Translate

Translate

Report

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