2 Replies Latest reply on Mar 28, 2008 5:41 AM by tomaugerdotcom

    Alert.show not working

    tomaugerdotcom Level 1
      I have the following code "behind" my main Application control in my mxml file. The code compiles fine. The traced text does show up within fdb.exe, so things are working (the testIt() function is being run). But the alert doesn't show.

      I'm opening the compiled swf in the debugger version of FlashPlayer 9. Everything is compiled manually using mxmlc.exe

      Here's the code:
      package com.tomauger.dform {
      import mx.core.Application;

      import mx.events.FlexEvent;
      import mx.controls.Alert;

      public class Main extends Application {
      public function Main() {

      protected function testIt():void {
      Alert.show("My Debug Statement");