gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/avm2 r9726: make more test cases actually


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/avm2 r9726: make more test cases actually build
Date: Thu, 14 May 2009 19:57:34 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 9726
committer: address@hidden
branch nick: avm2
timestamp: Thu 2009-05-14 19:57:34 -0600
message:
  make more test cases actually build
added:
  testsuite/as3/classes.all/DejaGnu.swf
  testsuite/as3/classes.all/Makefile.am
  testsuite/as3/classes.all/accessibility/accessibility.am
  testsuite/as3/classes.all/data/data.am
  testsuite/as3/classes.all/desktop/desktop.am
  testsuite/as3/classes.all/display/display.am
modified:
  testsuite/as3/classes.all/DejaGnu.hx
  testsuite/as3/classes.all/accessibility/AccessibilityProperties_as3.hx
  testsuite/as3/classes.all/accessibility/Accessibility_as3.hx
  testsuite/as3/classes.all/data/EncryptedLocalStore_as3.hx
  testsuite/as3/classes.all/data/SQLCollationType_as3.hx
  testsuite/as3/classes.all/data/SQLColumnNameStyle_as3.hx
  testsuite/as3/classes.all/data/SQLColumnSchema_as3.hx
  testsuite/as3/classes.all/data/SQLConnection_as3.hx
  testsuite/as3/classes.all/data/SQLIndexSchema_as3.hx
  testsuite/as3/classes.all/data/SQLMode_as3.hx
  testsuite/as3/classes.all/data/SQLResult_as3.hx
  testsuite/as3/classes.all/data/SQLSchemaResult_as3.hx
  testsuite/as3/classes.all/data/SQLSchema_as3.hx
  testsuite/as3/classes.all/data/SQLStatement_as3.hx
  testsuite/as3/classes.all/data/SQLTableSchema_as3.hx
  testsuite/as3/classes.all/data/SQLTransactionLockType_as3.hx
  testsuite/as3/classes.all/data/SQLTriggerSchema_as3.hx
  testsuite/as3/classes.all/data/SQLViewSchema_as3.hx
  testsuite/as3/classes.all/desktop/ClipboardFormats_as3.hx
  testsuite/as3/classes.all/desktop/ClipboardTransferMode_as3.hx
  testsuite/as3/classes.all/desktop/Clipboard_as3.hx
  testsuite/as3/classes.all/desktop/DockIcon_as3.hx
  testsuite/as3/classes.all/desktop/Icon_as3.hx
  testsuite/as3/classes.all/desktop/InteractiveIcon_as3.hx
  testsuite/as3/classes.all/desktop/NativeApplication_as3.hx
  testsuite/as3/classes.all/desktop/NativeDragActions_as3.hx
  testsuite/as3/classes.all/desktop/NativeDragManager_as3.hx
  testsuite/as3/classes.all/desktop/NativeDragOptions_as3.hx
  testsuite/as3/classes.all/desktop/NotificationType_as3.hx
  testsuite/as3/classes.all/desktop/SystemTrayIcon_as3.hx
  testsuite/as3/classes.all/desktop/Updater_as3.hx
  testsuite/as3/classes.all/display/AVM1Movie_as3.hx
  testsuite/as3/classes.all/display/ActionScriptVersion_as3.hx
  testsuite/as3/classes.all/display/BitmapDataChannel_as3.hx
  testsuite/as3/classes.all/display/BitmapData_as3.hx
  testsuite/as3/classes.all/display/Bitmap_as3.hx
  testsuite/as3/classes.all/display/BlendMode_as3.hx
  testsuite/as3/classes.all/display/CapsStyle_as3.hx
  testsuite/as3/classes.all/display/DisplayObjectContainer_as3.hx
  testsuite/as3/classes.all/display/DisplayObject_as3.hx
  testsuite/as3/classes.all/display/FocusDirection_as3.hx
  testsuite/as3/classes.all/display/FrameLabel_as3.hx
  testsuite/as3/classes.all/display/GradientType_as3.hx
  testsuite/as3/classes.all/display/Graphics_as3.hx
  testsuite/as3/classes.all/display/IBitmapDrawable_as3.hx
  testsuite/as3/classes.all/display/InteractiveObject_as3.hx
  testsuite/as3/classes.all/display/InterpolationMethod_as3.hx
  testsuite/as3/classes.all/display/JointStyle_as3.hx
  testsuite/as3/classes.all/display/LineScaleMode_as3.hx
  testsuite/as3/classes.all/display/LoaderInfo_as3.hx
  testsuite/as3/classes.all/display/Loader_as3.hx
  testsuite/as3/classes.all/display/MorphShape_as3.hx
  testsuite/as3/classes.all/display/MovieClip_as3.hx
  testsuite/as3/classes.all/display/NativeMenuItem_as3.hx
  testsuite/as3/classes.all/display/NativeMenu_as3.hx
  testsuite/as3/classes.all/display/NativeWindowDisplayState_as3.hx
  testsuite/as3/classes.all/display/NativeWindowInitOptions_as3.hx
  testsuite/as3/classes.all/display/NativeWindowResize_as3.hx
  testsuite/as3/classes.all/display/NativeWindowType_as3.hx
  testsuite/as3/classes.all/display/NativeWindow_as3.hx
  testsuite/as3/classes.all/display/PixelSnapping_as3.hx
  testsuite/as3/classes.all/display/SWFVersion_as3.hx
  testsuite/as3/classes.all/display/Scene_as3.hx
  testsuite/as3/classes.all/display/Screen_as3.hx
  testsuite/as3/classes.all/display/Shape_as3.hx
  testsuite/as3/classes.all/display/SimpleButton_as3.hx
  testsuite/as3/classes.all/display/SpreadMethod_as3.hx
  testsuite/as3/classes.all/display/Sprite_as3.hx
  testsuite/as3/classes.all/display/StageAlign_as3.hx
  testsuite/as3/classes.all/display/StageDisplayState_as3.hx
  testsuite/as3/classes.all/display/StageQuality_as3.hx
  testsuite/as3/classes.all/display/StageScaleMode_as3.hx
  testsuite/as3/classes.all/display/Stage_as3.hx
  testsuite/as3/classes.all/gen-as3-test.sh
=== modified file 'testsuite/as3/classes.all/DejaGnu.hx'
--- a/testsuite/as3/classes.all/DejaGnu.hx      2009-05-03 15:19:08 +0000
+++ b/testsuite/as3/classes.all/DejaGnu.hx      2009-05-15 01:57:34 +0000
@@ -18,7 +18,11 @@
 //
 
 import flash.Lib;
+#if flash9
 import flash.text.TextField;
