I am trying to disable 2-buttons I have when the netMonitor is false. But I don't really know how to address the buttons. I'm using Cairngorm,
The Function looks like this. public function on_connection(event:StatusEvent):void { if(monitor.available) { //Alert.show("Internet is On!"); on = true; searchButton.enabled = true; } else { on = false; //Alert.show("Internet is Off!"); searchButton.enabled = false; } my netMonitor.as file sits in com/connect/Network/ and my buttons are in the com/adobe/cairngorm/View/Course/course.mxml if that helps.