Guest User

Untitled

a guest
Jan 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. quest.visible=true;
  2. com7.visible=false;
  3. quest.addEventListener(MouseEvent.CLICK, q7_clicked);
  4. function q7_clicked(event:MouseEvent):void
  5. {
  6.  
  7. if (com7.visible==false)
  8. {com7.visible=true
  9. }
  10. else
  11. {
  12. com7.visible=false;
  13. }
  14. }
  15.  
  16. quest.visible=true;
  17.  
  18. com9.visible=false;
  19. quest.addEventListener(MouseEvent.CLICK, q9_clicked);
  20.  
  21. function q9_clicked(event:MouseEvent):void
  22. {
  23.  
  24. if (com9.visible==false)
  25. {com9.visible=true
  26. }
  27. else
  28. {
  29. com9.visible=false;
  30. }
  31. }
  32.  
  33. TypeError: Error #1009: Cannot access a property or method of a null object reference.
  34. at meli_fla::MainTimeline/q7_clicked()
  35. TypeError: Error #1009: Cannot access a property or method of a null object reference.
  36. at meli_fla::MainTimeline/q9_clicked()
Add Comment
Please, Sign In to add comment