AS3: Error 1009:
问题 In a little game I have to make for college I render a menu at runtime, using movieclips i made of buttons i drawed in illustrator. I imported the illustrator file in flash professional like I always do, and made a AS linkage like I do with my other movieclips that run fine. But when I try to render these buttons I get a error 1009, a null reference. I use AS3 by the way. private function initMenuComponents():void{ var btnPlay:MovieClip = new Play(); var btnOptions:MovieClip = new Options();