Skip to main content
March 18, 2009
Question

Can't Import A Class

  • March 18, 2009
  • 2 replies
  • 242 views
Thanks for the two responses to my first post. You guys were right, I need to call the class into to my control as file. The problem I'm getting now is this error. "environmentTab.lightsButton.addEventListener(MouseEvent.CLICK, selectLights);" environmentTab is a instance name of a movie clip that is on the stage of my .fla. Again, any help is appreciated.
This topic has been closed for replies.

2 replies

March 18, 2009
1120:Access of undefined propertyenvironmentTab.lightsButton.addEventListener(MouseEvent.CLICK, selectLights

environmentTab is the name of a movie clip on stage and lightsButton is a button withiin environmentTab
xchanin
Participating Frequently
March 18, 2009
What is the error you're getting?