Skip to main content
Participating Frequently
January 6, 2013
Answered

1120: Access of undefined property sendbtn.

  • January 6, 2013
  • 1 reply
  • 1210 views

What would cause this I have a button named sendbtn but it causes this error like 4 times

This topic has been closed for replies.
Correct answer Ned Murphy

Have you assigned those instance names to the objects using the Properties panel?

1 reply

Participating Frequently
January 6, 2013

it says the same thing about these lines of code

sendbtn.buttonMode = true;

sendbtn.addEventListener(MouseEvent.CLICK, submit);

resetbtn.buttonMode = true;

resetbtn.addEventListener(MouseEvent.CLICK, reset);

Participating Frequently
January 6, 2013

or is there a way to tell it when send to grab form data and post it as an email

Ned Murphy
Ned MurphyCorrect answer
Legend
January 6, 2013

Have you assigned those instance names to the objects using the Properties panel?