+#else
+import flash.TextField;
+#end
 
 class DejaGnu {
     static var passed = 0;
@@ -32,8 +36,11 @@
     // to be automatically called at the start of the movie.
     static var inithack = init();
 
+#if flash9
     static var tf:flash.text.TextField;
-    
+#else
+    static var tf:flash.TextField;
+#end    
     static function init() {
         //if(dejagnu_module_initialized == 1) return;
         
@@ -63,13 +70,13 @@
     static public function pass(why) {
         passed++;
         var msg = 'PASSED: '+why;
-        flash.Lib.trace(msg);
+        xtrace(msg);
     }
 
     static public function xpass(why) {
         xpassed++;
         var msg = 'XPASSED: '+why;
-        flash.Lib.trace(msg);
+        xtrace(msg);
     }
     
     static function testcount() {
@@ -109,44 +116,7 @@
         } else {
             xpass('Test run '+obt+' ['+msg+']');
         }
-    }
-    
-    static public function check_equals(obt:Dynamic, exp:Dynamic, msg) {
-        if(msg == null) msg = "";
-        if ( obt == exp ) 
-            pass(obt+' == '+exp+' '+msg);
-        else 
-            fail('expected: "'+exp+'" , obtained: "'+obt+'" '+msg);
-    }
-    
-    static public function xcheck_equals(obt:Dynamic, exp:Dynamic, msg) {
-        if(msg == null) msg = "";
-        if ( obt == exp ) {
-            xpass(obt+' == '+exp+' '+msg);
-        } else {
-            xfail('expected: '+exp+' , obtained: '+obt+" "+msg);
-        }
-    }
-    
-    static public function check(a : Dynamic, msg) {
-        if ( a ) {
-            if ( msg != null ) pass(msg);
-            else pass(a);
-        } else {
-            if ( msg != null ) fail(msg);
-            else fail(a);
-        }
-    }
-
-    static public function xcheck(a : Dynamic, msg) {
-        if ( a ) {
-            if ( msg != null ) xpass(msg);
-            else xpass(a);
-        } else {
-            if ( msg != null ) xfail(msg);
-            else xfail(a);
-        }
-    }
+    }    
     
     static public function note(msg) {
         xtrace(msg);

=== added file 'testsuite/as3/classes.all/DejaGnu.swf'
Binary files a/testsuite/as3/classes.all/DejaGnu.swf    1970-01-01 00:00:00 
+0000 and b/testsuite/as3/classes.all/DejaGnu.swf   2009-05-15 01:57:34 +0000 
differ
=== added file 'testsuite/as3/classes.all/Makefile.am'
--- a/testsuite/as3/classes.all/Makefile.am     1970-01-01 00:00:00 +0000
+++ b/testsuite/as3/classes.all/Makefile.am     2009-05-15 01:57:34 +0000
@@ -0,0 +1,104 @@
+## Process this fill with automake to generate Makefile.in
+# 
+# Copyright (C) 2009 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+AUTOMAKE_OPTIONS = dejagnu
+
+EXTRA_DIST = Dejagnu.hx
+
+SWF_VERSION = 9
+
+HAXE_FLAGS = -swf-version $(SWF_VERSION) -cp $(srcdir) 
+
+# hopefully preprocessor is builtin in this case
+HAXE_CPP = $(CPP) -x c -P -I$(srcdir)
+
+# This gets it's values from the Makefile fragments.
+check_SCRIPTS =
+
+#include $(srcdir)/fl/accessibility/accessibility.am
+# include $(srcdir)/fl/containers/containers.am
+# include $(srcdir)/fl/controls/controls.am
+# include $(srcdir)/fl/core/core.am
+# include $(srcdir)/fl/managers/managers.am
+# include $(srcdir)/fl/motion/motion.am
+# include $(srcdir)/fl/transitions/transitions.am
+# include $(srcdir)/fl/video/video.am
+
+# These classes are in the flash namespace
+include $(srcdir)/accessibility/accessibility.am
+
+# These classes are for AIR only, not flash
+#include $(srcdir)/data/data.am
+# include $(srcdir)/desktop/desktop.am
+
+include $(srcdir)/display/display.am
+# include $(srcdir)/errors/errors.am
+# include $(srcdir)/events/events.am
+# include $(srcdir)/external/external.am
+# include $(srcdir)/filesystem/filesystem.am
+# include $(srcdir)/filters/filters.am
+# include $(srcdir)/geom/geom.am
+# include $(srcdir)/html/html.am
+include $(srcdir)/media/media.am
+# include $(srcdir)/net/net.am
+# include $(srcdir)/printing/printing.am
+# include $(srcdir)/sampler/sampler.am
+# include $(srcdir)/security/security.am
+# include $(srcdir)/system/system.am
+# include $(srcdir)/text/text.am
+# include $(srcdir)/ui/ui.am
+# include $(srcdir)/utils/utils.am
+# include $(srcdir)/xml/xml.am
+
+#/usr/bin/haxe -swf-version 9 -cp 
/home/rob/projects/gnu/gnash-bzr/avm2/testsuite/as3/classes.all -cp 
/home/rob/projects/gnu/gnash-bzr/avm2/testsuite/as3/classes.all/media -swf 
Sound_as3.swf -main Sound_as3.hx
+
+SUFFIXES = hx swf
+
+.hx.swf: 
+       @echo $(@F)
+       foo=$(@F); \
+       $(HAXE) $(HAXE_FLAGS) -swf $(@F) -main $(@F:%.swf=%.hx)
+
+CLEANFILES =  \
+       gnash-dbg.log \
+       site.exp.bak \
+       *-runner \
+       testrun.* \
+       *.swf \
+       PP_*.hx \
+       *_testrunner \
+       *_Runner
+
+check-DEJAGNU: site-update $(TEST_CASES)
+       @runtest=$(RUNTEST); \
+       if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+           GNASH_GC_TRIGGER_THRESHOLD=0  GNASHRC=../gnashrc $$runtest 
$(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
+       else \
+         echo "WARNING: could not find \`runtest'" 1>&2; \
+          for i in "$(TEST_CASES)"; do \
+           GNASH_GC_TRIGGER_THRESHOLD=0  GNASHRC=../gnashrc $(SHELL) $$i; \
+         done; \
+       fi
+
+site-update: site.exp
+       @rm -fr site.exp.bak
+       @cp site.exp site.exp.bak
+       @sed -e '/testcases/d' site.exp.bak > site.exp
+       @echo "# This is a list of the pre-compiled testcases" >> site.exp
+       @echo "set testcases \"$(TEST_CASES)\"" >> site.exp
+

=== modified file 
'testsuite/as3/classes.all/accessibility/AccessibilityProperties_as3.hx'
--- a/testsuite/as3/classes.all/accessibility/AccessibilityProperties_as3.hx    
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/accessibility/AccessibilityProperties_as3.hx    
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // AccessibilityProperties_as3.hx:  ActionScript 3 "AccessibilityProperties" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.accessibility.AccessibilityProperties;
 import flash.display.MovieClip;
+#else
+import flash.AccessibilityProperties;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_AccessibilityProperties {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class AccessibilityProperties_as3 {
     static function main() {
         var x1:AccessibilityProperties = new AccessibilityProperties();
 
@@ -76,16 +81,13 @@
            DejaGnu.fail("AccessibilityProperties::silent property doesn't 
exist");
        }
 
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
-       if (x1.AccessibilityProperties == AccessibilityProperties) {
-           DejaGnu.pass("AccessibilityProperties::AccessibilityProperties() 
method exists");
-       } else {
-           DejaGnu.fail("AccessibilityProperties::AccessibilityProperties() 
method doesn't exist");
-       }
-
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/accessibility/Accessibility_as3.hx'
--- a/testsuite/as3/classes.all/accessibility/Accessibility_as3.hx      
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/accessibility/Accessibility_as3.hx      
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // Accessibility_as3.hx:  ActionScript 3 "Accessibility" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,29 +23,27 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.accessibility.Accessibility;
 import flash.display.MovieClip;
+#else
+import flash.Accessibility;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Accessibility {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Accessibility_as3 {
     static function main() {
-        var x1:Accessibility = new Accessibility();
 
-        // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("Accessibility class exists");
-        } else {
-            DejaGnu.fail("Accessibility lass doesn't exist");
-        }
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.active == false) {
+       if (Accessibility.active == false) {
            DejaGnu.pass("Accessibility::active property exists");
        } else {
            DejaGnu.fail("Accessibility::active property doesn't exist");
@@ -54,7 +52,7 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.updateProperties == null) {
+       if (Accessibility.updateProperties == null) {
            DejaGnu.pass("Accessibility::updateProperties() method exists");
        } else {
            DejaGnu.fail("Accessibility::updateProperties() method doesn't 
exist");
@@ -64,3 +62,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== added file 'testsuite/as3/classes.all/accessibility/accessibility.am'
--- a/testsuite/as3/classes.all/accessibility/accessibility.am  1970-01-01 
00:00:00 +0000
+++ b/testsuite/as3/classes.all/accessibility/accessibility.am  2009-05-15 
01:57:34 +0000
@@ -0,0 +1,37 @@
+## Process this file with automake to generate Makefile.in
+# 
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+ACCESSIBILITYdir = $(srcdir)/accessibility
+
+#AM_CPPFLAGS += -I$(ACCESSIBILITYdir)
+
+ACCESSIBILITY_TESTS = 
+
+# if BUILD_ACCIMPL_AS3
+# ACCESSIBILITY_SOURCES += $(ACCESSIBILITYdir)/AccImpl_as3.cpp
+# endif
+
+if BUILD_ACCESSIBILITY_PROPERTIES_AS3
+ACCESSIBILITY_TESTS += accessibility/AccessibilityProperties_as3.swf
+endif
+
+if BUILD_ACCESSIBILITY_AS3
+ACCESSIBILITY_TESTS += accessibility/Accessibility_as3.swf
+endif
+
+check_SCRIPTS += $(ACCESSIBILITY_TESTS)
+HAXE_FLAGS += -cp $(ACCESSIBILITYdir)

=== modified file 'testsuite/as3/classes.all/data/EncryptedLocalStore_as3.hx'
--- a/testsuite/as3/classes.all/data/EncryptedLocalStore_as3.hx 2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/EncryptedLocalStore_as3.hx 2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // EncryptedLocalStore_as3.hx:  ActionScript 3 "EncryptedLocalStore" class, 
for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.EncryptedLocalStore;
 import flash.display.MovieClip;
+#else
+import flash.EncryptedLocalStore;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_EncryptedLocalStore {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class EncryptedLocalStore_as3 {
     static function main() {
         var x1:EncryptedLocalStore = new EncryptedLocalStore();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLCollationType_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLCollationType_as3.hx    2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLCollationType_as3.hx    2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLCollationType_as3.hx:  ActionScript 3 "SQLCollationType" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLCollationType;
 import flash.display.MovieClip;
+#else
+import flash.SQLCollationType;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLCollationType {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLCollationType_as3 {
     static function main() {
         var x1:SQLCollationType = new SQLCollationType();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLColumnNameStyle_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLColumnNameStyle_as3.hx  2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLColumnNameStyle_as3.hx  2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLColumnNameStyle_as3.hx:  ActionScript 3 "SQLColumnNameStyle" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLColumnNameStyle;
 import flash.display.MovieClip;
+#else
+import flash.SQLColumnNameStyle;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLColumnNameStyle {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLColumnNameStyle_as3 {
     static function main() {
         var x1:SQLColumnNameStyle = new SQLColumnNameStyle();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLColumnSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLColumnSchema_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLColumnSchema_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLColumnSchema_as3.hx:  ActionScript 3 "SQLColumnSchema" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLColumnSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLColumnSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLColumnSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLColumnSchema_as3 {
     static function main() {
         var x1:SQLColumnSchema = new SQLColumnSchema();
 
@@ -89,3 +94,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLConnection_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLConnection_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLConnection_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLConnection_as3.hx:  ActionScript 3 "SQLConnection" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLConnection;
 import flash.display.MovieClip;
+#else
+import flash.SQLConnection;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLConnection {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLConnection_as3 {
     static function main() {
         var x1:SQLConnection = new SQLConnection();
 
@@ -179,3 +184,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLIndexSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLIndexSchema_as3.hx      2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLIndexSchema_as3.hx      2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLIndexSchema_as3.hx:  ActionScript 3 "SQLIndexSchema" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLIndexSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLIndexSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLIndexSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLIndexSchema_as3 {
     static function main() {
         var x1:SQLIndexSchema = new SQLIndexSchema();
 
@@ -64,3 +69,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLMode_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLMode_as3.hx     2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/data/SQLMode_as3.hx     2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // SQLMode_as3.hx:  ActionScript 3 "SQLMode" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLMode;
 import flash.display.MovieClip;
+#else
+import flash.SQLMode;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLMode {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLMode_as3 {
     static function main() {
         var x1:SQLMode = new SQLMode();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLResult_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLResult_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/data/SQLResult_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // SQLResult_as3.hx:  ActionScript 3 "SQLResult" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLResult;
 import flash.display.MovieClip;
+#else
+import flash.SQLResult;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLResult {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLResult_as3 {
     static function main() {
         var x1:SQLResult = new SQLResult();
 
@@ -79,3 +84,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLSchemaResult_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLSchemaResult_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLSchemaResult_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLSchemaResult_as3.hx:  ActionScript 3 "SQLSchemaResult" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLSchemaResult;
 import flash.display.MovieClip;
+#else
+import flash.SQLSchemaResult;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLSchemaResult {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLSchemaResult_as3 {
     static function main() {
         var x1:SQLSchemaResult = new SQLSchemaResult();
 
@@ -79,3 +84,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLSchema_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/data/SQLSchema_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // SQLSchema_as3.hx:  ActionScript 3 "SQLSchema" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLSchema_as3 {
     static function main() {
         var x1:SQLSchema = new SQLSchema();
 
@@ -74,3 +79,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLStatement_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLStatement_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLStatement_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLStatement_as3.hx:  ActionScript 3 "SQLStatement" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLStatement;
 import flash.display.MovieClip;
+#else
+import flash.SQLStatement;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLStatement {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLStatement_as3 {
     static function main() {
         var x1:SQLStatement = new SQLStatement();
 
@@ -109,3 +114,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLTableSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLTableSchema_as3.hx      2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLTableSchema_as3.hx      2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLTableSchema_as3.hx:  ActionScript 3 "SQLTableSchema" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLTableSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLTableSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLTableSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLTableSchema_as3 {
     static function main() {
         var x1:SQLTableSchema = new SQLTableSchema();
 
@@ -64,3 +69,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLTransactionLockType_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLTransactionLockType_as3.hx      
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLTransactionLockType_as3.hx      
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLTransactionLockType_as3.hx:  ActionScript 3 "SQLTransactionLockType" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLTransactionLockType;
 import flash.display.MovieClip;
+#else
+import flash.SQLTransactionLockType;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLTransactionLockType {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLTransactionLockType_as3 {
     static function main() {
         var x1:SQLTransactionLockType = new SQLTransactionLockType();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLTriggerSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLTriggerSchema_as3.hx    2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLTriggerSchema_as3.hx    2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLTriggerSchema_as3.hx:  ActionScript 3 "SQLTriggerSchema" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLTriggerSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLTriggerSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLTriggerSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLTriggerSchema_as3 {
     static function main() {
         var x1:SQLTriggerSchema = new SQLTriggerSchema();
 
@@ -64,3 +69,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/data/SQLViewSchema_as3.hx'
--- a/testsuite/as3/classes.all/data/SQLViewSchema_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/data/SQLViewSchema_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SQLViewSchema_as3.hx:  ActionScript 3 "SQLViewSchema" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.data.SQLViewSchema;
 import flash.display.MovieClip;
+#else
+import flash.SQLViewSchema;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SQLViewSchema {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SQLViewSchema_as3 {
     static function main() {
         var x1:SQLViewSchema = new SQLViewSchema();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== added file 'testsuite/as3/classes.all/data/data.am'
--- a/testsuite/as3/classes.all/data/data.am    1970-01-01 00:00:00 +0000
+++ b/testsuite/as3/classes.all/data/data.am    2009-05-15 01:57:34 +0000
@@ -0,0 +1,83 @@
+## Process this file with automake to generate Makefile.in
+# 
+#   Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+DATAdir = $(srcdir)/data
+
+DATA_TESTS = 
+
+if BUILD_ENCRYPTEDLOCALSTORE_AS3
+DATA_TESTS += data/EncryptedLocalStore_as3.swf
+endif
+
+if BUILD_SQLCOLLATIONTYPE_AS3
+DATA_TESTS += data/SQLCollationType_as3.swf
+endif
+
+if BUILD_SQLCOLUMNNAMESTYLE_AS3
+DATA_TESTS += data/SQLColumnNameStyle_as3.swf
+endif
+
+if BUILD_SQLCOLUMNSCHEMA_AS3
+DATA_TESTS += data/SQLColumnSchema_as3.swf
+endif
+
+if BUILD_SQLCONNECTION_AS3
+DATA_TESTS += data/SQLConnection_as3.swf
+endif
+
+if BUILD_SQLINDEXSCHEMA_AS3
+DATA_TESTS += data/SQLIndexSchema_as3.swf
+endif
+
+if BUILD_SQLMODE_AS3
+DATA_TESTS += data/SQLMode_as3.swf
+endif
+
+if BUILD_SQLRESULT_AS3
+DATA_TESTS += data/SQLResult_as3.swf
+endif
+
+if BUILD_SQLSCHEMARESULT_AS3
+DATA_TESTS += data/SQLSchemaResult_as3.swf
+endif
+
+if BUILD_SQLSCHEMA_AS3
+DATA_TESTS += data/SQLSchema_as3.swf
+endif
+
+if BUILD_SQLSTATEMENT_AS3
+DATA_TESTS += data/SQLStatement_as3.swf
+endif
+
+if BUILD_SQLTABLESCHEMA_AS3
+DATA_TESTS += data/SQLTableSchema_as3.swf
+endif
+
+if BUILD_SQLTRANSACTIONLOCKTYPE_AS3
+DATA_TESTS += data/SQLTransactionLockType_as3.swf
+endif
+
+if BUILD_SQLTRIGGERSCHEMA_AS3
+DATA_TESTS += data/SQLTriggerSchema_as3.swf
+endif
+
+if BUILD_SQLVIEWSCHEMA_AS3
+DATA_TESTS += data/SQLViewSchema_as3.swf
+endif
+
+check_SCRIPTS += $(DATA_TESTS)
+HAXE_FLAGS += -cp $(DATAdir)

=== modified file 'testsuite/as3/classes.all/desktop/ClipboardFormats_as3.hx'
--- a/testsuite/as3/classes.all/desktop/ClipboardFormats_as3.hx 2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/ClipboardFormats_as3.hx 2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // ClipboardFormats_as3.hx:  ActionScript 3 "ClipboardFormats" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.ClipboardFormats;
 import flash.display.MovieClip;
+#else
+import flash.ClipboardFormats;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_ClipboardFormats {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class ClipboardFormats_as3 {
     static function main() {
         var x1:ClipboardFormats = new ClipboardFormats();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 
'testsuite/as3/classes.all/desktop/ClipboardTransferMode_as3.hx'
--- a/testsuite/as3/classes.all/desktop/ClipboardTransferMode_as3.hx    
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/ClipboardTransferMode_as3.hx    
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // ClipboardTransferMode_as3.hx:  ActionScript 3 "ClipboardTransferMode" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.ClipboardTransferMode;
 import flash.display.MovieClip;
+#else
+import flash.ClipboardTransferMode;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_ClipboardTransferMode {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class ClipboardTransferMode_as3 {
     static function main() {
         var x1:ClipboardTransferMode = new ClipboardTransferMode();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/Clipboard_as3.hx'
--- a/testsuite/as3/classes.all/desktop/Clipboard_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/Clipboard_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // Clipboard_as3.hx:  ActionScript 3 "Clipboard" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.Clipboard;
 import flash.display.MovieClip;
+#else
+import flash.Clipboard;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Clipboard {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Clipboard_as3 {
     static function main() {
         var x1:Clipboard = new Clipboard();
 
@@ -99,3 +104,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/DockIcon_as3.hx'
--- a/testsuite/as3/classes.all/desktop/DockIcon_as3.hx 2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/desktop/DockIcon_as3.hx 2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // DockIcon_as3.hx:  ActionScript 3 "DockIcon" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.DockIcon;
 import flash.display.MovieClip;
+#else
+import flash.DockIcon;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_DockIcon {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class DockIcon_as3 {
     static function main() {
         var x1:DockIcon = new DockIcon();
 
@@ -79,3 +84,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/Icon_as3.hx'
--- a/testsuite/as3/classes.all/desktop/Icon_as3.hx     2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/desktop/Icon_as3.hx     2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Icon_as3.hx:  ActionScript 3 "Icon" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.Icon;
 import flash.display.MovieClip;
+#else
+import flash.Icon;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Icon {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Icon_as3 {
     static function main() {
         var x1:Icon = new Icon();
 
@@ -56,3 +61,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/InteractiveIcon_as3.hx'
--- a/testsuite/as3/classes.all/desktop/InteractiveIcon_as3.hx  2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/InteractiveIcon_as3.hx  2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // InteractiveIcon_as3.hx:  ActionScript 3 "InteractiveIcon" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.InteractiveIcon;
 import flash.display.MovieClip;
+#else
+import flash.InteractiveIcon;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_InteractiveIcon {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class InteractiveIcon_as3 {
     static function main() {
         var x1:InteractiveIcon = new InteractiveIcon();
 
@@ -66,3 +71,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/NativeApplication_as3.hx'
--- a/testsuite/as3/classes.all/desktop/NativeApplication_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/NativeApplication_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeApplication_as3.hx:  ActionScript 3 "NativeApplication" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.NativeApplication;
 import flash.display.MovieClip;
+#else
+import flash.NativeApplication;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeApplication {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeApplication_as3 {
     static function main() {
         var x1:NativeApplication = new NativeApplication();
 
@@ -209,3 +214,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/NativeDragActions_as3.hx'
--- a/testsuite/as3/classes.all/desktop/NativeDragActions_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/NativeDragActions_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeDragActions_as3.hx:  ActionScript 3 "NativeDragActions" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.NativeDragActions;
 import flash.display.MovieClip;
+#else
+import flash.NativeDragActions;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeDragActions {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeDragActions_as3 {
     static function main() {
         var x1:NativeDragActions = new NativeDragActions();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/NativeDragManager_as3.hx'
--- a/testsuite/as3/classes.all/desktop/NativeDragManager_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/NativeDragManager_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeDragManager_as3.hx:  ActionScript 3 "NativeDragManager" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.NativeDragManager;
 import flash.display.MovieClip;
+#else
+import flash.NativeDragManager;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeDragManager {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeDragManager_as3 {
     static function main() {
         var x1:NativeDragManager = new NativeDragManager();
 
@@ -79,3 +84,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/NativeDragOptions_as3.hx'
--- a/testsuite/as3/classes.all/desktop/NativeDragOptions_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/NativeDragOptions_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeDragOptions_as3.hx:  ActionScript 3 "NativeDragOptions" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.NativeDragOptions;
 import flash.display.MovieClip;
+#else
+import flash.NativeDragOptions;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeDragOptions {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeDragOptions_as3 {
     static function main() {
         var x1:NativeDragOptions = new NativeDragOptions();
 
@@ -74,3 +79,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/NotificationType_as3.hx'
--- a/testsuite/as3/classes.all/desktop/NotificationType_as3.hx 2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/NotificationType_as3.hx 2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // NotificationType_as3.hx:  ActionScript 3 "NotificationType" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.NotificationType;
 import flash.display.MovieClip;
+#else
+import flash.NotificationType;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NotificationType {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NotificationType_as3 {
     static function main() {
         var x1:NotificationType = new NotificationType();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/SystemTrayIcon_as3.hx'
--- a/testsuite/as3/classes.all/desktop/SystemTrayIcon_as3.hx   2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/desktop/SystemTrayIcon_as3.hx   2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SystemTrayIcon_as3.hx:  ActionScript 3 "SystemTrayIcon" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.SystemTrayIcon;
 import flash.display.MovieClip;
+#else
+import flash.SystemTrayIcon;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SystemTrayIcon {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SystemTrayIcon_as3 {
     static function main() {
         var x1:SystemTrayIcon = new SystemTrayIcon();
 
@@ -76,3 +81,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/desktop/Updater_as3.hx'
--- a/testsuite/as3/classes.all/desktop/Updater_as3.hx  2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/desktop/Updater_as3.hx  2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Updater_as3.hx:  ActionScript 3 "Updater" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.desktop.Updater;
 import flash.display.MovieClip;
+#else
+import flash.Updater;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Updater {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Updater_as3 {
     static function main() {
         var x1:Updater = new Updater();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== added file 'testsuite/as3/classes.all/desktop/desktop.am'
--- a/testsuite/as3/classes.all/desktop/desktop.am      1970-01-01 00:00:00 
+0000
+++ b/testsuite/as3/classes.all/desktop/desktop.am      2009-05-15 01:57:34 
+0000
@@ -0,0 +1,76 @@
+## Process this file with automake to generate Makefile.in
+# 
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+DESKTOPdir = $(srcdir)/desktop
+
+DESKTOP_TESTS = 
+
+if BUILD_CLIPBOARDFORMATS_AS3
+DESKTOP_TESTS += desktop/ClipboardFormats_as3.swf
+endif
+
+if BUILD_CLIPBOARDTRANSFERMODE_AS3
+DESKTOP_TESTS += desktop/ClipboardTransferMode_as3.swf
+endif
+
+if BUILD_CLIPBOARD_AS3
+DESKTOP_TESTS += desktop/Clipboard_as3.swf
+endif
+
+if BUILD_DOCKICON_AS3
+DESKTOP_TESTS += desktop/DockIcon_as3.swf
+endif
+
+if BUILD_ICON_AS3
+DESKTOP_TESTS += desktop/Icon_as3.swf
+endif
+
+if BUILD_INTERACTIVEICON_AS3
+DESKTOP_TESTS += desktop/InteractiveIcon_as3.swf
+endif
+
+if BUILD_NATIVEAPPLICATION_AS3
+DESKTOP_TESTS += desktop/NativeApplication_as3.swf
+endif
+
+if BUILD_NATIVEDRAGACTIONS_AS3
+DESKTOP_TESTS += desktop/NativeDragActions_as3.swf
+endif
+
+if BUILD_NATIVEDRAGMANAGER_AS3
+DESKTOP_TESTS += desktop/NativeDragManager_as3.swf
+endif
+
+if BUILD_NATIVEDRAGOPTIONS_AS3
+DESKTOP_TESTS += desktop/NativeDragOptions_as3.swf
+endif
+
+if BUILD_NOTIFICATIONTYPE_AS3
+DESKTOP_TESTS += desktop/NotificationType_as3.swf
+endif
+
+if BUILD_SYSTEMTRAYICON_AS3
+DESKTOP_TESTS += desktop/SystemTrayIcon_as3.swf
+endif
+
+if BUILD_UPDATER_AS3
+DESKTOP_TESTS += desktop/Updater_as3.swf
+endif
+
+check_SCRIPTS += $(DESKTOP_TESTS)
+HAXE_FLAGS += -cp $(DESKTOPdir)
+

=== modified file 'testsuite/as3/classes.all/display/AVM1Movie_as3.hx'
--- a/testsuite/as3/classes.all/display/AVM1Movie_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/AVM1Movie_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // AVM1Movie_as3.hx:  ActionScript 3 "AVM1Movie" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.AVM1Movie;
 import flash.display.MovieClip;
+#else
+import flash.AVM1Movie;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_AVM1Movie {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class AVM1Movie_as3 {
     static function main() {
         var x1:AVM1Movie = new AVM1Movie();
 
@@ -48,3 +53,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/ActionScriptVersion_as3.hx'
--- a/testsuite/as3/classes.all/display/ActionScriptVersion_as3.hx      
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/ActionScriptVersion_as3.hx      
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // ActionScriptVersion_as3.hx:  ActionScript 3 "ActionScriptVersion" class, 
for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,21 +23,24 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.ActionScriptVersion;
 import flash.display.MovieClip;
+#else
+import flash.ActionScriptVersion;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_ActionScriptVersion {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class ActionScriptVersion_as3 {
     static function main() {
-        var x1:ActionScriptVersion = new ActionScriptVersion();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
+        if (ActionScriptVersion.ACTIONSCRIPT2 || 
ActionScriptVersion.ACTIONSCRIPT3) {
             DejaGnu.pass("ActionScriptVersion class exists");
         } else {
             DejaGnu.fail("ActionScriptVersion lass doesn't exist");
@@ -51,3 +54,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/BitmapDataChannel_as3.hx'
--- a/testsuite/as3/classes.all/display/BitmapDataChannel_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/BitmapDataChannel_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // BitmapDataChannel_as3.hx:  ActionScript 3 "BitmapDataChannel" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,45 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.BitmapDataChannel;
 import flash.display.MovieClip;
+#else
+import flash.BitmapDataChannel;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_BitmapDataChannel {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class BitmapDataChannel_as3 {
     static function main() {
-        var x1:BitmapDataChannel = new BitmapDataChannel();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("BitmapDataChannel class exists");
-        } else {
-            DejaGnu.fail("BitmapDataChannel lass doesn't exist");
+        if (BitmapDataChannel.ALPHA != null) {
+            DejaGnu.pass("BitmapDataChannel.ALPHA class exists");
+        } else {
+            DejaGnu.fail("BitmapDataChannel.ALPHA lass doesn't exist");
+        }
+
+        if (BitmapDataChannel.RED != null) {
+            DejaGnu.pass("BitmapDataChannel.RED class exists");
+        } else {
+            DejaGnu.fail("BitmapDataChannel.RED lass doesn't exist");
+        }
+
+        if (BitmapDataChannel.BLUE != null) {
+            DejaGnu.pass("BitmapDataChannel.BLUE class exists");
+        } else {
+            DejaGnu.fail("BitmapDataChannel.BLUE lass doesn't exist");
+        }
+
+        if (BitmapDataChannel.GREEN != null) {
+            DejaGnu.pass("BitmapDataChannel.GREEN class exists");
+        } else {
+            DejaGnu.fail("BitmapDataChannel.GREEN lass doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +72,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/BitmapData_as3.hx'
--- a/testsuite/as3/classes.all/display/BitmapData_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/BitmapData_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // BitmapData_as3.hx:  ActionScript 3 "BitmapData" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,18 +23,27 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
+import flash.utils.ByteArray;
 import flash.display.BitmapData;
+import flash.display.DisplayObject;
+import flash.geom.Rectangle;
 import flash.display.MovieClip;
+#else
+import flash.BitmapData;
+import flash.MovieClip;
+import flash.DisplayObject;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_BitmapData {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class BitmapData_as3 {
     static function main() {
-        var x1:BitmapData = new BitmapData();
+        var x1:BitmapData = new BitmapData(0, 30, false, 0xFFCC00);
 
         // Make sure we actually get a valid class        
         if (x1 != null) {
@@ -69,31 +78,26 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.BitmapData == 0) {
-           DejaGnu.pass("BitmapData::BitmapData() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::BitmapData() method doesn't exist");
-       }
        if (x1.applyFilter == null) {
            DejaGnu.pass("BitmapData::applyFilter() method exists");
        } else {
            DejaGnu.fail("BitmapData::applyFilter() method doesn't exist");
        }
-       if (x1.clone == BitmapData) {
-           DejaGnu.pass("BitmapData::clone() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::clone() method doesn't exist");
-       }
+//     if (x1.clone == BitmapData) {
+//         DejaGnu.pass("BitmapData::clone() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::clone() method doesn't exist");
+//     }
        if (x1.colorTransform == null) {
            DejaGnu.pass("BitmapData::colorTransform() method exists");
        } else {
            DejaGnu.fail("BitmapData::colorTransform() method doesn't exist");
        }
-       if (x1.compare == Object) {
-           DejaGnu.pass("BitmapData::compare() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::compare() method doesn't exist");
-       }
+//     if (x1.compare == DisplayObject) {
+//         DejaGnu.pass("BitmapData::compare() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::compare() method doesn't exist");
+//     }
        if (x1.copyChannel == null) {
            DejaGnu.pass("BitmapData::copyChannel() method exists");
        } else {
@@ -124,36 +128,36 @@
        } else {
            DejaGnu.fail("BitmapData::floodFill() method doesn't exist");
        }
-       if (x1.generateFilterRect == Rectangle) {
-           DejaGnu.pass("BitmapData::generateFilterRect() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::generateFilterRect() method doesn't 
exist");
-       }
-       if (x1.getColorBoundsRect == Rectangle) {
-           DejaGnu.pass("BitmapData::getColorBoundsRect() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::getColorBoundsRect() method doesn't 
exist");
-       }
-       if (x1.getPixel == 0) {
+//     if (x1.generateFilterRect == Rectangle) {
+//         DejaGnu.pass("BitmapData::generateFilterRect() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::generateFilterRect() method doesn't 
exist");
+//     }
+//     if (x1.getColorBoundsRect == Rectangle) {
+//         DejaGnu.pass("BitmapData::getColorBoundsRect() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::getColorBoundsRect() method doesn't 
exist");
+//     }
+       if (x1.getPixel(1,0) == 0) {
            DejaGnu.pass("BitmapData::getPixel() method exists");
        } else {
            DejaGnu.fail("BitmapData::getPixel() method doesn't exist");
        }
-       if (x1.getPixel32 == 0) {
+       if (x1.getPixel32(1,1) == 0) {
            DejaGnu.pass("BitmapData::getPixel32() method exists");
        } else {
            DejaGnu.fail("BitmapData::getPixel32() method doesn't exist");
        }
-       if (x1.getPixels == ByteArray) {
-           DejaGnu.pass("BitmapData::getPixels() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::getPixels() method doesn't exist");
-       }
-       if (x1.hitTest == false) {
-           DejaGnu.pass("BitmapData::hitTest() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::hitTest() method doesn't exist");
-       }
+//     if (x1.getPixels(1,0) == Rectangle) {
+//         DejaGnu.pass("BitmapData::getPixels() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::getPixels() method doesn't exist");
+//     }
+//     if (x1.hitTest == false) {
+//         DejaGnu.pass("BitmapData::hitTest() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::hitTest() method doesn't exist");
+//     }
        if (x1.lock == null) {
            DejaGnu.pass("BitmapData::lock() method exists");
        } else {
@@ -179,11 +183,12 @@
        } else {
            DejaGnu.fail("BitmapData::perlinNoise() method doesn't exist");
        }
-       if (x1.pixelDissolve == 0) {
-           DejaGnu.pass("BitmapData::pixelDissolve() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::pixelDissolve() method doesn't exist");
-       }
+// FIXME: this needs more arguments
+//     if (x1.pixelDissolve == 0) {
+//         DejaGnu.pass("BitmapData::pixelDissolve() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::pixelDissolve() method doesn't exist");
+//     }
        if (x1.scroll == null) {
            DejaGnu.pass("BitmapData::scroll() method exists");
        } else {
@@ -204,11 +209,12 @@
        } else {
            DejaGnu.fail("BitmapData::setPixels() method doesn't exist");
        }
-       if (x1.threshold == 0) {
-           DejaGnu.pass("BitmapData::threshold() method exists");
-       } else {
-           DejaGnu.fail("BitmapData::threshold() method doesn't exist");
-       }
+// FIXME: this needs more arguments
+//     if (x1.threshold == 0) {
+//         DejaGnu.pass("BitmapData::threshold() method exists");
+//     } else {
+//         DejaGnu.fail("BitmapData::threshold() method doesn't exist");
+//     }
        if (x1.unlock == null) {
            DejaGnu.pass("BitmapData::unlock() method exists");
        } else {
@@ -219,3 +225,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Bitmap_as3.hx'
--- a/testsuite/as3/classes.all/display/Bitmap_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Bitmap_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Bitmap_as3.hx:  ActionScript 3 "Bitmap" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Bitmap;
 import flash.display.MovieClip;
+#else
+import flash.Bitmap;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Bitmap {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Bitmap_as3 {
     static function main() {
         var x1:Bitmap = new Bitmap();
 
@@ -45,11 +50,6 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.bitmapData == BitmapData) {
-           DejaGnu.pass("Bitmap::bitmapData property exists");
-       } else {
-           DejaGnu.fail("Bitmap::bitmapData property doesn't exist");
-       }
        if (x1.pixelSnapping == null) {
            DejaGnu.pass("Bitmap::pixelSnapping property exists");
        } else {
@@ -64,13 +64,14 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.Bitmap == false) {
-           DejaGnu.pass("Bitmap::Bitmap() method exists");
-       } else {
-           DejaGnu.fail("Bitmap::Bitmap() method doesn't exist");
-       }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/BlendMode_as3.hx'
--- a/testsuite/as3/classes.all/display/BlendMode_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/BlendMode_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // BlendMode_as3.hx:  ActionScript 3 "BlendMode" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,106 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.BlendMode;
 import flash.display.MovieClip;
+#else
+import flash.BlendMode;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_BlendMode {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class BlendMode_as3 {
     static function main() {
-        var x1:BlendMode = new BlendMode();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("BlendMode class exists");
-        } else {
-            DejaGnu.fail("BlendMode lass doesn't exist");
+        if (BlendMode.ADD != null) {
+            DejaGnu.pass("BlendMode.ADD class exists");
+        } else {
+            DejaGnu.fail("BlendMode.ADD class doesn't exist");
+        }
+
+        if (BlendMode.ALPHA != null) {
+            DejaGnu.pass("BlendMode.ALPHA class exists");
+        } else {
+            DejaGnu.fail("BlendMode.ALPHA class doesn't exist");
+        }
+
+        if (BlendMode.DARKEN != null) {
+            DejaGnu.pass("BlendMode.DARKEN class exists");
+        } else {
+            DejaGnu.fail("BlendMode.DARKEN class doesn't exist");
+        }
+
+        if (BlendMode.DIFFERENCE != null) {
+            DejaGnu.pass("BlendMode.DIFFERENCE class exists");
+        } else {
+            DejaGnu.fail("BlendMode.DIFFERENCE class doesn't exist");
+        }
+
+        if (BlendMode.ERASE != null) {
+            DejaGnu.pass("BlendMode.ERASE class exists");
+        } else {
+            DejaGnu.fail("BlendMode.ERASE class doesn't exist");
+        }
+
+        if (BlendMode.HARDLIGHT != null) {
+            DejaGnu.pass("BlendMode.HARDLIGHT class exists");
+        } else {
+            DejaGnu.fail("BlendMode.HARDLIGHT class doesn't exist");
+        }
+
+        if (BlendMode.INVERT != null) {
+            DejaGnu.pass("BlendMode.INVERT class exists");
+        } else {
+            DejaGnu.fail("BlendMode.INVERT class doesn't exist");
+        }
+
+        if (BlendMode.LAYER != null) {
+            DejaGnu.pass("BlendMode.LAYER class exists");
+        } else {
+            DejaGnu.fail("BlendMode.LAYER class doesn't exist");
+        }
+
+        if (BlendMode.LIGHTEN != null) {
+            DejaGnu.pass("BlendMode.LIGHTEN class exists");
+        } else {
+            DejaGnu.fail("BlendMode.LIGHTEN class doesn't exist");
+        }
+
+        if (BlendMode.MULTIPLY != null) {
+            DejaGnu.pass("BlendMode.MULTIPLY class exists");
+        } else {
+            DejaGnu.fail("BlendMode.MULTIPLY class doesn't exist");
+        }
+
+        if (BlendMode.NORMAL != null) {
+            DejaGnu.pass("BlendMode.NORMAL class exists");
+        } else {
+            DejaGnu.fail("BlendMode.NORMAL class doesn't exist");
+        }
+
+        if (BlendMode.OVERLAY != null) {
+            DejaGnu.pass("BlendMode.OVERLAY class exists");
+        } else {
+            DejaGnu.fail("BlendMode.OVERLAY class doesn't exist");
+        }
+
+        if (BlendMode.SCREEN != null) {
+            DejaGnu.pass("BlendMode.SCREEN class exists");
+        } else {
+            DejaGnu.fail("BlendMode.SCREEN class doesn't exist");
+        }
+
+        if (BlendMode.SUBTRACT != null) {
+            DejaGnu.pass("BlendMode.SUBTRACT class exists");
+        } else {
+            DejaGnu.fail("BlendMode.SUBTRACT class doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +133,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/CapsStyle_as3.hx'
--- a/testsuite/as3/classes.all/display/CapsStyle_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/CapsStyle_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // CapsStyle_as3.hx:  ActionScript 3 "CapsStyle" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,39 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.CapsStyle;
 import flash.display.MovieClip;
+#else
+import flash.CapsStyle;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_CapsStyle {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class CapsStyle_as3 {
     static function main() {
-        var x1:CapsStyle = new CapsStyle();
-
-        // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("CapsStyle class exists");
-        } else {
-            DejaGnu.fail("CapsStyle lass doesn't exist");
+
+       if (CapsStyle.NONE != null) {
+            DejaGnu.pass("CapsStyle.NONE constant exists");
+        } else {
+            DejaGnu.fail("CapsStyle.NONE constant doesn't exist");
+        }
+
+       if (CapsStyle.ROUND != null) {
+            DejaGnu.pass("CapsStyle.ROUND constant exists");
+        } else {
+            DejaGnu.fail("CapsStyle.ROUND constant doesn't exist");
+        }
+
+       if (CapsStyle.SQUARE != null) {
+            DejaGnu.pass("CapsStyle.SQUARE constant exists");
+        } else {
+            DejaGnu.fail("CapsStyle.SQUARE constant doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +66,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 
'testsuite/as3/classes.all/display/DisplayObjectContainer_as3.hx'
--- a/testsuite/as3/classes.all/display/DisplayObjectContainer_as3.hx   
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/DisplayObjectContainer_as3.hx   
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // DisplayObjectContainer_as3.hx:  ActionScript 3 "DisplayObjectContainer" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,24 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.DisplayObjectContainer;
+import flash.geom.Point;
+import flash.text.TextSnapshot;
 import flash.display.MovieClip;
+#else
+import flash.DisplayObjectContainer;
+import flash.TextSnapshot;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_DisplayObjectContainer {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class DisplayObjectContainer_as3 {
     static function main() {
         var x1:DisplayObjectContainer = new DisplayObjectContainer();
 
@@ -60,70 +68,72 @@
        } else {
            DejaGnu.fail("DisplayObjectContainer::tabChildren property doesn't 
exist");
        }
-       if (x1.textSnapshot == textSnapshot) {
-           DejaGnu.pass("DisplayObjectContainer::textSnapshot property 
exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::textSnapshot property doesn't 
exist");
-       }
+//     if (x1.textSnapshot == textSnapshot) {
+//         DejaGnu.pass("DisplayObjectContainer::textSnapshot property 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::textSnapshot property doesn't 
exist");
+//     }
 
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.DisplayObjectContainer == DisplayObjectContainer) {
-           DejaGnu.pass("DisplayObjectContainer::DisplayObjectContainer() 
method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::DisplayObjectContainer() 
method doesn't exist");
-       }
-       if (x1.addChild == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::addChild() method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::addChild() method doesn't 
exist");
-       }
-       if (x1.addChildAt == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::addChildAt() method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::addChildAt() method doesn't 
exist");
-       }
-       if (x1.areInaccessibleObjectsUnderPoint == false) {
-           
DejaGnu.pass("DisplayObjectContainer::areInaccessibleObjectsUnderPoint() method 
exists");
-       } else {
-           
DejaGnu.fail("DisplayObjectContainer::areInaccessibleObjectsUnderPoint() method 
doesn't exist");
-       }
-       if (x1.contains == false) {
-           DejaGnu.pass("DisplayObjectContainer::contains() method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::contains() method doesn't 
exist");
-       }
-       if (x1.getChildAt == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::getChildAt() method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::getChildAt() method doesn't 
exist");
-       }
-       if (x1.getChildByName == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::getChildByName() method 
exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::getChildByName() method 
doesn't exist");
-       }
-       if (x1.getChildIndex == 0) {
-           DejaGnu.pass("DisplayObjectContainer::getChildIndex() method 
exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::getChildIndex() method 
doesn't exist");
-       }
-       if (x1.getObjectsUnderPoint == 0) {
-           DejaGnu.pass("DisplayObjectContainer::getObjectsUnderPoint() method 
exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::getObjectsUnderPoint() method 
doesn't exist");
-       }
-       if (x1.removeChild == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::removeChild() method exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::removeChild() method doesn't 
exist");
-       }
-       if (x1.removeChildAt == DisplayObject) {
-           DejaGnu.pass("DisplayObjectContainer::removeChildAt() method 
exists");
-       } else {
-           DejaGnu.fail("DisplayObjectContainer::removeChildAt() method 
doesn't exist");
-       }
+//     if (x1.DisplayObjectContainer == DisplayObjectContainer) {
+//         DejaGnu.pass("DisplayObjectContainer::DisplayObjectContainer() 
method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::DisplayObjectContainer() 
method doesn't exist");
+//     }
+//     if (x1.addChild == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::addChild() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::addChild() method doesn't 
exist");
+//     }
+//     if (x1.addChildAt == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::addChildAt() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::addChildAt() method doesn't 
exist");
+//     }
+// FIXME: this needs to be a point
+//     if (x1.areInaccessibleObjectsUnderPoint == false) {
+//         
DejaGnu.pass("DisplayObjectContainer::areInaccessibleObjectsUnderPoint() method 
exists");
+//     } else {
+//         
DejaGnu.fail("DisplayObjectContainer::areInaccessibleObjectsUnderPoint() method 
doesn't exist");
+//     }
+//     if (x1.contains == false) {
+//         DejaGnu.pass("DisplayObjectContainer::contains() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::contains() method doesn't 
exist");
+//     }
+
+//     if (x1.getChildAt == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::getChildAt() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::getChildAt() method doesn't 
exist");
+//     }
+//     if (x1.getChildByName == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::getChildByName() method 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::getChildByName() method 
doesn't exist");
+//     }
+//     if (x1.getChildIndex == 0) {
+//         DejaGnu.pass("DisplayObjectContainer::getChildIndex() method 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::getChildIndex() method 
doesn't exist");
+//     }
+//     if (x1.getObjectsUnderPoint == 0) {
+//         DejaGnu.pass("DisplayObjectContainer::getObjectsUnderPoint() method 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::getObjectsUnderPoint() method 
doesn't exist");
+//     }
+//     if (x1.removeChild == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::removeChild() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::removeChild() method doesn't 
exist");
+//     }
+//     if (x1.removeChildAt == DisplayObject) {
+//         DejaGnu.pass("DisplayObjectContainer::removeChildAt() method 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObjectContainer::removeChildAt() method 
doesn't exist");
+//     }
        if (x1.setChildIndex == null) {
            DejaGnu.pass("DisplayObjectContainer::setChildIndex() method 
exists");
        } else {
@@ -144,3 +154,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/DisplayObject_as3.hx'
--- a/testsuite/as3/classes.all/display/DisplayObject_as3.hx    2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/DisplayObject_as3.hx    2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // DisplayObject_as3.hx:  ActionScript 3 "DisplayObject" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,22 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
+import flash.accessibility.AccessibilityProperties;
 import flash.display.DisplayObject;
 import flash.display.MovieClip;
+#else
+import flash.DisplayObject;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_DisplayObject {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class DisplayObject_as3 {
     static function main() {
         var x1:DisplayObject = new DisplayObject();
 
@@ -45,11 +51,11 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.accessibilityProperties == accessibilityProperties) {
-           DejaGnu.pass("DisplayObject::accessibilityProperties property 
exists");
-       } else {
-           DejaGnu.fail("DisplayObject::accessibilityProperties property 
doesn't exist");
-       }
+//     if (x1.accessibilityProperties == accessibilityProperties) {
+//         DejaGnu.pass("DisplayObject::accessibilityProperties property 
exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::accessibilityProperties property 
doesn't exist");
+//     }
        if (x1.alpha == 0) {
            DejaGnu.pass("DisplayObject::alpha property exists");
        } else {
@@ -65,26 +71,26 @@
        } else {
            DejaGnu.fail("DisplayObject::cacheAsBitmap property doesn't exist");
        }
-       if (x1.filters == 0) {
-           DejaGnu.pass("DisplayObject::filters property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::filters property doesn't exist");
-       }
+//     if (x1.filters == 0) {
+//         DejaGnu.pass("DisplayObject::filters property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::filters property doesn't exist");
+//     }
        if (x1.height == 0) {
            DejaGnu.pass("DisplayObject::height property exists");
        } else {
            DejaGnu.fail("DisplayObject::height property doesn't exist");
        }
-       if (x1.loaderInfo == loaderInfo) {
-           DejaGnu.pass("DisplayObject::loaderInfo property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::loaderInfo property doesn't exist");
-       }
-       if (x1.mask == mask) {
-           DejaGnu.pass("DisplayObject::mask property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::mask property doesn't exist");
-       }
+//     if (x1.loaderInfo == loaderInfo) {
+//         DejaGnu.pass("DisplayObject::loaderInfo property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::loaderInfo property doesn't exist");
+//     }
+//     if (x1.mask == mask) {
+//         DejaGnu.pass("DisplayObject::mask property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::mask property doesn't exist");
+//     }
        if (x1.mouseX == 0) {
            DejaGnu.pass("DisplayObject::mouseX property exists");
        } else {
@@ -100,31 +106,31 @@
        } else {
            DejaGnu.fail("DisplayObject::name property doesn't exist");
        }
-       if (x1.opaqueBackground == Object) {
-           DejaGnu.pass("DisplayObject::opaqueBackground property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::opaqueBackground property doesn't 
exist");
-       }
-       if (x1.parent == parent) {
-           DejaGnu.pass("DisplayObject::parent property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::parent property doesn't exist");
-       }
-       if (x1.root == root) {
-           DejaGnu.pass("DisplayObject::root property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::root property doesn't exist");
-       }
+//     if (x1.opaqueBackground == Object) {
+//         DejaGnu.pass("DisplayObject::opaqueBackground property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::opaqueBackground property doesn't 
exist");
+//     }
+//     if (x1.parent == parent) {
+//         DejaGnu.pass("DisplayObject::parent property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::parent property doesn't exist");
+//     }
+//     if (x1.root == root) {
+//         DejaGnu.pass("DisplayObject::root property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::root property doesn't exist");
+//     }
        if (x1.rotation == 0) {
            DejaGnu.pass("DisplayObject::rotation property exists");
        } else {
            DejaGnu.fail("DisplayObject::rotation property doesn't exist");
        }
-       if (x1.scale9Grid == Rectangle) {
-           DejaGnu.pass("DisplayObject::scale9Grid property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::scale9Grid property doesn't exist");
-       }
+//     if (x1.scale9Grid == Rectangle) {
+//         DejaGnu.pass("DisplayObject::scale9Grid property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::scale9Grid property doesn't exist");
+//     }
        if (x1.scaleX == 0) {
            DejaGnu.pass("DisplayObject::scaleX property exists");
        } else {
@@ -135,21 +141,21 @@
        } else {
            DejaGnu.fail("DisplayObject::scaleY property doesn't exist");
        }
-       if (x1.scrollRect == Rectangle) {
-           DejaGnu.pass("DisplayObject::scrollRect property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::scrollRect property doesn't exist");
-       }
-       if (x1.stage == Stage) {
-           DejaGnu.pass("DisplayObject::stage property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::stage property doesn't exist");
-       }
-       if (x1.transform == transform) {
-           DejaGnu.pass("DisplayObject::transform property exists");
-       } else {
-           DejaGnu.fail("DisplayObject::transform property doesn't exist");
-       }
+//     if (x1.scrollRect == Rectangle) {
+//         DejaGnu.pass("DisplayObject::scrollRect property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::scrollRect property doesn't exist");
+//     }
+//     if (x1.stage == Stage) {
+//         DejaGnu.pass("DisplayObject::stage property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::stage property doesn't exist");
+//     }
+//     if (x1.transform == transform) {
+//         DejaGnu.pass("DisplayObject::transform property exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::transform property doesn't exist");
+//     }
        if (x1.visible == false) {
            DejaGnu.pass("DisplayObject::visible property exists");
        } else {
@@ -174,38 +180,44 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.getBounds == Rectangle) {
-           DejaGnu.pass("DisplayObject::getBounds() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::getBounds() method doesn't exist");
-       }
-       if (x1.getRect == Rectangle) {
-           DejaGnu.pass("DisplayObject::getRect() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::getRect() method doesn't exist");
-       }
-       if (x1.globalToLocal == Point) {
-           DejaGnu.pass("DisplayObject::globalToLocal() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::globalToLocal() method doesn't exist");
-       }
-       if (x1.hitTestObject == false) {
-           DejaGnu.pass("DisplayObject::hitTestObject() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::hitTestObject() method doesn't exist");
-       }
-       if (x1.hitTestPoint == false) {
-           DejaGnu.pass("DisplayObject::hitTestPoint() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::hitTestPoint() method doesn't exist");
-       }
-       if (x1.localToGlobal == Point) {
-           DejaGnu.pass("DisplayObject::localToGlobal() method exists");
-       } else {
-           DejaGnu.fail("DisplayObject::localToGlobal() method doesn't exist");
-       }
+//     if (x1.getBounds == Rectangle) {
+//         DejaGnu.pass("DisplayObject::getBounds() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::getBounds() method doesn't exist");
+//     }
+//     if (x1.getRect == Rectangle) {
+//         DejaGnu.pass("DisplayObject::getRect() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::getRect() method doesn't exist");
+//     }
+//     if (x1.globalToLocal == Point) {
+//         DejaGnu.pass("DisplayObject::globalToLocal() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::globalToLocal() method doesn't exist");
+//     }
+//     if (x1.hitTestObject == Point) {
+//         DejaGnu.pass("DisplayObject::hitTestObject() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::hitTestObject() method doesn't exist");
+//     }
+//     if (x1.hitTestPoint == Point) {
+//         DejaGnu.pass("DisplayObject::hitTestPoint() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::hitTestPoint() method doesn't exist");
+//     }
+//     if (x1.localToGlobal == Point) {
+//         DejaGnu.pass("DisplayObject::localToGlobal() method exists");
+//     } else {
+//         DejaGnu.fail("DisplayObject::localToGlobal() method doesn't exist");
+//     }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/FocusDirection_as3.hx'
--- a/testsuite/as3/classes.all/display/FocusDirection_as3.hx   2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/FocusDirection_as3.hx   2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // FocusDirection_as3.hx:  ActionScript 3 "FocusDirection" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.FocusDirection;
 import flash.display.MovieClip;
+#else
+import flash.FocusDirection;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_FocusDirection {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class FocusDirection_as3 {
     static function main() {
         var x1:FocusDirection = new FocusDirection();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/FrameLabel_as3.hx'
--- a/testsuite/as3/classes.all/display/FrameLabel_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/FrameLabel_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // FrameLabel_as3.hx:  ActionScript 3 "FrameLabel" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,18 +23,23 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.FrameLabel;
 import flash.display.MovieClip;
+#else
+import flash.FrameLabel;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_FrameLabel {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class FrameLabel_as3 {
     static function main() {
-        var x1:FrameLabel = new FrameLabel();
+        var x1:FrameLabel = new FrameLabel("Hello World", 0);
 
         // Make sure we actually get a valid class        
         if (x1 != null) {
@@ -57,7 +62,18 @@
        }
 
        if (x1.frame == 0) {
+           DejaGnu.pass("FrameLabel::frame property exists");
+       } else {
+           DejaGnu.fail("FrameLabel::frame property doesn't exist");
+       }
+
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/GradientType_as3.hx'
--- a/testsuite/as3/classes.all/display/GradientType_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/GradientType_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // GradientType_as3.hx:  ActionScript 3 "GradientType" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,34 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.GradientType;
 import flash.display.MovieClip;
+#else
+import flash.GradientType;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_GradientType {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class GradientType_as3 {
     static function main() {
-        var x1:GradientType = new GradientType();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("GradientType class exists");
-        } else {
-            DejaGnu.fail("GradientType lass doesn't exist");
+        if (GradientType.LINEAR != null) {
+            DejaGnu.pass("GradientType.LINEAR constant exists");
+        } else {
+            DejaGnu.fail("GradientType.LINEAR constant doesn't exist");
+        }
+
+        if (GradientType.RADIAL != null) {
+            DejaGnu.pass("GradientTypee.RADIAL constant exists");
+        } else {
+            DejaGnu.fail("GradientTypee.RADIAL constant doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +61,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Graphics_as3.hx'
--- a/testsuite/as3/classes.all/display/Graphics_as3.hx 2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Graphics_as3.hx 2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Graphics_as3.hx:  ActionScript 3 "Graphics" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Graphics;
 import flash.display.MovieClip;
+#else
+import flash.Graphics;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Graphics {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Graphics_as3 {
     static function main() {
         var x1:Graphics = new Graphics();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/IBitmapDrawable_as3.hx'
--- a/testsuite/as3/classes.all/display/IBitmapDrawable_as3.hx  2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/IBitmapDrawable_as3.hx  2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // IBitmapDrawable_as3.hx:  ActionScript 3 "IBitmapDrawable" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.IBitmapDrawable;
 import flash.display.MovieClip;
+#else
+import flash.IBitmapDrawable;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_IBitmapDrawable {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class IBitmapDrawable_as3 {
     static function main() {
         var x1:IBitmapDrawable = new IBitmapDrawable();
 
@@ -48,3 +53,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/InteractiveObject_as3.hx'
--- a/testsuite/as3/classes.all/display/InteractiveObject_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/InteractiveObject_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // InteractiveObject_as3.hx:  ActionScript 3 "InteractiveObject" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.InteractiveObject;
 import flash.display.MovieClip;
+#else
+import flash.InteractiveObject;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_InteractiveObject {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class InteractiveObject_as3 {
     static function main() {
         var x1:InteractiveObject = new InteractiveObject();
 
@@ -45,21 +50,21 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.contextMenu == NativeMenu) {
-           DejaGnu.pass("InteractiveObject::contextMenu property exists");
-       } else {
-           DejaGnu.fail("InteractiveObject::contextMenu property doesn't 
exist");
-       }
+//     if (x1.contextMenu == NativeMenu) {
+//         DejaGnu.pass("InteractiveObject::contextMenu property exists");
+//     } else {
+//         DejaGnu.fail("InteractiveObject::contextMenu property doesn't 
exist");
+//     }
        if (x1.doubleClickEnabled == false) {
            DejaGnu.pass("InteractiveObject::doubleClickEnabled property 
exists");
        } else {
            DejaGnu.fail("InteractiveObject::doubleClickEnabled property 
doesn't exist");
        }
-       if (x1.focusRect == Object) {
-           DejaGnu.pass("InteractiveObject::focusRect property exists");
-       } else {
-           DejaGnu.fail("InteractiveObject::focusRect property doesn't exist");
-       }
+//     if (x1.focusRect == Object) {
+//         DejaGnu.pass("InteractiveObject::focusRect property exists");
+//     } else {
+//         DejaGnu.fail("InteractiveObject::focusRect property doesn't exist");
+//     }
        if (x1.mouseEnabled == false) {
            DejaGnu.pass("InteractiveObject::mouseEnabled property exists");
        } else {
@@ -76,16 +81,13 @@
            DejaGnu.fail("InteractiveObject::tabIndex property doesn't exist");
        }
 
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
-       if (x1.InteractiveObject == InteractiveObject) {
-           DejaGnu.pass("InteractiveObject::InteractiveObject() method 
exists");
-       } else {
-           DejaGnu.fail("InteractiveObject::InteractiveObject() method doesn't 
exist");
-       }
-
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/InterpolationMethod_as3.hx'
--- a/testsuite/as3/classes.all/display/InterpolationMethod_as3.hx      
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/InterpolationMethod_as3.hx      
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // InterpolationMethod_as3.hx:  ActionScript 3 "InterpolationMethod" class, 
for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,41 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.InterpolationMethod;
 import flash.display.MovieClip;
+#else
+import flash.InterpolationMethod;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_InterpolationMethod {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class InterpolationMethod_as3 {
     static function main() {
-        var x1:InterpolationMethod = new InterpolationMethod();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("InterpolationMethod class exists");
-        } else {
-            DejaGnu.fail("InterpolationMethod lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
-
-        // Call this after finishing all tests. It prints out the totals.
+       if (InterpolationMethod.LINEAR_RGB != null) {
+            DejaGnu.pass("InterpolationMethod.LINEAR_RGB  constant exists");
+        } else {
+            DejaGnu.fail("InterpolationMethod.LINEAR_RGB constant doesn't 
exist");
+        }
+
+       if (InterpolationMethod.RGB != null) {
+            DejaGnu.pass("InterpolationMethod.RGB  constant exists");
+        } else {
+            DejaGnu.fail("InterpolationMethod.RGB constant doesn't exist");
+        }
+
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/JointStyle_as3.hx'
--- a/testsuite/as3/classes.all/display/JointStyle_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/JointStyle_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // JointStyle_as3.hx:  ActionScript 3 "JointStyle" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,48 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.JointStyle;
 import flash.display.MovieClip;
+#else
+import flash.JointStyle;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_JointStyle {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class JointStyle_as3 {
     static function main() {
-        var x1:JointStyle = new JointStyle();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("JointStyle class exists");
-        } else {
-            DejaGnu.fail("JointStyle lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+        if (JointStyle.BEVEL != null) {
+            DejaGnu.pass("JointStyle.BEVEL constant exists");
+        } else {
+            DejaGnu.fail("JointStyle .BEVEL constant doesn't exist");
+        }
+
+        if (JointStyle.MITER != null) {
+            DejaGnu.pass("JointStyle.MITER constant exists");
+        } else {
+            DejaGnu.fail("JointStyle.MITER constant doesn't exist");
+        }
+
+        if (JointStyle.ROUND != null) {
+            DejaGnu.pass("JointStyle.ROUND constant exists");
+        } else {
+            DejaGnu.fail("JointStyle.ROUND constant doesn't exist");
+        }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/LineScaleMode_as3.hx'
--- a/testsuite/as3/classes.all/display/LineScaleMode_as3.hx    2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/LineScaleMode_as3.hx    2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // LineScaleMode_as3.hx:  ActionScript 3 "LineScaleMode" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,54 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.LineScaleMode;
 import flash.display.MovieClip;
+#else
+import flash.LineScaleMode;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_LineScaleMode {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class LineScaleMode_as3 {
     static function main() {
-        var x1:LineScaleMode = new LineScaleMode();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("LineScaleMode class exists");
-        } else {
-            DejaGnu.fail("LineScaleMode lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+        if ( LineScaleMode.HORIZONTAL != null) {
+            DejaGnu.pass("LineScaleMode.HORIZONTAL constant exists");
+        } else {
+            DejaGnu.fail("LineScaleMode.HORIZONTAL constant doesn't exist");
+        }
+
+        if ( LineScaleMode.NONE != null) {
+            DejaGnu.pass("LineScaleMode.NONE constant exists");
+        } else {
+            DejaGnu.fail("LineScaleMode.NONE constant doesn't exist");
+        }
+
+        if ( LineScaleMode.NORMAL != null) {
+            DejaGnu.pass("LineScaleMode.NORMAL constant exists");
+        } else {
+            DejaGnu.fail("LineScaleMode.NORMAL constant doesn't exist");
+        }
+
+        if ( LineScaleMode.VERTICAL != null) {
+            DejaGnu.pass("LineScaleMode.VERTICAL constant exists");
+        } else {
+            DejaGnu.fail("LineScaleMode.VERTICAL constant doesn't exist");
+        }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/LoaderInfo_as3.hx'
--- a/testsuite/as3/classes.all/display/LoaderInfo_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/LoaderInfo_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // LoaderInfo_as3.hx:  ActionScript 3 "LoaderInfo" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.LoaderInfo;
 import flash.display.MovieClip;
+#else
+import flash.LoaderInfo;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_LoaderInfo {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class LoaderInfo_as3 {
     static function main() {
         var x1:LoaderInfo = new LoaderInfo();
 
@@ -45,27 +50,27 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.actionScriptVersion == uint) {
-           DejaGnu.pass("LoaderInfo::actionScriptVersion property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::actionScriptVersion property doesn't 
exist");
-       }
-       if (x1.applicationDomain == applicationDomain) {
-           DejaGnu.pass("LoaderInfo::applicationDomain property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::applicationDomain property doesn't 
exist");
-       }
-       if (x1.bytes == ByteArray) {
-           DejaGnu.pass("LoaderInfo::bytes property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::bytes property doesn't exist");
-       }
-       if (x1.bytesLoaded == uint) {
+//     if (ActionScriptVersion == 0) {
+//         DejaGnu.pass("LoaderInfo::actionScriptVersion property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::actionScriptVersion property doesn't 
exist");
+//     }
+//     if (x1.applicationDomain == applicationDomain) {
+//         DejaGnu.pass("LoaderInfo::applicationDomain property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::applicationDomain property doesn't 
exist");
+//     }
+//     if (x1.bytes == ByteArray) {
+//         DejaGnu.pass("LoaderInfo::bytes property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::bytes property doesn't exist");
+//     }
+       if (x1.bytesLoaded == 0) {
            DejaGnu.pass("LoaderInfo::bytesLoaded property exists");
        } else {
            DejaGnu.fail("LoaderInfo::bytesLoaded property doesn't exist");
        }
-       if (x1.bytesTotal == uint) {
+       if (x1.bytesTotal == 0) {
            DejaGnu.pass("LoaderInfo::bytesTotal property exists");
        } else {
            DejaGnu.fail("LoaderInfo::bytesTotal property doesn't exist");
@@ -75,16 +80,16 @@
        } else {
            DejaGnu.fail("LoaderInfo::childAllowsParent property doesn't 
exist");
        }
-       if (x1.childSandboxBridge == Object) {
-           DejaGnu.pass("LoaderInfo::childSandboxBridge property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::childSandboxBridge property doesn't 
exist");
-       }
-       if (x1.content == content) {
-           DejaGnu.pass("LoaderInfo::content property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::content property doesn't exist");
-       }
+//     if (x1.childSandboxBridge == Object) {
+//         DejaGnu.pass("LoaderInfo::childSandboxBridge property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::childSandboxBridge property doesn't 
exist");
+//     }
+//     if (x1.content == content) {
+//         DejaGnu.pass("LoaderInfo::content property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::content property doesn't exist");
+//     }
        if (x1.contentType == null) {
            DejaGnu.pass("LoaderInfo::contentType property exists");
        } else {
@@ -100,46 +105,46 @@
        } else {
            DejaGnu.fail("LoaderInfo::height property doesn't exist");
        }
-       if (x1.loader == loader) {
-           DejaGnu.pass("LoaderInfo::loader property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::loader property doesn't exist");
-       }
+//     if (x1.loader == loader) {
+//         DejaGnu.pass("LoaderInfo::loader property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::loader property doesn't exist");
+//     }
        if (x1.loaderURL == null) {
            DejaGnu.pass("LoaderInfo::loaderURL property exists");
        } else {
            DejaGnu.fail("LoaderInfo::loaderURL property doesn't exist");
        }
-       if (x1.parameters == Object) {
-           DejaGnu.pass("LoaderInfo::parameters property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::parameters property doesn't exist");
-       }
+//     if (x1.parameters == Object) {
+//         DejaGnu.pass("LoaderInfo::parameters property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::parameters property doesn't exist");
+//     }
        if (x1.parentAllowsChild == false) {
            DejaGnu.pass("LoaderInfo::parentAllowsChild property exists");
        } else {
            DejaGnu.fail("LoaderInfo::parentAllowsChild property doesn't 
exist");
        }
-       if (x1.parentSandboxBridge == Object) {
-           DejaGnu.pass("LoaderInfo::parentSandboxBridge property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::parentSandboxBridge property doesn't 
exist");
-       }
+//     if (x1.parentSandboxBridge == Object) {
+//         DejaGnu.pass("LoaderInfo::parentSandboxBridge property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::parentSandboxBridge property doesn't 
exist");
+//     }
        if (x1.sameDomain == false) {
            DejaGnu.pass("LoaderInfo::sameDomain property exists");
        } else {
            DejaGnu.fail("LoaderInfo::sameDomain property doesn't exist");
        }
-       if (x1.sharedEvents == EventDispatcher) {
-           DejaGnu.pass("LoaderInfo::sharedEvents property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::sharedEvents property doesn't exist");
-       }
-       if (x1.swfVersion == uint) {
-           DejaGnu.pass("LoaderInfo::swfVersion property exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::swfVersion property doesn't exist");
-       }
+//     if (x1.sharedEvents == EventDispatcher) {
+//         DejaGnu.pass("LoaderInfo::sharedEvents property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::sharedEvents property doesn't exist");
+//     }
+//     if (x1.SWFVersion == 0) {
+//         DejaGnu.pass("LoaderInfo::swfVersion property exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::swfVersion property doesn't exist");
+//     }
        if (x1.url == null) {
            DejaGnu.pass("LoaderInfo::url property exists");
        } else {
@@ -154,13 +159,19 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.getLoaderInfoByDefinition == LoaderInfo) {
-           DejaGnu.pass("LoaderInfo::getLoaderInfoByDefinition() method 
exists");
-       } else {
-           DejaGnu.fail("LoaderInfo::getLoaderInfoByDefinition() method 
doesn't exist");
-       }
+//     if (x1.getLoaderInfoByDefinition == LoaderInfo) {
+//         DejaGnu.pass("LoaderInfo::getLoaderInfoByDefinition() method 
exists");
+//     } else {
+//         DejaGnu.fail("LoaderInfo::getLoaderInfoByDefinition() method 
doesn't exist");
+//     }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Loader_as3.hx'
--- a/testsuite/as3/classes.all/display/Loader_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Loader_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Loader_as3.hx:  ActionScript 3 "Loader" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Loader;
 import flash.display.MovieClip;
+#else
+import flash.Loader;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Loader {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Loader_as3 {
     static function main() {
         var x1:Loader = new Loader();
 
@@ -45,25 +50,25 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.content == content) {
-           DejaGnu.pass("Loader::content property exists");
-       } else {
-           DejaGnu.fail("Loader::content property doesn't exist");
-       }
-       if (x1.contentLoaderInfo == contentLoaderInfo) {
-           DejaGnu.pass("Loader::contentLoaderInfo property exists");
-       } else {
-           DejaGnu.fail("Loader::contentLoaderInfo property doesn't exist");
-       }
+//     if (x1.content == content) {
+//         DejaGnu.pass("Loader::content property exists");
+//     } else {
+//         DejaGnu.fail("Loader::content property doesn't exist");
+//     }
+//     if (x1.contentLoaderInfo == contentLoaderInfo) {
+//         DejaGnu.pass("Loader::contentLoaderInfo property exists");
+//     } else {
+//         DejaGnu.fail("Loader::contentLoaderInfo property doesn't exist");
+//     }
 
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.Loader == Loader) {
-           DejaGnu.pass("Loader::Loader() method exists");
-       } else {
-           DejaGnu.fail("Loader::Loader() method doesn't exist");
-       }
+//     if (x1.Loader == Loader) {
+//         DejaGnu.pass("Loader::Loader() method exists");
+//     } else {
+//         DejaGnu.fail("Loader::Loader() method doesn't exist");
+//     }
        if (x1.close == null) {
            DejaGnu.pass("Loader::close() method exists");
        } else {
@@ -89,3 +94,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/MorphShape_as3.hx'
--- a/testsuite/as3/classes.all/display/MorphShape_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/MorphShape_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // MorphShape_as3.hx:  ActionScript 3 "MorphShape" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.MorphShape;
 import flash.display.MovieClip;
+#else
+import flash.MorphShape;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_MorphShape {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class MorphShape_as3 {
     static function main() {
         var x1:MorphShape = new MorphShape();
 
@@ -48,3 +53,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/MovieClip_as3.hx'
--- a/testsuite/as3/classes.all/display/MovieClip_as3.hx        2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/MovieClip_as3.hx        2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // MovieClip_as3.hx:  ActionScript 3 "MovieClip" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
-import flash.display.MovieClip;
-import flash.display.MovieClip;
+#if flash9
+import flash.display.MovieClip;
+import flash.display.MovieClip;
+#else
+import flash.MovieClip;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_MovieClip {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class MovieClip_as3 {
     static function main() {
         var x1:MovieClip = new MovieClip();
 
@@ -55,16 +60,18 @@
        } else {
            DejaGnu.fail("MovieClip::currentLabel property doesn't exist");
        }
-       if (x1.currentLabels == 0) {
-           DejaGnu.pass("MovieClip::currentLabels property exists");
-       } else {
-           DejaGnu.fail("MovieClip::currentLabels property doesn't exist");
-       }
-       if (x1.currentScene == currentScene) {
-           DejaGnu.pass("MovieClip::currentScene property exists");
-       } else {
-           DejaGnu.fail("MovieClip::currentScene property doesn't exist");
-       }
+// FIXME: needs to be an array
+//     if (x1.currentLabels == 0) {
+//         DejaGnu.pass("MovieClip::currentLabels property exists");
+//     } else {
+//         DejaGnu.fail("MovieClip::currentLabels property doesn't exist");
+//     }
+
+//     if (x1.currentScene == currentScene) {
+//         DejaGnu.pass("MovieClip::currentScene property exists");
+//     } else {
+//         DejaGnu.fail("MovieClip::currentScene property doesn't exist");
+//     }
        if (x1.enabled == false) {
            DejaGnu.pass("MovieClip::enabled property exists");
        } else {
@@ -75,11 +82,12 @@
        } else {
            DejaGnu.fail("MovieClip::framesLoaded property doesn't exist");
        }
-       if (x1.scenes == 0) {
-           DejaGnu.pass("MovieClip::scenes property exists");
-       } else {
-           DejaGnu.fail("MovieClip::scenes property doesn't exist");
-       }
+// FIXME: needs to be an array
+//     if (x1.scenes == 0) {
+//         DejaGnu.pass("MovieClip::scenes property exists");
+//     } else {
+//         DejaGnu.fail("MovieClip::scenes property doesn't exist");
+//     }
        if (x1.totalFrames == 0) {
            DejaGnu.pass("MovieClip::totalFrames property exists");
        } else {
@@ -94,11 +102,6 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.MovieClip == MovieClip) {
-           DejaGnu.pass("MovieClip::MovieClip() method exists");
-       } else {
-           DejaGnu.fail("MovieClip::MovieClip() method doesn't exist");
-       }
        if (x1.gotoAndPlay == null) {
            DejaGnu.pass("MovieClip::gotoAndPlay() method exists");
        } else {
@@ -144,3 +147,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/NativeMenuItem_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeMenuItem_as3.hx   2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeMenuItem_as3.hx   2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeMenuItem_as3.hx:  ActionScript 3 "NativeMenuItem" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeMenuItem;
 import flash.display.MovieClip;
+#else
+import flash.NativeMenuItem;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeMenuItem {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeMenuItem_as3 {
     static function main() {
         var x1:NativeMenuItem = new NativeMenuItem();
 
@@ -124,3 +129,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/NativeMenu_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeMenu_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeMenu_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeMenu_as3.hx:  ActionScript 3 "NativeMenu" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeMenu;
 import flash.display.MovieClip;
+#else
+import flash.NativeMenu;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeMenu {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeMenu_as3 {
     static function main() {
         var x1:NativeMenu = new NativeMenu();
 
@@ -139,3 +144,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 
'testsuite/as3/classes.all/display/NativeWindowDisplayState_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeWindowDisplayState_as3.hx 
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeWindowDisplayState_as3.hx 
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeWindowDisplayState_as3.hx:  ActionScript 3 "NativeWindowDisplayState" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeWindowDisplayState;
 import flash.display.MovieClip;
+#else
+import flash.NativeWindowDisplayState;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeWindowDisplayState {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeWindowDisplayState_as3 {
     static function main() {
         var x1:NativeWindowDisplayState = new NativeWindowDisplayState();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 
'testsuite/as3/classes.all/display/NativeWindowInitOptions_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeWindowInitOptions_as3.hx  
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeWindowInitOptions_as3.hx  
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeWindowInitOptions_as3.hx:  ActionScript 3 "NativeWindowInitOptions" 
class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeWindowInitOptions;
 import flash.display.MovieClip;
+#else
+import flash.NativeWindowInitOptions;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeWindowInitOptions {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeWindowInitOptions_as3 {
     static function main() {
         var x1:NativeWindowInitOptions = new NativeWindowInitOptions();
 
@@ -89,3 +94,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/NativeWindowResize_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeWindowResize_as3.hx       
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeWindowResize_as3.hx       
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeWindowResize_as3.hx:  ActionScript 3 "NativeWindowResize" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeWindowResize;
 import flash.display.MovieClip;
+#else
+import flash.NativeWindowResize;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeWindowResize {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeWindowResize_as3 {
     static function main() {
         var x1:NativeWindowResize = new NativeWindowResize();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/NativeWindowType_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeWindowType_as3.hx 2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeWindowType_as3.hx 2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeWindowType_as3.hx:  ActionScript 3 "NativeWindowType" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeWindowType;
 import flash.display.MovieClip;
+#else
+import flash.NativeWindowType;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeWindowType {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeWindowType_as3 {
     static function main() {
         var x1:NativeWindowType = new NativeWindowType();
 
@@ -51,3 +56,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/NativeWindow_as3.hx'
--- a/testsuite/as3/classes.all/display/NativeWindow_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/NativeWindow_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // NativeWindow_as3.hx:  ActionScript 3 "NativeWindow" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.NativeWindow;
 import flash.display.MovieClip;
+#else
+import flash.NativeWindow;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NativeWindow {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class NativeWindow_as3 {
     static function main() {
         var x1:NativeWindow = new NativeWindow();
 
@@ -254,3 +259,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/PixelSnapping_as3.hx'
--- a/testsuite/as3/classes.all/display/PixelSnapping_as3.hx    2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/PixelSnapping_as3.hx    2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // PixelSnapping_as3.hx:  ActionScript 3 "PixelSnapping" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,40 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.PixelSnapping;
 import flash.display.MovieClip;
+#else
+import flash.PixelSnapping;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_PixelSnapping {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class PixelSnapping_as3 {
     static function main() {
-        var x1:PixelSnapping = new PixelSnapping();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("PixelSnapping class exists");
-        } else {
-            DejaGnu.fail("PixelSnapping lass doesn't exist");
+        if (PixelSnapping.ALWAYS != null) {
+            DejaGnu.pass("PixelSnapping.ALWAYS constant exists");
+        } else {
+            DejaGnu.fail("PixelSnapping.ALWAYSconstant doesn't exist");
+        }
+
+        if (PixelSnapping.AUTO != null) {
+            DejaGnu.pass("PixelSnapping.AUTO constant exists");
+        } else {
+            DejaGnu.fail("PixelSnapping.AUTO doesn't exist");
+        }
+
+        if (PixelSnapping.NEVER != null) {
+            DejaGnu.pass("PixelSnapping.NEVER constant exists");
+        } else {
+            DejaGnu.fail("PixelSnapping.NEVER doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +67,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/SWFVersion_as3.hx'
--- a/testsuite/as3/classes.all/display/SWFVersion_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/SWFVersion_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SWFVersion_as3.hx:  ActionScript 3 "SWFVersion" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,25 +23,84 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.SWFVersion;
 import flash.display.MovieClip;
+#else
+import flash.SWFVersion;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SWFVersion {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SWFVersion_as3 {
     static function main() {
-        var x1:SWFVersion = new SWFVersion();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("SWFVersion class exists");
-        } else {
-            DejaGnu.fail("SWFVersion lass doesn't exist");
-        }
+
+// FIXME: for some reason, none of thesew constants work       
+//         if (SWFVersion == SWFVersion.FLASH1) {
+//             DejaGnu.pass("SWFVersion.FLASH1 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH1 constant doesn't exist");
+//         }
+
+//         if (SWFVersion == FLASH2) {
+//             DejaGnu.pass("SWFVersion.FLASH2 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH2 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH3 == 3) {
+//             DejaGnu.pass("SWFVersion.FLASH3 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH3 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH4 == 4) {
+//             DejaGnu.pass("SWFVersion.FLASH4 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH4 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH5 == 5) {
+//             DejaGnu.pass("SWFVersion.FLASH5 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH5 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH6 == 6) {
+//             DejaGnu.pass("SWFVersion.FLASH6 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH6 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH7 == 7) {
+//             DejaGnu.pass("SWFVersion.FLASH7 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH7 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH2 == 2) {
+//             DejaGnu.pass("SWFVersion.FLASH2 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH2 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH2 == 2) {
+//             DejaGnu.pass("SWFVersion.FLASH2 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH2 constant doesn't exist");
+//         }
+
+//         if (SWFVersion.FLASH2 == 2) {
+//             DejaGnu.pass("SWFVersion.FLASH2 constant exists");
+//         } else {
+//             DejaGnu.fail("SWFVersion.FLASH2 constant doesn't exist");
+//         }
 
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
@@ -51,3 +110,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Scene_as3.hx'
--- a/testsuite/as3/classes.all/display/Scene_as3.hx    2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Scene_as3.hx    2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Scene_as3.hx:  ActionScript 3 "Scene" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,18 +23,23 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Scene;
 import flash.display.MovieClip;
+#else
+import flash.Scene;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Scene {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Scene_as3 {
     static function main() {
-        var x1:Scene = new Scene();
+        var x1:Scene = new Scene("Foo", null, 0);
 
         // Make sure we actually get a valid class        
         if (x1 != null) {
@@ -45,11 +50,6 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.labels == 0) {
-           DejaGnu.pass("Scene::labels property exists");
-       } else {
-           DejaGnu.fail("Scene::labels property doesn't exist");
-       }
        if (x1.name == null) {
            DejaGnu.pass("Scene::name property exists");
        } else {
@@ -61,8 +61,19 @@
            DejaGnu.fail("Scene::numFrames property doesn't exist");
        }
 
-       if (x1.labels == 0) {
+// FIXME: should be an array   
+//     if (x1.labels == 0) {
+//         DejaGnu.pass("Scene::labels property exists");
+//     } else {
+//         DejaGnu.fail("Scene::labels property doesn't exist");
+//     }
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Screen_as3.hx'
--- a/testsuite/as3/classes.all/display/Screen_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Screen_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Screen_as3.hx:  ActionScript 3 "Screen" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Screen;
 import flash.display.MovieClip;
+#else
+import flash.Screen;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Screen {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Screen_as3 {
     static function main() {
         var x1:Screen = new Screen();
 
@@ -84,3 +89,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Shape_as3.hx'
--- a/testsuite/as3/classes.all/display/Shape_as3.hx    2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Shape_as3.hx    2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Shape_as3.hx:  ActionScript 3 "Shape" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Shape;
 import flash.display.MovieClip;
+#else
+import flash.Shape;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Shape {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Shape_as3 {
     static function main() {
         var x1:Shape = new Shape();
 
@@ -45,22 +50,19 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.graphics == graphics) {
-           DejaGnu.pass("Shape::graphics property exists");
-       } else {
-           DejaGnu.fail("Shape::graphics property doesn't exist");
-       }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
-       if (x1.Shape == Shape) {
-           DejaGnu.pass("Shape::Shape() method exists");
-       } else {
-           DejaGnu.fail("Shape::Shape() method doesn't exist");
-       }
+//     if (x1.graphics == graphics) {
+//         DejaGnu.pass("Shape::graphics property exists");
+//     } else {
+//         DejaGnu.fail("Shape::graphics property doesn't exist");
+//     }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/SimpleButton_as3.hx'
--- a/testsuite/as3/classes.all/display/SimpleButton_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/SimpleButton_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SimpleButton_as3.hx:  ActionScript 3 "SimpleButton" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.SimpleButton;
 import flash.display.MovieClip;
+#else
+import flash.SimpleButton;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SimpleButton {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SimpleButton_as3 {
     static function main() {
         var x1:SimpleButton = new SimpleButton();
 
@@ -45,41 +50,41 @@
 // Tests to see if all the properties exist. All these do is test for
 // existance of a property, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.downState == downState) {
-           DejaGnu.pass("SimpleButton::downState property exists");
-       } else {
-           DejaGnu.fail("SimpleButton::downState property doesn't exist");
-       }
+//     if (x1.downState == downState) {
+//         DejaGnu.pass("SimpleButton::downState property exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::downState property doesn't exist");
+//     }
        if (x1.enabled == false) {
            DejaGnu.pass("SimpleButton::enabled property exists");
        } else {
            DejaGnu.fail("SimpleButton::enabled property doesn't exist");
        }
-       if (x1.hitTestState == hitTestState) {
-           DejaGnu.pass("SimpleButton::hitTestState property exists");
-       } else {
-           DejaGnu.fail("SimpleButton::hitTestState property doesn't exist");
-       }
-       if (x1.overState == overState) {
-           DejaGnu.pass("SimpleButton::overState property exists");
-       } else {
-           DejaGnu.fail("SimpleButton::overState property doesn't exist");
-       }
-       if (x1.soundTransform == SoundTransform) {
-           DejaGnu.pass("SimpleButton::soundTransform property exists");
-       } else {
-           DejaGnu.fail("SimpleButton::soundTransform property doesn't exist");
-       }
+//     if (x1.hitTestState == hitTestState) {
+//         DejaGnu.pass("SimpleButton::hitTestState property exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::hitTestState property doesn't exist");
+//     }
+//     if (x1.overState == overState) {
+//         DejaGnu.pass("SimpleButton::overState property exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::overState property doesn't exist");
+//     }
+//     if (x1.soundTransform == SoundTransform) {
+//         DejaGnu.pass("SimpleButton::soundTransform property exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::soundTransform property doesn't exist");
+//     }
        if (x1.trackAsMenu == false) {
            DejaGnu.pass("SimpleButton::trackAsMenu property exists");
        } else {
            DejaGnu.fail("SimpleButton::trackAsMenu property doesn't exist");
        }
-       if (x1.upState == upState) {
-           DejaGnu.pass("SimpleButton::upState property exists");
-       } else {
-           DejaGnu.fail("SimpleButton::upState property doesn't exist");
-       }
+//     if (x1.upState == upState) {
+//         DejaGnu.pass("SimpleButton::upState property exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::upState property doesn't exist");
+//     }
        if (x1.useHandCursor == false) {
            DejaGnu.pass("SimpleButton::useHandCursor property exists");
        } else {
@@ -89,13 +94,19 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.SimpleButton == DisplayObject) {
-           DejaGnu.pass("SimpleButton::SimpleButton() method exists");
-       } else {
-           DejaGnu.fail("SimpleButton::SimpleButton() method doesn't exist");
-       }
+//     if (x1.SimpleButton == DisplayObject) {
+//         DejaGnu.pass("SimpleButton::SimpleButton() method exists");
+//     } else {
+//         DejaGnu.fail("SimpleButton::SimpleButton() method doesn't exist");
+//     }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/SpreadMethod_as3.hx'
--- a/testsuite/as3/classes.all/display/SpreadMethod_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/SpreadMethod_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // SpreadMethod_as3.hx:  ActionScript 3 "SpreadMethod" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,48 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.SpreadMethod;
 import flash.display.MovieClip;
+#else
+import flash.SpreadMethod;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SpreadMethod {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class SpreadMethod_as3 {
     static function main() {
-        var x1:SpreadMethod = new SpreadMethod();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("SpreadMethod class exists");
-        } else {
-            DejaGnu.fail("SpreadMethod lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+        if (SpreadMethod.PAD != null) {
+            DejaGnu.pass("SpreadMethod.PAD constantexists");
+        } else {
+            DejaGnu.fail("SpreadMethod.PAD constant doesn't exist");
+        }
+
+        if (SpreadMethod.REFLECT != null) {
+            DejaGnu.pass("SpreadMethod.REFLECT.constantexists");
+        } else {
+            DejaGnu.fail("SpreadMethod.REFLECT.constant doesn't exist");
+        }
+
+        if (SpreadMethod.REPEAT != null) {
+            DejaGnu.pass("SpreadMethod.REPEAT constantexists");
+        } else {
+            DejaGnu.fail("SpreadMethod.REPEAT constant doesn't exist");
+        }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Sprite_as3.hx'
--- a/testsuite/as3/classes.all/display/Sprite_as3.hx   2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Sprite_as3.hx   2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Sprite_as3.hx:  ActionScript 3 "Sprite" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Sprite;
 import flash.display.MovieClip;
+#else
+import flash.Sprite;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Sprite {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Sprite_as3 {
     static function main() {
         var x1:Sprite = new Sprite();
 
@@ -50,26 +55,26 @@
        } else {
            DejaGnu.fail("Sprite::buttonMode property doesn't exist");
        }
-       if (x1.dropTarget == dropTarget) {
-           DejaGnu.pass("Sprite::dropTarget property exists");
-       } else {
-           DejaGnu.fail("Sprite::dropTarget property doesn't exist");
-       }
-       if (x1.graphics == graphics) {
-           DejaGnu.pass("Sprite::graphics property exists");
-       } else {
-           DejaGnu.fail("Sprite::graphics property doesn't exist");
-       }
-       if (x1.hitArea == hitArea) {
-           DejaGnu.pass("Sprite::hitArea property exists");
-       } else {
-           DejaGnu.fail("Sprite::hitArea property doesn't exist");
-       }
-       if (x1.soundTransform == SoundTransform) {
-           DejaGnu.pass("Sprite::soundTransform property exists");
-       } else {
-           DejaGnu.fail("Sprite::soundTransform property doesn't exist");
-       }
+//     if (x1.dropTarget == dropTarget) {
+//         DejaGnu.pass("Sprite::dropTarget property exists");
+//     } else {
+//         DejaGnu.fail("Sprite::dropTarget property doesn't exist");
+//     }
+//     if (x1.graphics == graphics) {
+//         DejaGnu.pass("Sprite::graphics property exists");
+//     } else {
+//         DejaGnu.fail("Sprite::graphics property doesn't exist");
+//     }
+//     if (x1.hitArea == hitArea) {
+//         DejaGnu.pass("Sprite::hitArea property exists");
+//     } else {
+//         DejaGnu.fail("Sprite::hitArea property doesn't exist");
+//     }
+//     if (x1.soundTransform == SoundTransform) {
+//         DejaGnu.pass("Sprite::soundTransform property exists");
+//     } else {
+//         DejaGnu.fail("Sprite::soundTransform property doesn't exist");
+//     }
        if (x1.useHandCursor == false) {
            DejaGnu.pass("Sprite::useHandCursor property exists");
        } else {
@@ -79,11 +84,6 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.Sprite == Sprite) {
-           DejaGnu.pass("Sprite::Sprite() method exists");
-       } else {
-           DejaGnu.fail("Sprite::Sprite() method doesn't exist");
-       }
        if (x1.startDrag == null) {
            DejaGnu.pass("Sprite::startDrag() method exists");
        } else {
@@ -99,3 +99,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/StageAlign_as3.hx'
--- a/testsuite/as3/classes.all/display/StageAlign_as3.hx       2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/StageAlign_as3.hx       2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // StageAlign_as3.hx:  ActionScript 3 "StageAlign" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,78 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.StageAlign;
 import flash.display.MovieClip;
+#else
+import flash.StageAlign;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_StageAlign {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class StageAlign_as3 {
     static function main() {
-        var x1:StageAlign = new StageAlign();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("StageAlign class exists");
-        } else {
-            DejaGnu.fail("StageAlign lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+        if (StageAlign.BOTTOM != null) {
+            DejaGnu.pass("StageAlign.BOTTOM constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.BOTTOM constant doesn't exist");
+        }
+
+        if (StageAlign.BOTTOM_LEFT != null) {
+            DejaGnu.pass("StageAlign.BOTTOM_LEFT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.BOTTOM_LEFT constant doesn't exist");
+        }
+
+        if (StageAlign.BOTTOM_RIGHT != null) {
+            DejaGnu.pass("StageAlign.BOTTOM_RIGHT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.BOTTOM_RIGHT constant doesn't exist");
+        }
+
+       if (StageAlign.LEFT != null) {
+            DejaGnu.pass("StageAlign.LEFT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.LEFT constant doesn't exist");
+        }
+
+        if (StageAlign.RIGHT != null) {
+            DejaGnu.pass("StageAlign.RIGHT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.RIGHT constant doesn't exist");
+        }
+
+        if (StageAlign.TOP != null) {
+            DejaGnu.pass("StageAlign.TOP constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.TOP constant doesn't exist");
+        }
+
+       if (StageAlign.TOP_LEFT != null) {
+            DejaGnu.pass("StageAlign.TOP_LEFT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.TOP_LEFT constant doesn't exist");
+        }
+
+        if (StageAlign.TOP_RIGHT != null) {
+            DejaGnu.pass("StageAlign.TOP_RIGHT constant exists");
+        } else {
+            DejaGnu.fail("StageAlign.TOP_RIGHT constant doesn't exist");
+        }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/StageDisplayState_as3.hx'
--- a/testsuite/as3/classes.all/display/StageDisplayState_as3.hx        
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/StageDisplayState_as3.hx        
2009-05-15 01:57:34 +0000
@@ -1,6 +1,6 @@
 // StageDisplayState_as3.hx:  ActionScript 3 "StageDisplayState" class, for 
Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,41 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.StageDisplayState;
 import flash.display.MovieClip;
+#else
+import flash.StageDisplayState;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_StageDisplayState {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class StageDisplayState_as3 {
     static function main() {
-        var x1:StageDisplayState = new StageDisplayState();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("StageDisplayState class exists");
-        } else {
-            DejaGnu.fail("StageDisplayState lass doesn't exist");
+        if (StageDisplayState.FULL_SCREEN != null) {
+            DejaGnu.pass("StageDisplayState.FULL_SCREEN constant exists");
+        } else {
+            DejaGnu.fail("StageDisplayState.FULL_SCREEN constant doesn't 
exist");
+        }
+
+// This constant is AIR only
+//         if (StageDisplayState.FULL_SCREEN_INTERACTIVE != null) {
+//             DejaGnu.pass("StageDisplayState.FULL_SCREEN_INTERACTIVE 
constant exists");
+//         } else {
+//             DejaGnu.fail("StageDisplayState.FULL_SCREEN_INTERACTIVE 
constant doesn't exist");
+//         }
+
+        if (StageDisplayState.NORMAL != null) {
+            DejaGnu.pass("StageDisplayState.NORMAL constant exists");
+        } else {
+            DejaGnu.fail("StageDisplayState.NORMAL constant doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +68,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/StageQuality_as3.hx'
--- a/testsuite/as3/classes.all/display/StageQuality_as3.hx     2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/StageQuality_as3.hx     2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // StageQuality_as3.hx:  ActionScript 3 "StageQuality" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,46 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.StageQuality;
 import flash.display.MovieClip;
+#else
+import flash.StageQuality;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_StageQuality {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class StageQuality_as3 {
     static function main() {
-        var x1:StageQuality = new StageQuality();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("StageQuality class exists");
-        } else {
-            DejaGnu.fail("StageQuality lass doesn't exist");
+        if (StageQuality.BEST != null) {
+            DejaGnu.pass("StageQuality.BEST constant exists");
+        } else {
+            DejaGnu.fail("StageQuality.BEST constant doesn't exist");
+        }
+
+        if (StageQuality.HIGH != null) {
+            DejaGnu.pass("StageQuality.HIGH constant exists");
+        } else {
+            DejaGnu.fail("StageQuality.HIGH constant doesn't exist");
+        }
+
+        if (StageQuality.LOW != null) {
+            DejaGnu.pass("StageQuality.LOW constant exists");
+        } else {
+            DejaGnu.fail("StageQuality.LOW constant doesn't exist");
+        }
+
+        if (StageQuality.MEDIUM != null) {
+            DejaGnu.pass("StageQuality.MEDIUM constant exists");
+        } else {
+            DejaGnu.fail("StageQuality.MEDIUM constant doesn't exist");
         }
 
 // Tests to see if all the methods exist. All these do is test for
@@ -51,3 +73,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/StageScaleMode_as3.hx'
--- a/testsuite/as3/classes.all/display/StageScaleMode_as3.hx   2009-05-03 
15:49:20 +0000
+++ b/testsuite/as3/classes.all/display/StageScaleMode_as3.hx   2009-05-15 
01:57:34 +0000
@@ -1,6 +1,6 @@
 // StageScaleMode_as3.hx:  ActionScript 3 "StageScaleMode" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,54 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.StageScaleMode;
 import flash.display.MovieClip;
+#else
+import flash.StageScaleMode;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_StageScaleMode {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class StageScaleMode_as3 {
     static function main() {
-        var x1:StageScaleMode = new StageScaleMode();
-
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("StageScaleMode class exists");
-        } else {
-            DejaGnu.fail("StageScaleMode lass doesn't exist");
-        }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+        if (StageScaleMode.EXACT_FIT != null) {
+            DejaGnu.pass("StageScaleMode.EXACT_FIT constant exists");
+        } else {
+            DejaGnu.fail("StageScaleMode.EXACT_FIT constant doesn't exist");
+        }
+
+        if (StageScaleMode.NO_BORDER != null) {
+            DejaGnu.pass("StageScaleMode.NO_BORDER constant exists");
+        } else {
+            DejaGnu.fail("StageScaleMode.NO_BORDER constant doesn't exist");
+        }
+
+        if (StageScaleMode.NO_SCALE != null) {
+            DejaGnu.pass("StageScaleMode.NO_SCALE constant exists");
+        } else {
+            DejaGnu.fail("StageScaleMode.NO_SCALE constant doesn't exist");
+        }
+
+        if (StageScaleMode.SHOW_ALL != null) {
+            DejaGnu.pass("StageScaleMode.SHOW_ALL constant exists");
+        } else {
+            DejaGnu.fail("StageScaleMode.SHOW_ALL constant doesn't exist");
+        }
 
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== modified file 'testsuite/as3/classes.all/display/Stage_as3.hx'
--- a/testsuite/as3/classes.all/display/Stage_as3.hx    2009-05-03 15:49:20 
+0000
+++ b/testsuite/as3/classes.all/display/Stage_as3.hx    2009-05-15 01:57:34 
+0000
@@ -1,6 +1,6 @@
 // Stage_as3.hx:  ActionScript 3 "Stage" class, for Gnash.
 //
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
 // after any hand editing loosing changes.
 //
 //   Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.display.Stage;
 import flash.display.MovieClip;
+#else
+import flash.Stage;
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Stage {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class Stage_as3 {
     static function main() {
         var x1:Stage = new Stage();
 
@@ -55,27 +60,27 @@
        } else {
            DejaGnu.fail("Stage::displayState property doesn't exist");
        }
-       if (x1.focus == focus) {
-           DejaGnu.pass("Stage::focus property exists");
-       } else {
-           DejaGnu.fail("Stage::focus property doesn't exist");
-       }
+//     if (x1.focus == focus) {
+//         DejaGnu.pass("Stage::focus property exists");
+//     } else {
+//         DejaGnu.fail("Stage::focus property doesn't exist");
+//     }
        if (x1.frameRate == 0) {
            DejaGnu.pass("Stage::frameRate property exists");
        } else {
            DejaGnu.fail("Stage::frameRate property doesn't exist");
        }
-       if (x1.fullScreenHeight == uint) {
+       if (x1.fullScreenHeight == 0) {
            DejaGnu.pass("Stage::fullScreenHeight property exists");
        } else {
            DejaGnu.fail("Stage::fullScreenHeight property doesn't exist");
        }
-       if (x1.fullScreenSourceRect == Rectangle) {
-           DejaGnu.pass("Stage::fullScreenSourceRect property exists");
-       } else {
-           DejaGnu.fail("Stage::fullScreenSourceRect property doesn't exist");
-       }
-       if (x1.fullScreenWidth == uint) {
+//     if (x1.fullScreenSourceRect == Rectangle) {
+//         DejaGnu.pass("Stage::fullScreenSourceRect property exists");
+//     } else {
+//         DejaGnu.fail("Stage::fullScreenSourceRect property doesn't exist");
+//     }
+       if (x1.fullScreenWidth == 0) {
            DejaGnu.pass("Stage::fullScreenWidth property exists");
        } else {
            DejaGnu.fail("Stage::fullScreenWidth property doesn't exist");
@@ -90,11 +95,11 @@
        } else {
            DejaGnu.fail("Stage::mouseChildren property doesn't exist");
        }
-       if (x1.nativeWindow == NativeWindow) {
-           DejaGnu.pass("Stage::nativeWindow property exists");
-       } else {
-           DejaGnu.fail("Stage::nativeWindow property doesn't exist");
-       }
+//     if (x1.nativeWindow == NativeWindow) {
+//         DejaGnu.pass("Stage::nativeWindow property exists");
+//     } else {
+//         DejaGnu.fail("Stage::nativeWindow property doesn't exist");
+//     }
        if (x1.numChildren == 0) {
            DejaGnu.pass("Stage::numChildren property exists");
        } else {
@@ -135,11 +140,11 @@
        } else {
            DejaGnu.fail("Stage::tabChildren property doesn't exist");
        }
-       if (x1.textSnapshot == textSnapshot) {
-           DejaGnu.pass("Stage::textSnapshot property exists");
-       } else {
-           DejaGnu.fail("Stage::textSnapshot property doesn't exist");
-       }
+//     if (x1.textSnapshot == textSnapshot) {
+//         DejaGnu.pass("Stage::textSnapshot property exists");
+//     } else {
+//         DejaGnu.fail("Stage::textSnapshot property doesn't exist");
+//     }
        if (x1.width == 0) {
            DejaGnu.pass("Stage::width property exists");
        } else {
@@ -149,32 +154,32 @@
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-       if (x1.addChild == DisplayObject) {
-           DejaGnu.pass("Stage::addChild() method exists");
-       } else {
-           DejaGnu.fail("Stage::addChild() method doesn't exist");
-       }
-       if (x1.addChildAt == DisplayObject) {
-           DejaGnu.pass("Stage::addChildAt() method exists");
-       } else {
-           DejaGnu.fail("Stage::addChildAt() method doesn't exist");
-       }
+//     if (x1.addChild == DisplayObject) {
+//         DejaGnu.pass("Stage::addChild() method exists");
+//     } else {
+//         DejaGnu.fail("Stage::addChild() method doesn't exist");
+//     }
+//     if (x1.addChildAt == DisplayObject) {
+//         DejaGnu.pass("Stage::addChildAt() method exists");
+//     } else {
+//         DejaGnu.fail("Stage::addChildAt() method doesn't exist");
+//     }
        if (x1.addEventListener == null) {
            DejaGnu.pass("Stage::addEventListener() method exists");
        } else {
            DejaGnu.fail("Stage::addEventListener() method doesn't exist");
        }
-       if (x1.assignFocus == null) {
-           DejaGnu.pass("Stage::assignFocus() method exists");
-       } else {
-           DejaGnu.fail("Stage::assignFocus() method doesn't exist");
-       }
-       if (x1.dispatchEvent == false) {
-           DejaGnu.pass("Stage::dispatchEvent() method exists");
-       } else {
-           DejaGnu.fail("Stage::dispatchEvent() method doesn't exist");
-       }
-       if (x1.hasEventListener == false) {
+//     if (x1.assignFocus == Event) {
+//         DejaGnu.pass("Stage::assignFocus() method exists");
+//     } else {
+//         DejaGnu.fail("Stage::assignFocus() method doesn't exist");
+//     }
+//     if (x1.dispatchEvent == Event) {
+//         DejaGnu.pass("Stage::dispatchEvent() method exists");
+//     } else {
+//         DejaGnu.fail("Stage::dispatchEvent() method doesn't exist");
+//     }
+       if (x1.hasEventListener != null) {
            DejaGnu.pass("Stage::hasEventListener() method exists");
        } else {
            DejaGnu.fail("Stage::hasEventListener() method doesn't exist");
@@ -184,16 +189,16 @@
        } else {
            DejaGnu.fail("Stage::invalidate() method doesn't exist");
        }
-       if (x1.isFocusInaccessible == false) {
+       if (x1.isFocusInaccessible != null) {
            DejaGnu.pass("Stage::isFocusInaccessible() method exists");
        } else {
            DejaGnu.fail("Stage::isFocusInaccessible() method doesn't exist");
        }
-       if (x1.removeChildAt == DisplayObject) {
-           DejaGnu.pass("Stage::removeChildAt() method exists");
-       } else {
-           DejaGnu.fail("Stage::removeChildAt() method doesn't exist");
-       }
+//     if (x1.removeChildAt == DisplayObject) {
+//         DejaGnu.pass("Stage::removeChildAt() method exists");
+//     } else {
+//         DejaGnu.fail("Stage::removeChildAt() method doesn't exist");
+//     }
        if (x1.setChildIndex == null) {
            DejaGnu.pass("Stage::setChildIndex() method exists");
        } else {
@@ -204,7 +209,7 @@
        } else {
            DejaGnu.fail("Stage::swapChildrenAt() method doesn't exist");
        }
-       if (x1.willTrigger == false) {
+       if (x1.willTrigger != null) {
            DejaGnu.pass("Stage::willTrigger() method exists");
        } else {
            DejaGnu.fail("Stage::willTrigger() method doesn't exist");
@@ -214,3 +219,9 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+

=== added file 'testsuite/as3/classes.all/display/display.am'
--- a/testsuite/as3/classes.all/display/display.am      1970-01-01 00:00:00 
+0000
+++ b/testsuite/as3/classes.all/display/display.am      2009-05-15 01:57:34 
+0000
@@ -0,0 +1,197 @@
+## Process this file with automake to generate Makefile.in
+# 
+#   Copyright (C) 2009 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+DISPLAYdir = $(srcdir)/display
+
+#AM_CPPFLAGS += 
+
+DISPLAY_TESTS = 
+
+if BUILD_AVM1MOVIE_AS3
+DISPLAY_TESTS += display/AVM1Movie_as3.swf
+endif
+
+# if BUILD_ACTIONSCRIPTVERSION_AS3
+# DISPLAY_TESTS += display/ActionScriptVersion_as3.swf
+# endif
+
+if BUILD_BITMAPDATACHANNEL_AS3
+DISPLAY_TESTS += display/BitmapDataChannel_as3.swf
+endif
+
+if BUILD_BITMAPDATA_AS3
+DISPLAY_TESTS += display/BitmapData_as3.swf
+endif
+
+if BUILD_BITMAP_AS3
+DISPLAY_TESTS += display/Bitmap_as3.swf
+endif
+
+if BUILD_BLENDMODE_AS3
+DISPLAY_TESTS += display/BlendMode_as3.swf
+endif
+
+if BUILD_CAPSSTYLE_AS3
+DISPLAY_TESTS += display/CapsStyle_as3.swf
+endif
+
+if BUILD_DISPLAYOBJECTCONTAINER_AS3
+DISPLAY_TESTS += display/DisplayObjectContainer_as3.swf
+endif
+
+if BUILD_DISPLAYOBJECT_AS3
+DISPLAY_TESTS += display/DisplayObject_as3.swf
+endif
+
+# this class is AIR only
+# if BUILD_FOCUSDIRECTION_AS3
+# DISPLAY_TESTS += display/FocusDirection_as3.swf
+# endif
+
+if BUILD_FRAMELABEL_AS3
+DISPLAY_TESTS += display/FrameLabel_as3.swf
+endif
+
+if BUILD_GRADIENTTYPE_AS3
+DISPLAY_TESTS += display/GradientType_as3.swf
+endif
+
+if BUILD_GRAPHICS_AS3
+DISPLAY_TESTS += display/Graphics_as3.swf
+endif
+
+# FIXME: this in an interface, not a class
+# if BUILD_IBITMAPDRAWABLE_AS3
+# DISPLAY_TESTS += display/IBitmapDrawable_as3.swf
+# endif
+
+if BUILD_INTERACTIVEOBJECT_AS3
+DISPLAY_TESTS += display/InteractiveObject_as3.swf
+endif
+
+if BUILD_INTERPOLATIONMETHOD_AS3
+DISPLAY_TESTS += display/InterpolationMethod_as3.swf
+endif
+
+if BUILD_JOINTSTYLE_AS3
+DISPLAY_TESTS += display/JointStyle_as3.swf
+endif
+
+if BUILD_LINESCALEMODE_AS3
+DISPLAY_TESTS += display/LineScaleMode_as3.swf
+endif
+
+if BUILD_LOADERINFO_AS3
+DISPLAY_TESTS += display/LoaderInfo_as3.swf
+endif
+
+if BUILD_LOADER_AS3
+DISPLAY_TESTS += display/Loader_as3.swf
+endif
+
+if BUILD_MORPHSHAPE_AS3
+DISPLAY_TESTS += display/MorphShape_as3.swf
+endif
+
+if BUILD_MOVIECLIP_AS3
+DISPLAY_TESTS += display/MovieClip_as3.swf
+endif
+
+# These Native* classes are AIR only
+# if BUILD_NATIVEMENUITEM_AS3
+# DISPLAY_TESTS += display/NativeMenuItem_as3.swf
+# endif
+
+# if BUILD_NATIVEMENU_AS3
+# DISPLAY_TESTS += display/NativeMenu_as3.swf
+# endif
+
+# if BUILD_NATIVEWINDOWDISPLAYSTATE_AS3
+# DISPLAY_TESTS += display/NativeWindowDisplayState_as3.swf
+# endif
+
+# if BUILD_NATIVEWINDOWINITOPTIONS_AS3
+# DISPLAY_TESTS += display/NativeWindowInitOptions_as3.swf
+# endif
+
+# if BUILD_NATIVEWINDOWRESIZE_AS3
+# DISPLAY_TESTS += display/NativeWindowResize_as3.swf
+# endif
+
+# if BUILD_NATIVEWINDOWTYPE_AS3
+# DISPLAY_TESTS += display/NativeWindowType_as3.swf
+# endif
+
+# if BUILD_NATIVEWINDOW_AS3
+# DISPLAY_TESTS += display/NativeWindow_as3.swf
+# endif
+
+if BUILD_PIXELSNAPPING_AS3
+DISPLAY_TESTS += display/PixelSnapping_as3.swf
+endif
+
+if BUILD_SWFVERSION_AS3
+DISPLAY_TESTS += display/SWFVersion_as3.swf
+endif
+
+if BUILD_SCENE_AS3
+DISPLAY_TESTS += display/Scene_as3.swf
+endif
+
+# This class is AIR only
+# if BUILD_SCREEN_AS3
+# DISPLAY_TESTS += display/Screen_as3.swf
+# endif
+
+if BUILD_SHAPE_AS3
+DISPLAY_TESTS += display/Shape_as3.swf
+endif
+
+if BUILD_SIMPLEBUTTON_AS3
+DISPLAY_TESTS += display/SimpleButton_as3.swf
+endif
+
+if BUILD_SPREADMETHOD_AS3
+DISPLAY_TESTS += display/SpreadMethod_as3.swf
+endif
+
+if BUILD_SPRITE_AS3
+DISPLAY_TESTS += display/Sprite_as3.swf
+endif
+
+if BUILD_STAGEALIGN_AS3
+DISPLAY_TESTS += display/StageAlign_as3.swf
+endif
+
+if BUILD_STAGEDISPLAYSTATE_AS3
+DISPLAY_TESTS += display/StageDisplayState_as3.swf
+endif
+
+if BUILD_STAGEQUALITY_AS3
+DISPLAY_TESTS += display/StageQuality_as3.swf
+endif
+
+if BUILD_STAGESCALEMODE_AS3
+DISPLAY_TESTS += display/StageScaleMode_as3.swf
+endif
+
+if BUILD_STAGE_AS3
+DISPLAY_TESTS += display/Stage_as3.swf
+endif
+
+check_SCRIPTS += $(DISPLAY_TESTS)
+HAXE_FLAGS += -cp $(DISPLAYdir)

=== modified file 'testsuite/as3/classes.all/gen-as3-test.sh'
--- a/testsuite/as3/classes.all/gen-as3-test.sh 2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/gen-as3-test.sh 2009-05-15 01:57:34 +0000
@@ -154,16 +154,21 @@
 // This test case must be processed by CPP before compiling to include the
 //  DejaGnu.hx header file for the testing framework support.
 
-#include "DejaGnu.hx"
-
+#if flash9
 import flash.${nspace}.${asname};
 import flash.display.MovieClip;
+#else
+import flash.${asname};
+import flash.MovieClip;
+#end
 import flash.Lib;
 import Type;
 
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_${asname} {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the 
file.
+class ${asname}_as3 {
     static function main() {
         var x1:${asname} = new ${asname}();
 
@@ -171,7 +176,7 @@
         if (x1 != null) {
             DejaGnu.pass("${asname} class exists");
         } else {
-            DejaGnu.fail("${asname} lass doesn't exist");
+            DejaGnu.fail("${asname} class doesn't exist");
         }
 EOF
 
@@ -202,11 +207,11 @@
 #      echo "PROPS[$i]: ${name} : ${type}"
        lines[$j]="     if (x1.${name} == $result) {"
        j=`eval expr $j + 1`
-       lines[$j]="         DejaGnu.pass(\"${asname}::${name} property 
exists\");"
+       lines[$j]="         DejaGnu.pass(\"${asname}.${name} property 
exists\");"
        j=`eval expr $j + 1`
        lines[$j]="     } else {"
        j=`eval expr $j + 1`
-       lines[$j]="         DejaGnu.fail(\"${asname}::${name} property doesn't 
exist\");"
+       lines[$j]="         DejaGnu.fail(\"${asname}.${name} property doesn't 
exist\");"
        j=`eval expr $j + 1`
        lines[$j]="     }"
        j=`eval expr $j + 1`
@@ -281,6 +286,12 @@
         DejaGnu.done();
     }
 }
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
 EOF
 
 # cleanup after ourselves


reply via email to

[Prev in Thread] Current Thread [Next in Thread]