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

1126: Function does not have a body.

Explorer ,
May 19, 2008 May 19, 2008
This error (1126: Function does not have a body.
TOPICS
ActionScript
1.4K
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

Explorer , May 19, 2008 May 19, 2008
Never mind, it was simply a misplaced semicolon.
Translate
Explorer ,
May 19, 2008 May 19, 2008
Never mind, it was simply a misplaced semicolon.
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 ,
May 19, 2008 May 19, 2008
LATEST
Lose the semicolon on your trial function:

function trial():void;
{
...


After that you'll find you have a problem with "trialnum" (which should be "trial Num") and "Next_mc", which doesn't exist except for adding an event listener to it.
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