Debug help?

running into an issue where I am not able to call a function from a separate class… I am spinning my gears trying multiple things. Both the class files are working fine alone, but won’t work together.

let’s say there is a MC called clickme_btn

for example, here’s the function I want to trigger:


package{

     import flash.events.*;

     public class Example extends MovieClip{
 
          public function Example() {
         
                init();
 
            }


           private function init():void {

			//dosomething();

		}

          public function buttonClicked(e:MouseEvent) {

               trace("what up Kirupa fans?");
          }

     }

}

here’s the place I want to trigger it from:


package{

     import flash.events.*;

     public class triggerExample extends MovieClip{

          public function triggerExample () {
			init();
		}

          private function init():void {

			setUpListeners();

		}

           private function setUpListeners():void {

                        clickme_btn.addEventListener(MouseEvent.CLICK, buttonClicked);

                }

          

     }

}


any help would be great. Thanks!