Skip to main content
Inspiring
March 23, 2017
Answered

Compile error?

  • March 23, 2017
  • 1 reply
  • 405 views

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?

This topic has been closed for replies.
Correct answer Colin Holgate

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.

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
March 24, 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.

dmennenohAuthor
Inspiring
March 24, 2017

Bug report filed. Thanks Colin.