Skip to main content
Participant
December 29, 2020
Question

1087 : syntax error : extra characters found after end of the program

  • December 29, 2020
  • 5 replies
  • 318 views

I get an error on line 29, can anyone help me to correct the error below? thank you

line 28. }
line 29. if(text_kosong == false && tj1.indexOf(keyword1_a)>=0)
line 30.{
line 31. hasil1.text = "CORRECT";
line 32. }
line 33. else
line 34. {
line 35. hasil1.text = "WRONG The Correct Answer is 42");
line 36. {
line 37. resultLavoisier.addEventListener(MouseEvent.CLICK, resultLavoisier);
line 38. }

    This topic has been closed for replies.

    5 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    December 30, 2020

    Hi.

     

    I guess the error comes from the parenthesis on the line 35. Please remove it.

     

    Regards,

    JC

    Nancy OShea
    Community Expert
    Community Expert
    December 30, 2020

    This looks like Action Script to me.  I've moved your question to Animate CC (formerly known as Flash Pro).

    If that's not right forum, please let us know.

     

    Nancy O'Shea— Product User & Community Expert
    Just Shoot Me
    Legend
    December 29, 2020

    No One will be able to help you unless you reply with the Name of Adobe program that you are getting this error in.

    Peru Bob
    Community Expert
    Community Expert
    December 29, 2020

    This is the Using the Community forum (which is the forum for issues using the forums).
    Please tell us what Adobe application you are using so that this can be moved to the proper forum for help.

     

    Edit: Sorry, Ged. I didn't see your reply.

    December 29, 2020

    Hi

    Can you tell us which Adobe application you're using so we can move the thread to the correct forum