1 Reply Latest reply on Nov 29, 2007 10:13 AM by Gene Godsey

    Error Message 1061

    Gene Godsey
      I get the error:
      1061: Call to a possibly undefined method show through a reference with static type class.

      Here is the code......................
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="vertical">

      import mx.controls.Alert;

      private function handleClickEvent(event:Event):void {
      trace("This is a click test.");

      <mx:Button label="Click" click="handleClickEvent(event)"/>