[ming] 01/07: Imported Upstream version 0.4.7+dfsg

Gabriele Giacone gg0-guest at moszumanska.debian.org
Wed May 20 00:24:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

gg0-guest pushed a commit to branch master
in repository ming.

commit 0ef8fe3d0f4ff0621ffc4c316091545c20b92f1c
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Wed May 20 00:13:58 2015 +0200

    Imported Upstream version 0.4.7+dfsg
---
 .travis.yml                      |    4 -
 java_ext/MANIFEST                |   60 ---
 java_ext/Makefile                |   57 ---
 java_ext/README                  |   82 ---
 java_ext/SWFAction.java          |   41 --
 java_ext/SWFActionI.java         |   35 --
 java_ext/SWFBitmap.java          |   80 ---
 java_ext/SWFBitmapI.java         |   35 --
 java_ext/SWFButton.java          |   82 ---
 java_ext/SWFButtonI.java         |   62 ---
 java_ext/SWFColor.java           |   90 ----
 java_ext/SWFDimensionableI.java  |   38 --
 java_ext/SWFDisplayItem.java     |  139 -----
 java_ext/SWFDisplayItemI.java    |   71 ---
 java_ext/SWFException.java       |   44 --
 java_ext/SWFFill.java            |  117 -----
 java_ext/SWFFillI.java           |   72 ---
 java_ext/SWFFont.java            |   85 ----
 java_ext/SWFFontI.java           |   42 --
 java_ext/SWFGradient.java        |   60 ---
 java_ext/SWFGradientI.java       |   37 --
 java_ext/SWFMatrix.java          |  141 ------
 java_ext/SWFMorph.java           |   64 ---
 java_ext/SWFMorphI.java          |   39 --
 java_ext/SWFMovie.java           |  144 ------
 java_ext/SWFMovieClip.java       |   97 ----
 java_ext/SWFMovieClipI.java      |   45 --
 java_ext/SWFMovieI.java          |   60 ---
 java_ext/SWFObject.java          |  170 -------
 java_ext/SWFObjectI.java         |   53 --
 java_ext/SWFShape.java           |  257 ----------
 java_ext/SWFShapeI.java          |   68 ---
 java_ext/SWFSound.java           |   41 --
 java_ext/SWFSoundI.java          |   35 --
 java_ext/SWFSoundStream.java     |   29 --
 java_ext/SWFText.java            |  101 ----
 java_ext/SWFTextField.java       |  112 ----
 java_ext/SWFTextFieldI.java      |   73 ---
 java_ext/SWFTextI.java           |   49 --
 java_ext/SWFVideoStream.java     |   37 --
 java_ext/Tests/Simple.java       |   74 ---
 java_ext/Tests/SlideShow.java    |   80 ---
 java_ext/native/Makefile         |   16 -
 java_ext/native/SWFAction.h      |   36 --
 java_ext/native/SWFBitmap.h      |   88 ----
 java_ext/native/SWFButton.h      |   61 ---
 java_ext/native/SWFDisplayItem.h |  173 -------
 java_ext/native/SWFFill.h        |  141 ------
 java_ext/native/SWFFont.h        |   93 ----
 java_ext/native/SWFGradient.h    |   53 --
 java_ext/native/SWFMorph.h       |   61 ---
 java_ext/native/SWFMovie.h       |  165 ------
 java_ext/native/SWFMovieClip.h   |   85 ----
 java_ext/native/SWFNative.cc     | 1042 --------------------------------------
 java_ext/native/SWFNative.h      |   22 -
 java_ext/native/SWFShape.h       |  203 --------
 java_ext/native/SWFSound.h       |   36 --
 java_ext/native/SWFSoundStream.h |   20 -
 java_ext/native/SWFText.h        |  117 -----
 java_ext/native/SWFTextField.h   |  143 ------
 java_ext/native/SWFUtilities.h   |   89 ----
 java_ext/native/SWFVideoStream.h |   24 -
 62 files changed, 5770 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 56e8143..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-before_install:
-  - ./autogen.sh
-
-language: c
diff --git a/java_ext/MANIFEST b/java_ext/MANIFEST
deleted file mode 100644
index f2b261e..0000000
--- a/java_ext/MANIFEST
+++ /dev/null
@@ -1,60 +0,0 @@
-Tests/Simple.java
-Tests/SlideShow.java
-Makefile
-README
-SWFAction.java
-SWFActionI.java
-SWFBitmap.java
-SWFBitmapI.java
-SWFButton.java
-SWFButtonI.java
-SWFColor.java
-SWFDimensionableI.java
-SWFDisplayItem.java
-SWFDisplayItemI.java
-SWFException.java
-SWFFill.java
-SWFFillI.java
-SWFFont.java
-SWFFontI.java
-SWFGradient.java
-SWFGradientI.java
-SWFMatrix.java
-SWFMorph.java
-SWFMorphI.java
-SWFMovie.java
-SWFMovieClip.java
-SWFMovieClipI.java
-SWFMovieI.java
-SWFObject.java
-SWFObjectI.java
-SWFShape.java
-SWFShapeI.java
-SWFSound.java
-SWFSoundI.java
-SWFSoundStream.java
-SWFText.java
-SWFTextField.java
-SWFTextFieldI.java
-SWFTextI.java
-SWFVideoStream.java
-native/Makefile
-native/SWFAction.h
-native/SWFBitmap.h
-native/SWFButton.h
-native/SWFDisplayItem.h
-native/SWFFill.h
-native/SWFFont.h
-native/SWFGradient.h
-native/SWFMorph.h
-native/SWFMovie.h
-native/SWFMovieClip.h
-native/SWFNative.cc
-native/SWFNative.h
-native/SWFShape.h
-native/SWFSound.h
-native/SWFSoundStream.h
-native/SWFText.h
-native/SWFTextField.h
-native/SWFUtilities.h
-native/SWFVideoStream.h
diff --git a/java_ext/Makefile b/java_ext/Makefile
deleted file mode 100644
index 88d26a4..0000000
--- a/java_ext/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-
-JAVADIR=/usr
-MINGDIR=..
-
-COMPILE = $(JAVADIR)/bin/javac -sourcepath .
-JAR = $(JAVADIR)/bin/jar
-
-
-SRCS = \
-	SWFColor.java \
-	SWFMatrix.java \
-	SWFAction.java \
-	SWFActionI.java \
-	SWFBitmap.java \
-	SWFBitmapI.java \
-	SWFButton.java \
-	SWFButtonI.java \
-	SWFDisplayItem.java \
-	SWFDisplayItemI.java \
-	SWFException.java \
-	SWFFill.java \
-	SWFFillI.java \
-	SWFFont.java \
-	SWFFontI.java \
-	SWFGradient.java \
-	SWFGradientI.java \
-	SWFMorph.java \
-	SWFMorphI.java \
-	SWFMovie.java \
-	SWFMovieClip.java \
-	SWFMovieClipI.java \
-	SWFMovieI.java \
-	SWFObject.java \
-	SWFObjectI.java \
-	SWFShape.java \
-	SWFShapeI.java \
-	SWFSound.java \
-	SWFSoundI.java \
-	SWFText.java \
-	SWFTextField.java \
-	SWFTextFieldI.java \
-	SWFTextI.java\
-	SWFSoundStream.java\
-	SWFVideoStream.java
-
-
-all: jswf.jar
-
-%.class: %.java
-	$(COMPILE) $<  
-
-jswf.jar: $(patsubst %.java,%.class,${SRCS})
-	$(JAR) cvf jswf.jar $+
-
-clean:
-	rm -f *.class *.jar
-
diff --git a/java_ext/README b/java_ext/README
deleted file mode 100644
index 6fe22f7..0000000
--- a/java_ext/README
+++ /dev/null
@@ -1,82 +0,0 @@
-LICENSE
---------
-
-This software is copyright 2001 E-Publishing Group Inc.  Permission is granted
-to use the code and/or make changes to the code provided that the original
-copyright and author attribution is included in each file. 
-
-The license does not make any warranty of liability, merchantability, or
-fitness for any specific purpose.
-
-Please contact the author <jshore at e-shuppan.com> if you have any questions
-about the license or the software.
-
-
-BUILDING
---------
-
-Build the java library and the native library, running make in the java 
-directory (the current directory) and "native" directory respectively.
-
-The java build will produce a jswf.jar file which can be included in your
-classpath.  The native directory creates a libjswf.so file.  This can be
-placed anywhere (I typically put it in the same installation directory as
-my jar files).
-
-
-USING IT
---------
-
-To compile or run against this library should do the following (csh):
-
-   setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<directory-with-.so-files>
-
-   java or javac -classpath <old-path>:<jar dir>/jswf.jar
-
-
-Make sure you also include libming.so in the directory with your libjswf.so.
-Alternatively, add the ming library to your LD_LIBRARY_PATH.
-
-
-NOTES
------
-
-The Java class heirarchy and methods closely mirror the PHP and python
-interfaces. I've added some additional convenience functions and new
-functionality.
-
-Also, have separated the implementation from the interface definition.  This
-makes browsing the API easier and also allows for other implementations.
-Methods that result SWF objects will return SWF interfaces rather than the 
-explicit objects.  For example:
-
-	SWFMovie movie = new SWFMovie();
-	...
-	SWFDisplayItemI item = movie.add (shape);
-	item.moveTo (23,30);
-
-The add method returns SWFDisplayItemI rather than SWFDisplayItem.  No big
-deal.  Just be aware that interfaces (identified with an "I" suffix) are
-used most of the time.
-
-
-EXTENDED API
-------------
-
-If you are interested in more advanced functionality, we have a not-yet 
-publicly available high-level API built on top of this.  Currently includes
-the following:
-
-  - supports wide variety of image formats (ming only supports jpeg and dbl)
-  - timeline & animation classes
-  - text and object align to arbitrary paths (and path animation)
-  - movie (mpeg, qt, avi, etc) to flash (in progress)
-  - others
-
-Please contact me if you would like more information about this.
-
-
-CONTACT
--------
-
-Jonathan Shore <jshore at e-shuppan.com>
diff --git a/java_ext/SWFAction.java b/java_ext/SWFAction.java
deleted file mode 100644
index 1f1842a..0000000
--- a/java_ext/SWFAction.java
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Description:
-//    SWFAction Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-//
-//  SWFAction Class
-//	create action sequence
-//
-//  Notes
-//    -	parses and compiles action
-//
-public class SWFAction extends SWFObject implements SWFActionI {
-    
-    public SWFAction (String script)
-	throws SWFException
-    {
-	setHandle (nNew (script));
-    }
-
-    protected native int nNew (String script);
-};
-
-
-
-    
diff --git a/java_ext/SWFActionI.java b/java_ext/SWFActionI.java
deleted file mode 100644
index bb1c772..0000000
--- a/java_ext/SWFActionI.java
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Description:
-//    SWFAction Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-//
-//  SWFAction Interface
-//	create action sequence
-//
-//  Notes
-//    -	parses and compiles action
-//
-public interface SWFActionI extends SWFObjectI {
-    
-    // public SWFAction (String script);
-};
-
-
-
-    
diff --git a/java_ext/SWFBitmap.java b/java_ext/SWFBitmap.java
deleted file mode 100644
index 9f97e49..0000000
--- a/java_ext/SWFBitmap.java
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Description:
-//    SWFBitmap Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-
-
-
-
-//
-//  SWFBitmap Class
-//	bitmap in jpg or dbl format
-//
-//  Notes
-//    -	should make this work with PNG transparently
-//
-public class SWFBitmap extends SWFObject implements SWFBitmapI {
-    
-    public SWFBitmap (String filename)
-	throws SWFException
-    {
-	if (filename.endsWith (".dbl") || filename.endsWith (".DBL"))
-	    setHandle (nNewDblBitmap (filename));
-	else
-	    setHandle (nNewJpegBitmap (filename));
-    }
-    
-
-    public SWFBitmap (String filename, String alphamask)
-	throws SWFException
-    {
-	setHandle (nNewJpegWithAlpha (filename, alphamask));
-    }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	// nDestroy (handle);
-	super.finalize();
-    }
-
-
-    public int getWidth ()
-	{ return nGetWidth (handle); }
-    public int getHeight ()
-	{ return nGetHeight (handle); }
-
-	
-    // native methods
-
-    protected native int	nNewDblBitmap (String filename);	
-    protected native int	nNewJpegBitmap (String filename);	
-    protected native int	nNewDataBitmap (byte[] data);	
-    protected native int	nNewJpegWithAlpha (String filename, String alpha);
-    protected native void	nDestroy (int handle);	
-
-    protected native int	nGetWidth (int handle);
-    protected native int	nGetHeight (int handle);
-
-};
-
-
-
diff --git a/java_ext/SWFBitmapI.java b/java_ext/SWFBitmapI.java
deleted file mode 100644
index 1086048..0000000
--- a/java_ext/SWFBitmapI.java
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Description:
-//    SWFBitmap Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  SWFBitmap Interface
-//	bitmap in jpg or dbl format
-//
-//  Notes
-//    -	should make this work with PNG transparently
-//
-public interface SWFBitmapI extends SWFObjectI {
-    
-    // public SWFBitmap (String filename, String alphamask);
-
-    public int getWidth ();
-    public int getHeight ();
-};
-
-
-
-    
diff --git a/java_ext/SWFButton.java b/java_ext/SWFButton.java
deleted file mode 100644
index 8dd942a..0000000
--- a/java_ext/SWFButton.java
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Description:
-//    SWFButton Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFButton Class
-//	button (region with actions)
-//
-//  Notes
-//    -	
-//
-public class SWFButton extends SWFObject implements SWFButtonI {
-    
-    public SWFButton ()
-	throws SWFException
-    {
-	setHandle (nNew());
-    }
-
-    protected void finalize()
-	throws Throwable
-    {
-	// nDestroy (handle);
-	super.finalize();
-    }
-
-
-
-    // methods
-
-    public void	setUp (SWFShapeI shape)
-	throws SWFException
-        { shape.eval(); addShape (SWFButton.ButtonUp, shape); }
-    public void	setDown (SWFShapeI shape)
-	throws SWFException
-        { shape.eval(); addShape (SWFButton.ButtonDown, shape); }
-    public void	setOver (SWFShapeI shape)
-	throws SWFException
-        { shape.eval(); addShape (SWFButton.ButtonOver, shape); }
-    public void	setHit (SWFShapeI shape)
-	throws SWFException
-        { shape.eval(); addShape (SWFButton.ButtonHit, shape); }
-
-    public void	addShape (int which, SWFShapeI shape)
-	throws SWFException
-        { shape.eval(); nAddShape (handle, shape.getHandle(), which); }
-
-    public void	addAction (SWFActionI action, int trigger)
-	throws SWFException
-        { action.eval(); nAddAction (handle, action.getHandle(), trigger); }
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nAddShape (int handle, int shape, int which);
-    protected native void	nAddAction (int handle, int action, int trigger);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFButtonI.java b/java_ext/SWFButtonI.java
deleted file mode 100644
index 0ae83a6..0000000
--- a/java_ext/SWFButtonI.java
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Description:
-//    SWFButton Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFButton Interface
-//	button (region with actions)
-//
-//  Notes
-//    -	
-//
-public interface SWFButtonI extends SWFObjectI {
-    
-    // states
-
-    public final static int ButtonHit = (1<<3);
-    public final static int ButtonDown = (1<<2);
-    public final static int ButtonOver = (1<<1);
-    public final static int ButtonUp = (1<<0);
-    
-    // action triggers
-
-    public final static int MouseUpOutside = (1<<6);
-    public final static int DragOver = (1<<5);
-    public final static int DragOut = (1<<4);
-    public final static int MouseUp = (1<<3);
-    public final static int MouseDown = (1<<2);
-    public final static int MouseOut = (1<<1);
-    public final static int MouseOver = (1<<0);
-
-
-    // methods
-
-    public void		setUp (SWFShapeI shape)				throws SWFException;
-    public void		setDown (SWFShapeI shape)			throws SWFException;
-    public void		setOver (SWFShapeI shape)			throws SWFException;
-    public void		setHit (SWFShapeI shape)			throws SWFException;
-
-    public void		addShape (int which, SWFShapeI shape)		throws SWFException;
-    public void		addAction (SWFActionI action, int trigger)	throws SWFException;
-};
-
-
-
-    
diff --git a/java_ext/SWFColor.java b/java_ext/SWFColor.java
deleted file mode 100644
index b9e1cae..0000000
--- a/java_ext/SWFColor.java
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// Description:
-//    SWFColor Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for any specific purpose.
-//
-
-
-
-//
-//  SWFColor Interface
-//      color & alpha
-//
-//  Notes
-//    - 
-//
-public class SWFColor {
-
-    public SWFColor (int r, int g, int b, int alpha)
-    {
-	this.r = r;
-	this.g = g;
-	this.b = b;
-	this.alpha = alpha;
-    }
-
-    public SWFColor (int r, int g, int b)
-    {
-	this.r = r;
-	this.g = g;
-	this.b = b;
-	this.alpha = 0xff;
-    }
-
-    public SWFColor ()
-    {
-	this.r = 0x00;
-	this.g = 0x00;
-	this.b = 0x00;
-	this.alpha = 0xff;
-    }
-
-    
-    // accessors
-    
-    public int getRed ()
-        { return r; }
-    public void setRed (int r)
-        { this.r = r; }
-    
-    public int getGreen ()
-        { return g; }
-    public void setGreen (int g)
-        { this.g = g; }
-    
-    public int getBlue ()
-        { return b; }
-    public void setBlue (int b)
-        { this.b = b; }
-    
-    public int getAlpha ()
-        { return alpha; }
-    public void setAlpha (int alpha)
-        { this.alpha = alpha; }
-
-
-    public static SWFColor identity()
-        { return identity; }
-    
-    
-    // variables
-
-    protected int	r;
-    protected int	g;
-    protected int	b;
-    protected int	alpha;
-
-
-    // static stuff
-
-    protected static SWFColor	identity = new SWFColor();
-};
diff --git a/java_ext/SWFDimensionableI.java b/java_ext/SWFDimensionableI.java
deleted file mode 100644
index 50760a3..0000000
--- a/java_ext/SWFDimensionableI.java
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Description:
-//    SWFDimensionable Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-import SWFObjectI;
-
-
-
-//
-//  SWFDimensionable Interface
-//      super-interface to all interfaces / classes which have dimension
-//
-//  Notes
-//    - 
-//
-public interface SWFDimensionableI extends SWFObjectI {
-    
-    public float	getWidth ();
-    public float	getHeight ();
-};
-
-
-
-    
-
diff --git a/java_ext/SWFDisplayItem.java b/java_ext/SWFDisplayItem.java
deleted file mode 100644
index ce38458..0000000
--- a/java_ext/SWFDisplayItem.java
+++ /dev/null
@@ -1,139 +0,0 @@
-//
-// Description:
-//    SWFDisplayItem Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFDisplayItem Class
-//	item/symbol in movie which can be manipulated
-//
-//  Notes
-//    -	one manipulates these items to set the scene and then writes
-//	the frame.  This is how animation is accomplished
-//
-//    -	the user doesn't instantiate this object, it is rather generated
-//	by other interfaces.  Hence the constructor will be private
-//
-public class SWFDisplayItem extends SWFObject implements SWFDisplayItemI {
-
-    public SWFDisplayItem (int handle)
-	throws SWFException
-    { 
-	super (handle); 
-    }
-    
-    public void	rotate (float degrees)
-        { nRotate (handle, degrees); }
-    public void	rotateTo (float degrees)
-        { nRotateTo (handle, degrees); }
-    
-    public void	move (float x, float y)
-        { nMove (handle, x, y); }
-    public void	moveTo (float x, float y)
-        { nMoveTo (handle, x, y); }
-
-    public void	scale (float scale)
-        { nScale (handle, scale, scale); }
-    public void	scale (float xscale, float yscale)
-        { nScale (handle, xscale, yscale); }
-    public void	scaleTo (float scale)
-        { nScaleTo (handle, scale, scale); }
-    public void	scaleTo (float xscale, float yscale)
-        { nScaleTo (handle, xscale, yscale); }
-
-    public void	skewX (float scew)
-        { nSkewX (handle, scew); }
-    public void	skewXTo (float scew)
-        { nSkewXTo (handle, scew); }
-    public void	skewY (float scew)
-        { nSkewY (handle, scew); }
-    public void	skewYTo (float scew)
-        { nSkewYTo (handle, scew); }
-
-    public int	getDepth ()
-        { return nGetDepth (handle); }
-    public void	setDepth (int depth)
-        { nSetDepth (handle, depth); }
-
-    public void	remove ()
-        { nRemove (handle); }
-
-    public void	setName (String name)
-        { nSetName (handle, name); }
-    public void	setRatio (float ratio)
-        { nSetRatio (handle, ratio); }
-    
-    public void	addColor (int r, int g, int b, int alpha)
-        { nAddColor (handle, r,g,b, alpha); }
-    public void	addColor (int r, int g, int b)
-        { nAddColor (handle, r,g,b, 0); }
-    public void	multColor (float r, float g, float b, float alpha)
-        { nMultColor (handle, r,g,b, alpha); }
-    public void	multColor (float r, float g, float b)
-        { nMultColor (handle, r,g,b, 1f); }
-
-
-    public void setAlpha (int alpha)
-        { multColor (1f,1f,1f,0f); addColor(0,0,0,alpha); }
-    public void setColor (int r, int g, int b)
-        { multColor (0f,0f,0f,1f); addColor(r,g,b); }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // native methods
-
-    protected native void	nDestroy (int handle);
-    protected native void	nRotate (int handle, float degrees);
-    protected native void	nRotateTo (int handle, float degrees);
-    
-    protected native void	nMove (int handle, float x, float y);
-    protected native void	nMoveTo (int handle, float x, float y);
-
-    protected native void	nScale (int handle, float xscale, float yscale);
-    protected native void	nScaleTo (int handle, float xscale, float yscale);
-
-    protected native void	nSkewX (int handle, float scew);
-    protected native void	nSkewXTo (int handle, float scew);
-    protected native void	nSkewY (int handle, float scew);
-    protected native void	nSkewYTo (int handle, float scew);
-
-    protected native int	nGetDepth (int handle);
-    protected native void	nSetDepth (int handle, int depth);
-
-    protected native void	nRemove (int handle);
-
-    protected native void	nSetName (int handle, String name);
-    protected native void	nSetRatio (int handle, float ratio);
-    
-    protected native void	nAddColor (int handle, int r, int g, int b, int alpha);
-    protected native void	nMultColor (int handle, float r, float g, float b, float alpha);
-    
-};
-
-
-
-    
diff --git a/java_ext/SWFDisplayItemI.java b/java_ext/SWFDisplayItemI.java
deleted file mode 100644
index 4c4c974..0000000
--- a/java_ext/SWFDisplayItemI.java
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// Description:
-//    SWFDisplayItem Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFDisplayItem Interface
-//	item/symbol in movie which can be manipulated
-//
-//  Notes
-//    -	one manipulates these items to set the scene and then writes
-//	the frame.  This is how animation is accomplished
-//
-//    -	the user doesn't instantiate this object, it is rather generated
-//	by other interfaces.  Hence the constructor will be private
-//
-public interface SWFDisplayItemI extends SWFObjectI {
-    
-    public void		rotate (float degrees);
-    public void		rotateTo (float degrees);
-    
-    public void		move (float x, float y);
-    public void		moveTo (float x, float y);
-
-    public void		scale (float scale);
-    public void		scaleTo (float scale);
-    public void		scaleTo (float xscale, float yscale);
-
-    public void		skewX (float scew);
-    public void		skewXTo (float scew);
-    public void		skewY (float scew);
-    public void		skewYTo (float scew);
-
-    public int		getDepth ();
-    public void		setDepth (int depth);
-
-    public void		remove ();
-
-    public void		setName (String name);
-    public void		setRatio (float ratio);
-    
-    public void		addColor (int r, int g, int b, int alpha);
-    public void		addColor (int r, int g, int b);
-
-    public void		multColor (float r, float g, float b, float alpha);
-    public void		multColor (float r, float g, float b);
-
-    public void		setAlpha (int alpha);
-    public void		setColor (int r, int g, int b);
-};
-
-
-
-    
diff --git a/java_ext/SWFException.java b/java_ext/SWFException.java
deleted file mode 100644
index 07d8638..0000000
--- a/java_ext/SWFException.java
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Description:
-//    SWFException Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFException Class
-//      exception from swf generation or rendering
-//
-//  Notes
-//    - 
-//
-public class SWFException extends Exception {
-
-    public SWFException (String err)
-	throws SWFException
-    { 
-	this.err = err; 
-    }
-
-    public String toString ()
-        { return "SWF: " + err; }
-
-
-    // variables
-
-    protected String	err;
-};
diff --git a/java_ext/SWFFill.java b/java_ext/SWFFill.java
deleted file mode 100644
index 4f690ca..0000000
--- a/java_ext/SWFFill.java
+++ /dev/null
@@ -1,117 +0,0 @@
-//
-// Description:
-//    SWFFill Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFFill Class
-//      general fill container
-//
-//  Notes
-//    -	this object is not instantiated by the user rather is generated
-//	when a fill is specified on a path-based entity.
-//
-public class SWFFill extends SWFObject implements SWFFillI {
-
-    public SWFFill (int handle)
-	throws SWFException
-    { 
-	super (handle); 
-    }
-
-
-    public void	skewX (float skew)
-        { nSkewX (handle, skew); }
-    public void	skewXTo (float skew)
-        { nSkewXTo (handle, skew); }
-
-    public void	skewY (float skew)
-        { nSkewY (handle, skew); }
-    public void	skewYTo (float skew)
-        { nSkewYTo (handle, skew); }
-
-    public void	scaleX (float scale)
-        { nScaleX (handle, scale); }
-    public void	scaleXTo (float scale)
-        { nScaleXTo (handle, scale); }
-
-    public void	scaleY (float scale)
-        { nScaleY (handle, scale); }
-    public void	scaleYTo (float scale)
-        { nScaleYTo (handle, scale); }
-
-    public void	scale (float xscale, float yscale)
-        { nScale (handle, xscale, yscale); }
-    public void	scale (float scale)
-        { nScale (handle, scale, scale); }
-
-    public void	rotate (float degrees)
-        { nRotate (handle, degrees); }
-    public void	rotateTo (float degrees)
-        { nRotateTo (handle, degrees); }
-
-    public void	move (float x, float y)
-        { nMove (handle, x, y); }
-    public void	moveTo (float x, float y)
-        { nMoveTo (handle, x, y); }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // native methods
-
-    protected native void	nDestroy (int handle);
-
-    protected native void	nSkewX (int handle, float skew);
-    protected native void	nSkewXTo (int handle, float skew);
-
-    protected native void	nSkewY (int handle, float skew);
-    protected native void	nSkewYTo (int handle, float skew);
-
-    protected native void	nScaleX (int handle, float scale);
-    protected native void	nScaleXTo (int handle, float scale);
-
-    protected native void	nScaleY (int handle, float scale);
-    protected native void	nScaleYTo (int handle, float scale);
-
-    protected native void	nScale (int handle, float xscale, float yscale);
-
-    protected native void	nRotate (int handle, float degrees);
-    protected native void	nRotateTo (int handle, float degrees);
-
-    protected native void	nMove (int handle, float x, float y);
-    protected native void	nMoveTo (int handle, float x, float y);
-};
-
-
-
-    
-
-
-
-
-    
-
diff --git a/java_ext/SWFFillI.java b/java_ext/SWFFillI.java
deleted file mode 100644
index 2f0c229..0000000
--- a/java_ext/SWFFillI.java
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Description:
-//    SWFFill Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  SWFFill Interface
-//      general fill container
-//
-//  Notes
-//    -	this object is not instantiated by the user rather is generated
-//	when a fill is specified on a path-based entity.
-//
-public interface SWFFillI extends SWFObjectI {
-
-    // constants
-    public final static int	Solid = 0x00; 
-    public final static int	Gradient = 0x10; 
-    public final static int	LinearGradient = 0x10; 
-    public final static int	RadialGradient = 0x12; 
-    public final static int	Bitmap = 0x40; 
-    public final static int	TiledBitmap = 0x40; 
-    public final static int	ClippedBitmap = 0x41; 
-    public final static int     NonSmoothedTiledBitmap = 0x42;
-    public final static int     NonSmoothedClippedBitmap = 0x43;
-    
-
-    // methods
-
-    public void		skewX (float skew);
-    public void		skewXTo (float skew);
-
-    public void		skewY (float skew);
-    public void		skewYTo (float skew);
-
-    public void		scaleX (float scale);
-    public void		scaleXTo (float scale);
-
-    public void		scaleY (float scale);
-    public void		scaleYTo (float scale);
-
-    public void		scale (float xscale, float yscale);
-    public void		scale (float scale);
-
-    public void		rotate (float degrees);
-    public void		rotateTo (float degrees);
-
-    public void		move (float x, float y);
-    public void		moveTo (float x, float y);
-};
-
-
-
-    
-
-
-
-
-    
-
diff --git a/java_ext/SWFFont.java b/java_ext/SWFFont.java
deleted file mode 100644
index e79e988..0000000
--- a/java_ext/SWFFont.java
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Description:
-//    SWFFont Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFFont Class
-//	font specification & attributes
-//
-//  Notes
-//    -	
-//
-public class SWFFont extends SWFObject implements SWFFontI {
-    
-    public SWFFont (String font)
-	throws SWFException
-    {
-	if (font.endsWith (".fdb")) {
-	    setHandle (nNewFileFont (font));
-	    browserfont = false;
-	} else {
-	    setHandle (nNewBrowserFont (font));
-	    browserfont = true;
-	}
-    }
-
-    protected void finalize()
-	throws Throwable
-    {
-	if (browserfont)
-	    nDestroyBrowserFont (handle);
-	else
-	    nDestroyFileFont (handle);
-	super.finalize();
-    }
-
-
-    public float getStringWidth (String string)
-        { return nGetStringWidth (handle, string); }
-    public float getAscent ()
-        { return nGetAscent (handle); }
-    public float getDescent ()
-        { return nGetDescent (handle); }
-    public float getLeading ()
-        { return nGetLeading (handle); }
-
-    
-    // native methods
-
-    protected native int	nNewFileFont (String font);
-    protected native int	nNewBrowserFont (String font);
-    protected native void	nDestroyFileFont (int handle);
-    protected native void	nDestroyBrowserFont (int handle);
-
-    protected native float	nGetStringWidth (int handle, String string);
-    protected native float	nGetAscent (int handle);
-    protected native float	nGetDescent (int handle);
-    protected native float	nGetLeading (int handle);
-
-
-    // variables
-
-    private boolean		browserfont;
-};
-
-
-
-    
diff --git a/java_ext/SWFFontI.java b/java_ext/SWFFontI.java
deleted file mode 100644
index 215258f..0000000
--- a/java_ext/SWFFontI.java
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Description:
-//    SWFFont Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFFont Interface
-//	font specification & attributes
-//
-//  Notes
-//    -	
-//
-public interface SWFFontI extends SWFObjectI {
-    
-    // public SWFont (String font);
-
-    public float	getStringWidth (String string);
-    public float	getAscent ();
-    public float	getDescent ();
-    public float	getLeading ();
-};
-
-
-
-    
diff --git a/java_ext/SWFGradient.java b/java_ext/SWFGradient.java
deleted file mode 100644
index 8e4efeb..0000000
--- a/java_ext/SWFGradient.java
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Description:
-//    SWFGradientI Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  SWFGradient Class
-//	gradient
-//
-//  Notes
-//    -	
-//
-public class SWFGradient extends SWFObject implements SWFGradientI {
-
-    public SWFGradient ()
-	throws SWFException
-    {
-	setHandle (nNew ()); 
-    }
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-    public void	addEntry (float ratio, int r, int g, int b, int alpha)
-    { 
-	nAddEntry (handle, ratio, r,g,b, alpha); 
-    }
-
-  public void addEntry( float ratio, SWFColor clr )
-  {
-    addEntry( ratio, clr.getRed(), clr.getGreen(), clr.getBlue(),
-              clr.getAlpha() );
-  }
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-    protected native void	nAddEntry (int handle, float ratio, int r, int g, int b, int alpha);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFGradientI.java b/java_ext/SWFGradientI.java
deleted file mode 100644
index 4197314..0000000
--- a/java_ext/SWFGradientI.java
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Description:
-//    SWFGradient Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-//
-//  SWFGradient Interface
-//	gradient
-//
-//  Notes
-//    -	this object is not instantiated by the user rather is generated
-//	when a gradient fill is specified on a path-based entity.
-//
-public interface SWFGradientI extends SWFObjectI {
-    
-  public void addEntry( float ratio, SWFColor clr );
-    public void	addEntry (float ratio, int r, int g, int b, int alpha);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFMatrix.java b/java_ext/SWFMatrix.java
deleted file mode 100644
index 41e2947..0000000
--- a/java_ext/SWFMatrix.java
+++ /dev/null
@@ -1,141 +0,0 @@
-//
-// Description:
-//    SWFMatrix Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for any specific purpose.
-//
-
-
-
-
-//
-//  SWFMatrix Interface
-//      a rotation, translation matrix
-//
-//  Notes
-//    - 
-//
-public class SWFMatrix {
-
-    public SWFMatrix ()
-    {
-	this.rot = 0f;
-	this.dx = 0f;
-	this.dy = 0f;
-	this.xscale = 1.0f;
-	this.yscale = 1.0f;
-	this.xskew = 0.0f;
-	this.yskew = 0.0f;
-	this.applied = false;
-    }
-
-    
-    // accessors
-    
-    public float getRotation ()
-        { return rot; }
-    public void setRotation (float deg)
-        { rot = deg; }
-    
-    public float getDx ()
-        { return dx; }
-    public void setDx (float dx)
-        { this.dx = dx; }
-    
-    public float getDy ()
-        { return dy; }
-    public void setDy (float dy)
-        { this.dy = dy; }
-    
-    public float getXScale ()
-        { return xscale; }
-    public void setXScale (float xscale)
-        { this.xscale = xscale; }
-    
-    public float getYScale ()
-        { return yscale; }
-    public void setYScale (float yscale)
-        { this.yscale = yscale; }
-    
-    public float getXSkew ()
-        { return xskew; }
-    public void setXSkew (float xskew)
-        { this.xskew = xskew; }
-    
-    public float getYSkew ()
-        { return yskew; }
-    public void setYSkew (float yskew)
-        { this.yskew = yskew; }
-    
-
-    // apply methods
-
-    public void apply (SWFDisplayItemI item, boolean force)
-    {
-	if (applied && !force)
-	    return;
-	else
-	    applied = true;
-
-	if (NE (this.dx, 0.0f) || NE (this.dy, 0.0f))
-	    item.move (dx, dy);
-	if (NE (this.xscale, 1.0f) || NE (this.yscale, 1.0f))
-	    item.scaleTo (xscale, yscale);
-	if (NE (this.xskew, 0.0f))
-	    item.skewX (xskew);
-	if (NE (this.yskew, 0.0f))
-	    item.skewY (yskew);
-	if (NE (this.rot, 0f))
-	    item.rotate (rot);
-    }
-
-    
-    public void apply (SWFDisplayItemI item)
-        { apply (item, false); }
-
-    public boolean applied ()
-        { return applied; }
-
-
-
-    // class methods
-
-    public static SWFMatrix identity()
-        { return identity; }
-
-    private static boolean NE (float a, float b)
-        { return Math.abs (a-b) < 1E-5; }
-
-
-    // variables
-
-    protected float		dx;
-    protected float		dy;
-
-    protected float		xscale;
-    protected float		yscale;
-
-    protected float		xskew;
-    protected float		yskew;
-
-    protected float		rot;
-    protected boolean		applied;
-
-
-    // class variables
-
-    protected static SWFMatrix	identity;
-
-    static {
-	identity = new SWFMatrix();
-	identity.applied = true;
-    }
-};
diff --git a/java_ext/SWFMorph.java b/java_ext/SWFMorph.java
deleted file mode 100644
index be23e08..0000000
--- a/java_ext/SWFMorph.java
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Description:
-//    SWFMorph Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFMorph Class
-//	morphing between two objects
-//
-//  Notes
-//    -	one simply draws the two shapes and adds to the movie at a specific
-//	frame
-//
-public class SWFMorph extends SWFObject implements SWFMorphI {
-
-    public SWFMorph () 
-	throws SWFException
-    { 
-	setHandle (nNew()); 
-    }
-    
-    public SWFShapeI getShape1 () throws SWFException
-        { return new SWFShape (nGetShape1 (handle)); }
-    public SWFShapeI getShape2 () throws SWFException
-        { return new SWFShape (nGetShape2 (handle)); }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native int	nGetShape1 (int handle);
-    protected native int	nGetShape2 (int handle);
-};
-
-
-
-    
diff --git a/java_ext/SWFMorphI.java b/java_ext/SWFMorphI.java
deleted file mode 100644
index cce7194..0000000
--- a/java_ext/SWFMorphI.java
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Description:
-//    SWFMorph Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFMorph Interface
-//	morphing between two objects
-//
-//  Notes
-//    -	one simply draws the two shapes and adds to the movie at a specific
-//	frame
-//
-public interface SWFMorphI extends SWFObjectI {
-    
-    public SWFShapeI	getShape1 ()	throws SWFException;
-    public SWFShapeI	getShape2 ()	throws SWFException;
-};
-
-
-
-    
diff --git a/java_ext/SWFMovie.java b/java_ext/SWFMovie.java
deleted file mode 100644
index 96bb782..0000000
--- a/java_ext/SWFMovie.java
+++ /dev/null
@@ -1,144 +0,0 @@
-//
-// Description:
-//    SWFMovie Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFMovie Class
-//	top-level swf movie class
-//
-//  Notes
-//    -	too bad the notion of movie and sprite aren't the same.  Effectively
-//	they should be.
-//
-//    -	we should add coordinate system specification and perspective options
-//	to give this more flexibility
-//
-public class SWFMovie extends SWFObject implements SWFMovieI {
-
-    public SWFMovie ()
-	throws SWFException
-    { 
-	setHandle (nNew()); 
-    }
-
-    public void	setScale (float scale)
-        { nSetScale (scale); }
-    public void	setCubicThreshold (int v)
-        { nSetCubicThreshold (v); }
-    
-    public void	setRate (float rate)
-        { nSetRate (handle, rate); }
-    public void	setDimension (int width, int height)
-        { nSetDimension (handle, width, height); }
-    
-    public void	setNumberOfFrames (int nframes)
-        { nSetNumberOfFrames (handle, nframes); }
-
-    public void useSWFVersion( int version )
-	    { nUseSWFVersion( version ); }
-
-    public void	setBackground (int r, int g, int b)
-        { nSetBackground (handle, r,g,b); }
-    public void	setSoundStream (SWFSoundStream sound_stream)
-	
-        { nSetSoundStream (handle, sound_stream.getHandle()); }
-
-
-    public SWFDisplayItemI add (SWFObjectI object)
-	throws SWFException
-    { 
-	object.eval();
-	preserve (object);
-	SWFDisplayItemI i = 
-	    new SWFDisplayItem (nAdd (handle, object.getHandle()));
-	object.getMatrix().apply (i);
-
-	return i; 
-    }
-
-    public SWFDisplayItemI add (SWFObjectI object, int depth) 
-	throws SWFException
-    { 
-	SWFDisplayItemI i = add (object); 
-	i.setDepth(depth); 
-	return i; 
-    }
-
-
-    public void	remove (SWFDisplayItemI item)
-        { nRemove (handle, item.getHandle()); }
-
-    public void	nextFrame()
-        { nNextFrame (handle); }
-    public void	labelFrame (String label)
-        { nLabelFrame (handle, label); }
-
-    public int setCompression(int level) 
-    {
-	   return nSetCompression(handle, level);
-    }
-	    
-    public void	save (String file)
-        { nSave (handle, file); }
-    public byte[] output ()
-        { return nOutput (handle); }
-    public String toString ()
-        { return new String (nOutput (handle)); }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nSetScale (float scale);
-    protected native void	nSetCubicThreshold (int v);
-    
-    protected native void	nSetRate (int handle, float rate);
-    protected native void	nSetDimension (int handle, int width, int height);
-    protected native void	nSetNumberOfFrames (int handle, int nframes);
-    protected native void 	nUseSWFVersion(int version);
-
-    protected native void	nSetBackground (int handle, int r, int g, int b);
-    protected native void	nSetSoundStream (int handle, int HsoundStream);
-
-    protected native int	nAdd (int handle, int Hobject);
-    protected native void	nRemove (int handle, int Hitem);
-
-    protected native void	nNextFrame(int handle);
-    protected native void	nLabelFrame (int handle, String label);
-
-    protected native int 	nSetCompression(int handle, int level);
-    protected native void	nSave (int handle, String file);
-    protected native byte[]	nOutput (int handle);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFMovieClip.java b/java_ext/SWFMovieClip.java
deleted file mode 100644
index e3ab433..0000000
--- a/java_ext/SWFMovieClip.java
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Description:
-//    SWFMovieClip Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFMovieClip Class
-//	movie clip
-//
-//  Notes
-//    -	one simply draws the shapes and adds to the movie at a specific
-//	frame
-//
-public class SWFMovieClip extends SWFObject implements SWFMovieClipI {
-    
-    public SWFMovieClip ()
-	throws SWFException
-    { 
-	setHandle (nNew()); 
-    }
-
-    public void	setFrames (int nframes)
-        { nSetFrames (handle, nframes); }
-    public void	setNumberOfFrames (int nframes)
-        { nSetFrames (handle, nframes); }
-    
-    public SWFDisplayItemI add (SWFObjectI object)
-	throws SWFException
-    { 
-	object.eval();
-	preserve (object);
-	SWFDisplayItemI i = 
-	    new SWFDisplayItem (nAdd (handle, object.getHandle()));
-	object.getMatrix().apply (i);
-
-	return i; 
-    }
-
-    public SWFDisplayItemI add (SWFObjectI object, int depth) 
-	throws SWFException
-    { 
-	SWFDisplayItemI i = add (object); 
-	i.setDepth(depth); 
-	return i; 
-    }
-
-    public void	remove (SWFDisplayItemI item)
-        { nRemove (handle, item.getHandle()); }
-
-    public void	nextFrame ()
-        { nNextFrame (handle); }
-    public void	labelFrame (String label)
-        { nLabelFrame (handle, label); }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nSetFrames (int handle, int nframes);
-
-    protected native int	nAdd (int handle, int Hobject);
-    protected native void	nRemove (int handle, int Hobject);
-
-    protected native void	nNextFrame (int handle);
-    protected native void	nLabelFrame (int handle, String label);
-};
-
-
-
-    
diff --git a/java_ext/SWFMovieClipI.java b/java_ext/SWFMovieClipI.java
deleted file mode 100644
index 89b7b53..0000000
--- a/java_ext/SWFMovieClipI.java
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// Description:
-//    SWFMovieClip Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFMovieClip Interface
-//	movie clip
-//
-//  Notes
-//    -	one simply draws the shapes and adds to the movie at a specific
-//	frame
-//
-public interface SWFMovieClipI extends SWFObjectI {
-    
-    public void			setFrames (int nframes);
-    
-    public SWFDisplayItemI	add (SWFObjectI object)			throws SWFException;
-    public SWFDisplayItemI	add (SWFObjectI object, int depth)	throws SWFException;
-    public void			remove (SWFDisplayItemI item);
-
-    public void			nextFrame ();
-    public void			labelFrame (String label);
-};
-
-
-
-    
diff --git a/java_ext/SWFMovieI.java b/java_ext/SWFMovieI.java
deleted file mode 100644
index 8c9882c..0000000
--- a/java_ext/SWFMovieI.java
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Description:
-//    SWFMovie Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFMovie Interface
-//	top-level swf movie interface
-//
-//  Notes
-//    -	too bad the notion of movie and sprite aren't the same.  Effectively
-//	they should be.
-//
-//    -	we should add coordinate system specification and perspective options
-//	to give this more flexibility
-//
-public interface SWFMovieI extends SWFObjectI {
-
-    public void			setScale (float scale);
-    public void			setCubicThreshold (int v);
-    
-    public void			setRate (float rate);
-    public void			setDimension (int width, int height);
-    public void			setNumberOfFrames (int nframes);
-
-    public void			setBackground (int r, int g, int b);
-    public void			setSoundStream (SWFSoundStream sound_stream);
-
-    public SWFDisplayItemI	add (SWFObjectI object)			throws SWFException;
-    public SWFDisplayItemI	add (SWFObjectI object, int depth)	throws SWFException;
-    public void			remove (SWFDisplayItemI item);
-
-    public void			nextFrame();
-    public void			labelFrame (String label);
-
-    public int 			setCompression(int level);
-    public void			save (String file);
-    public byte[]		output ();
-};
-
-
-
-    
diff --git a/java_ext/SWFObject.java b/java_ext/SWFObject.java
deleted file mode 100644
index 7cbd39b..0000000
--- a/java_ext/SWFObject.java
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-// Description:
-//    SWFObject Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-
-
-
-//
-//  SWFObject Class
-//      base object for all swf-entities
-//
-//  Notes
-//    - keeps underlying SWF entity handle, and adjustments
-//
-//    - a translation / rotation / skew matrix is kept so that objects can
-//	be created with specific offset, rotation, etc
-//
-//    - eval() is provided so that the object can be adjusted or rendered just
-//	prior to being added to a parent container (as in MC.add(object))
-//
-public class SWFObject implements SWFObjectI {
-
-    public SWFObject ()
-	throws SWFException
-    {
-	initialize();
-	this.handle = 0;
-	this.matrix = null;
-	this.props = null;
-	this.preserve = null;
-    }
-
-    public SWFObject (int handle)
-	throws SWFException
-    {
-	initialize();
-	this.handle = handle;
-	this.matrix = null;
-	this.props = null;
-	this.preserve = null;
-    }
-
-
-    // handle functions
-
-    public int getHandle()
-        { return handle; }
-
-    public void	setHandle(int handle)
-        { this.handle = handle; }
-
-
-    // intializer function
-
-    public void eval() throws SWFException
-        { }
-
-
-    // matrix functions
-
-    public void setMatrix (SWFMatrix matrix)
-    { 
-	this.matrix = matrix; 
-    }
-
-    public SWFMatrix getMatrix ()
-    {
-	if (matrix == null)
-	    return SWFMatrix.identity();
-	else
-	    return matrix;
-    }
-
-
-    // property functions
-
-    public Object getProperty (String name)
-	throws SWFException
-    {
-	if (props == null)
-	    throw new SWFException ("SWFObject::getProperty: no properties, trying: " + name);
-	else
-	    return props.get (name);
-    }
-
-    public void setProperty (String name, Object value)
-    {
-	if (props == null)
-	    props = new Hashtable();
-
-	props.put (name, value);
-    }
-
-    
-    public float getFloatProperty (String name)
-	throws SWFException
-    {
-	Object o = getProperty (name);
-	if (o == null)
-	    throw new SWFException ("SWFObject::getProperty: unknown property: " + name);
-	else
-	    return ((Float)o).floatValue();
-    }
-
-    
-    public void setFloatProperty (String name, float v)
-    {
-	setProperty (name, new Float (v));
-    }
-	
-
-
-    // initializer & GC related
-
-    public static synchronized void initialize ()
-	throws SWFException
-    {
-	if (initialized) 
-	    return;
-	else
-	    initialized = true;
-
-	try
-            { System.loadLibrary ("jswf"); }
-
-	catch (UnsatisfiedLinkError e)
-	{
-	    System.out.println(e.toString());
-	    String msg = e.getMessage();
-	    if (msg.indexOf ("already loaded") < 0)
-		throw new SWFException ("native loading: " + msg);
-	}
-    }
-
-
-    public void preserve (SWFObjectI obj)
-    {
-	if (preserve == null)
-	    preserve = new Vector();
-	preserve.add (obj);
-    }
-
-
-    // variables
-
-    protected int		handle;
-    protected SWFMatrix		matrix;
-    protected Hashtable		props;
-    protected Vector		preserve;
-
-    protected static boolean	initialized = false;
-};
diff --git a/java_ext/SWFObjectI.java b/java_ext/SWFObjectI.java
deleted file mode 100644
index a0da80e..0000000
--- a/java_ext/SWFObjectI.java
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Description:
-//    SWFObject Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for any specific purpose.
-//
-
-
-
-
-
-
-
-//
-//  SWFObject Interface
-//      base object for all swf-entities
-//
-//  Notes
-//    - keeps underlying SWF entity handle and attributes common to
-//	all objects
-//
-//    - eval() allows one to do any processing before an object is used
-//	by another (often used for rendering).
-//
-//    - added offset, allowing functions to embed offset information
-//	when creating an object, so that later when adding to an MC,
-//	will be moved by offset amount
-//
-public interface SWFObjectI {
-
-    public int		getHandle();
-    public void		setHandle(int handle);
-
-    public void		eval() throws SWFException;
-
-    public Object	getProperty (String name)			throws SWFException;
-    public void		setProperty (String name, Object value);
-
-    public float	getFloatProperty (String name)			throws SWFException;
-    public void		setFloatProperty (String name, float value);
-
-    public void		setMatrix (SWFMatrix mat);
-    public SWFMatrix	getMatrix ();
-};
diff --git a/java_ext/SWFShape.java b/java_ext/SWFShape.java
deleted file mode 100644
index 9a383ef..0000000
--- a/java_ext/SWFShape.java
+++ /dev/null
@@ -1,257 +0,0 @@
-//
-// Description:
-//    SWFShape Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFShape Class
-//      general polygon / poly-curve region
-//
-//  Notes
-//    - building block for flash objects
-//
-public class SWFShape extends SWFObject implements SWFShapeI {
-
-    public final static float PI = 3.1415926f;
-
-    // public methods
-    
-    public SWFShape (int handle)
-	throws SWFException
-    { 
-	super (handle); 
-	this.lwidth = 1;
-	this.color = SWFColor.identity();
-    }
-
-    public SWFShape ()
-    	throws SWFException
-    { 
-	setHandle (nNew()); 
-	this.lwidth = 1;
-	this.color = SWFColor.identity();
-    }
-
-    public float getPenX()
-    {
-	    return nGetPenX(handle);
-    }
-
-    public float getPenY()
-    {
-	    return nGetPenY(handle);
-    }
-
-    public void	movePen (float x, float y)
-        { nMovePen (handle, x, y); }
-    public void	movePenTo (float x, float y)
-        { nMovePenTo (handle, x, y); }
-
-
-    public void	drawLine (float x, float y)
-        { nDrawLine (handle, x, y); }
-    public void	drawLineTo (float x, float y)
-        { nDrawLineTo (handle, x, y); }
-    public void	drawLineToRelative (float dx, float dy)
-        { nDrawLineToRelative (handle, dx, dy); }
-
-
-    public void	drawCurve (float bx, float by, float cx, float cy)
-        { nDrawCurve (handle, bx, by, cx, cy); }
-    public void	drawCurveTo (float bx, float by, float cx, float cy)
-        { nDrawCurveTo (handle, bx, by, cx, cy); }
-
-    public void	drawCurve (float bx, float by, float cx, float cy, float dx, float dy)
-        { nDrawCubic (handle, bx, by, cx, cy, dx, dy); }
-    public void	drawCurveTo (float bx, float by, float cx, float cy, float dx, float dy)
-        { nDrawCubicTo (handle, bx, by, cx, cy, dx, dy); }
-
-
-    public void	drawArc (float r, float startAngle, float endAngle)
-        { iDrawArc (handle, r, startAngle, endAngle); }
-    public void	drawCircle (float r)
-        { iDrawCircle (handle, r); }
-
-    public void	drawGlyph (SWFFontI font, int c)
-	throws SWFException
-    { 
-	font.eval(); 
-	nDrawGlyph (handle, font.getHandle(), c); 
-	preserve (font);
-    }
-
-
-    public void	end ()
-        { nEnd (handle); }
-
-
-    // color & line thickness
-
-    public void	setLine (short width, int r, int g, int b, int alpha)
-    { 
-	lwidth = width;
-	color = new SWFColor(r,g,b, alpha);
-	nSetLine (handle, width, r,g,b,alpha); 
-    }
-
-    public void	setLine (short width, SWFColor color)
-    { 
-	lwidth = width;
-	this.color = color;
-	nSetLine (handle, width, color.getRed(), color.getGreen(), color.getBlue(), color.getAlpha()); 
-    }
-
-    public void	setLine (short width)
-    { 
-	lwidth = width;
-	setLine (width, color);
-    }
-
-    public void	setColor (SWFColor color)
-    { 
-	this.color = color;
-	setLine (lwidth, color);
-    }
-
-
-    // fills
-
-    public SWFFillI addBitmapFill (SWFBitmapI bitmap, int flags)
-	throws SWFException
-    { 
-	bitmap.eval(); 
-	preserve (bitmap);
-	return new SWFFill (nAddBitmapFill (handle, bitmap.getHandle(), (short)flags)); 
-    }
-
-    public SWFFillI addGradientFill (SWFGradientI gradient, int flags)
-	throws SWFException
-    { 
-	gradient.eval(); 
-	preserve (gradient);
-	return new SWFFill (nAddGradientFill (handle, gradient.getHandle(), (short)flags)); 
-    }
-
-    public SWFFillI addSolidFill (int r, int g, int b, int alpha)
-	throws SWFException
-        { return new SWFFill (nAddSolidFill (handle, r,g,b, alpha)); }
-    public SWFFillI addSolidFill (SWFColor color)
-	throws SWFException
-        { return new SWFFill (nAddSolidFill (handle, color.getRed(), color.getGreen(), color.getBlue(), color.getAlpha())); }
-
-    public void	setLeftFill (SWFFillI fill)
-	throws SWFException
-    { 
-	fill.eval();
-	preserve (fill);
-	nSetLeftFill (handle, fill.getHandle()); 
-    }
-
-    public void	setRightFill (SWFFillI fill)
-	throws SWFException
-    { 
-	fill.eval(); 
-	preserve (fill);
-	nSetRightFill (handle, fill.getHandle()); 
-    }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    // internal stuff
-
-    
-    protected void iDrawCircle (int handle, float r)
-    {
-	final float a = r * (float)Math.tan (PI/8);
-	final float b = r * (float)Math.sin (PI/4);
-
-	movePen (r, 0);
-	drawCurve (0, -a, b-r, -b+a);
-	drawCurve (-b+a, b-r, -a, 0);
-	drawCurve (-a, 0, a-b, r-b);
-	drawCurve (b-r, b-a, 0, a);
-	drawCurve (0,a, r-b, b-a);
-	drawCurve (b-a,r-b,a,0);
-	drawCurve (a,0,b-a,b-r);
-	drawCurve (r-b,a-b,0,-a);
-	movePen (-r, 0);
-    }
-
-
-    protected void iDrawArc (int handle, float r, float startAngle, float endAngle)
-    {
-	nDrawArc (handle,r,startAngle,endAngle);
-    }
-    
-    
-
-    // native stuff
-
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nMovePen (int handle, float x, float y);
-    protected native void	nMovePenTo (int handle, float x, float y);
-    protected native float	nGetPenX(int handle );
-    protected native float 	nGetPenY(int handle );
-
-    protected native void	nDrawLine (int handle, float x, float y);
-    protected native void	nDrawLineTo (int handle, float x, float y);
-    protected native void	nDrawLineToRelative (int handle, float dx, float dy);
-
-    protected native void	nDrawCurve (int handle, float bx, float by, float cx, float cy);
-    protected native void	nDrawCurveTo (int handle, float bx, float by, float cx, float cy);
-
-    protected native void	nDrawCubic (int handle, float bx, float by, float cx, float cy, float dx, float dy);
-    protected native void	nDrawCubicTo (int handle, float bx, float by, float cx, float cy, float dx, float dy);
-
-    protected native void	nDrawArc (int handle, float r, float startAngle, float endAngle);
-    protected native void	nDrawCircle (int handle, float r);
-    protected native void	nDrawGlyph (int handle, int Hfont, int c);
-
-    protected native void	nEnd (int handle);
-
-    protected native void	nSetLine (int handle, short width, int r, int g, int b, int alpha);
-    protected native int	nAddBitmapFill (int handle, int Hbitmap, short flags);
-    protected native int	nAddGradientFill (int handle, int Hgradient, short flags);
-    protected native int	nAddSolidFill (int handle, int r, int g, int b, int alpha);
-
-    protected native void	nSetLeftFill (int handle, int Hfill);
-    protected native void	nSetRightFill (int handle, int Hfill);
-
-    
-
-    // variables
-
-    protected short		lwidth;
-    protected SWFColor		color;
-};
-
-
-
-    
-
diff --git a/java_ext/SWFShapeI.java b/java_ext/SWFShapeI.java
deleted file mode 100644
index fbb53c2..0000000
--- a/java_ext/SWFShapeI.java
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Description:
-//    SWFShape Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFShape Interface
-//      general polygon / poly-curve region
-//
-//  Notes
-//    - building block for flash objects
-//
-public interface SWFShapeI extends SWFObjectI {
-    
-    public void		movePen (float x, float y);
-    public void		movePenTo (float x, float y);
-
-    public void		drawLine (float x, float y);
-    public void		drawLineTo (float x, float y);
-    public void		drawLineToRelative (float dx, float dy);
-
-    public void		drawCurve (float bx, float by, float cx, float cy);
-    public void		drawCurveTo (float bx, float by, float cx, float cy);
-
-    public void		drawCurve (float bx, float by, float cx, float cy, float dx, float dy);
-    public void		drawCurveTo (float bx, float by, float cx, float cy, float dx, float dy);
-
-    public void		drawArc (float r, float startAngle, float endAngle);
-    public void		drawCircle (float r);
-    public void		drawGlyph (SWFFontI font, int c) throws SWFException;
-
-    public void		end ();
-
-    public void		setLine (short width, int r, int g, int b, int alpha);
-    public void		setLine (short width, SWFColor color);
-
-    public void		setLine (short width);
-    public void		setColor (SWFColor color);
-
-    public SWFFillI	addBitmapFill (SWFBitmapI bitmap, int flags) throws SWFException;
-    public SWFFillI	addGradientFill (SWFGradientI gradient, int flags) throws SWFException;
-    public SWFFillI	addSolidFill (int r, int g, int b, int alpha) throws SWFException;
-    public SWFFillI	addSolidFill (SWFColor color) throws SWFException;
-
-    public void		setLeftFill (SWFFillI fill) throws SWFException;
-    public void		setRightFill (SWFFillI fill) throws SWFException;
-};
-
-
-
-    
-
diff --git a/java_ext/SWFSound.java b/java_ext/SWFSound.java
deleted file mode 100644
index d8d6333..0000000
--- a/java_ext/SWFSound.java
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Description:
-//    SWFSound Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-//
-//  SWFSound Class
-//	create mp3 based sound stream
-//
-//  Notes
-//    -	no methods at the moment other than a constructor
-//
-public class SWFSound extends SWFObject implements SWFSoundI {
-    
-    public SWFSound (String file, byte flags)
-	throws SWFException
-    { 
-	setHandle (nNew (file)); 
-    }
-
-    protected native int nNew (String file);
-};
-
-
-
-    
diff --git a/java_ext/SWFSoundI.java b/java_ext/SWFSoundI.java
deleted file mode 100644
index 94fb1bf..0000000
--- a/java_ext/SWFSoundI.java
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Description:
-//    SWFSound Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-//
-//  SWFSound Interface
-//	create mp3 based sound stream
-//
-//  Notes
-//    -	no methods at the moment other than a constructor
-//
-public interface SWFSoundI extends SWFObjectI {
-    
-    // public SWFSound (String file);
-};
-
-
-
-    
diff --git a/java_ext/SWFSoundStream.java b/java_ext/SWFSoundStream.java
deleted file mode 100644
index 79fe737..0000000
--- a/java_ext/SWFSoundStream.java
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Description:
-//    SWFSound Class
-//
-// Authors:
-// Klaus Rechert
-
-
-//
-//  SWFSoundStream Class
-//	create mp3 based sound stream
-//
-//  Notes
-//    -	no methods at the moment other than a constructor
-//
-public class SWFSoundStream extends SWFObject {
-
-    public SWFSoundStream (String file) 
-    throws SWFException
-    {
-	setHandle(nNew (file)); 
-    }
-
-    protected native int nNew (String file);
-};
-
-
-
-    
diff --git a/java_ext/SWFText.java b/java_ext/SWFText.java
deleted file mode 100644
index 33cf781..0000000
--- a/java_ext/SWFText.java
+++ /dev/null
@@ -1,101 +0,0 @@
-//
-// Description:
-//    SWFText Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-//
-//  SWFText Class
-//	text region
-//
-//  Notes
-//    -	
-//
-public class SWFText extends SWFObject implements SWFTextI {
-    
-    public SWFText ()
-	throws SWFException
-    { 
-	setHandle (nNew()); 
-    }
-
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-    public void	setFont (SWFFontI font) 
-	throws SWFException
-    { 
-	font.eval(); 
-	nSetFont (handle, font.getHandle());
-	preserve (font);
-    }
-
-    public void	setColor (int r, int g, int b, int alpha)
-        { nSetColor (handle, r,g,b, alpha); }
-    public void	setColor (SWFColor color)
-        { nSetColor (handle, color.getRed(), color.getGreen(), color.getBlue(), color.getAlpha()); }
-
-    public void	addString (String text)
-        { nAddString (handle, text); }
-
-    public void	setHeight (float height)
-        { nSetHeight (handle, height); }
-    public void	setSpacing (float spacing)
-        { nSetSpacing (handle, spacing); }
-
-    public float getAscent()
-        { return nGetAscent (handle); }
-    public float getDescent()
-        { return nGetDescent (handle); }
-    public float getLeading()
-        { return nGetLeading (handle); }
-
-    public void	moveTo (float x, float y)
-        { nMoveTo (handle, x,y); }
-
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nSetFont (int handle, int Hfont);
-    protected native void	nSetColor (int handle, int r, int g, int b, int alpha);
-
-    protected native void	nAddString (int handle, String text);
-
-    protected native void	nSetHeight (int handle, float height);
-    protected native void	nSetSpacing (int handle, float spacing);
-
-    protected native float	nGetAscent(int handle);
-    protected native float	nGetDescent(int handle);
-    protected native float	nGetLeading(int handle);
-
-    protected native void	nMoveTo (int handle, float x, float y);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFTextField.java b/java_ext/SWFTextField.java
deleted file mode 100644
index 94cd3b9..0000000
--- a/java_ext/SWFTextField.java
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Description:
-//    SWFTextField Class
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  SWFText Class
-//	text field
-//
-//  Notes
-//    -	
-//
-public class SWFTextField extends SWFObject implements SWFTextFieldI {
-
-    public SWFTextField ()
-	throws SWFException
-    {
-	setHandle (nNew());
-    }
-
-    protected void finalize()
-	throws Throwable
-    {
-	nDestroy (handle);
-	super.finalize();
-    }
-
-
-
-    // methods
-
-    public void	setBounds (float width, float height)
-        { nSetBounds (handle, width, height); }
-    public void	setFlags (long flags)
-        { nSetFlags (handle, flags); }
-    public void setHeight( float height ) 
-        { nSetHeight( handle, height ); }
-    public void	setAlignment (int alignment)
-        { nSetAlignment (handle, alignment); }
-    public void	align (int alignment)
-        { nSetAlignment (handle, alignment); }
-
-    public void	setFont (SWFFontI font)
-	throws SWFException
-    { 
-	font.eval(); 
-	nSetFont (handle, font.getHandle()); 
-	preserve (font);
-    }
-
-    public void	setColor (int r, int g, int b, int alpha)
-        { nSetColor (handle, r,g,b, alpha); }
-    public void	setColor (SWFColor color)
-        { nSetColor (handle, color.getRed(), color.getGreen(), color.getBlue(), color.getAlpha()); }
-
-    public void	addString (String text)
-        { nAddString (handle, text); }
-    public void	setVariableName (String name)
-        { nSetVariableName (handle, name); }
-
-    public void	setLeftMargin (float margin)
-        { nSetLeftMargin (handle, margin); }
-    public void	setRightMargin (float margin)
-        { nSetRightMargin (handle, margin); }
-    public void	setIndentation (float indent)
-        { nSetIndentation (handle, indent); }
-    public void	setLineSpacing (float spacing)
-        { nSetLineSpacing (handle, spacing); }
-    public void	setLength (int len)
-        { nSetLength (handle, len); }
-
-
-    // native methods
-
-    protected native int	nNew ();
-    protected native void	nDestroy (int handle);
-
-    protected native void	nSetFont (int handle, int Hfont);
-    protected native void	nSetColor (int handle, int r, int g, int b, int alpha);
-
-    protected native void       nSetHeight( int handle, float height );
-    protected native void	nAddString (int handle, String text);
-
-    protected native void	nSetBounds (int handle, float width, float height);
-    protected native void	nSetFlags (int handle, long flags);
-    protected native void	nSetAlignment (int handle, int alignment);
-
-    protected native void	nSetVariableName (int handle, String name);
-
-    protected native void	nSetLeftMargin (int handle, float margin);
-    protected native void	nSetRightMargin (int handle, float margin);
-    protected native void	nSetIndentation (int handle, float indent);
-    protected native void	nSetLineSpacing (int handle, float spacing);
-    protected native void	nSetLength (int handle, int len);
-
-};
-
-
-
-    
diff --git a/java_ext/SWFTextFieldI.java b/java_ext/SWFTextFieldI.java
deleted file mode 100644
index 44844d8..0000000
--- a/java_ext/SWFTextFieldI.java
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Description:
-//    SWFTextField Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-//
-//  SWFText Interface
-//	text field
-//
-//  Notes
-//    -	
-//
-public interface SWFTextFieldI extends SWFObjectI {
-    
-    // alignment constants
-
-    public final static int AlignLeft = 0;
-    public final static int AlignRight = 1;
-    public final static int AlignCenter = 2;
-    public final static int AlignJustify = 3;
-    
-    // miscellaneous constants (flags)
-
-    public final static int HasLength = (1<<1);
-    public final static int NoEdit = (1<<3);
-    public final static int Password = (1<<4);
-    public final static int Multiline = (1<<5);
-    public final static int WordWrap = (1<<6);
-    public final static int DrawBox = (1<<11);
-    public final static int NoSelect = (1<<12);
-    public final static int Html = (1<<9);
-
-
-    // methods
-
-    public void		setBounds (float width, float height);
-    public void		setFlags (long flags);
-    public void         setHeight(float height );
-    public void		setAlignment (int alignment);
-    public void		align (int alignment);
-
-    public void		setFont (SWFFontI font) throws SWFException;
-    public void		setColor (int r, int g, int b, int alpha);
-    public void		setColor (SWFColor color);
-
-    public void		addString (String text);
-    public void		setVariableName (String name);
-
-    public void		setLeftMargin (float margin);
-    public void		setRightMargin (float margin);
-    public void		setIndentation (float indent);
-    public void		setLineSpacing (float spacing);
-    public void		setLength (int len);
-
-
-};
-
-
-
-    
diff --git a/java_ext/SWFTextI.java b/java_ext/SWFTextI.java
deleted file mode 100644
index e0b65a6..0000000
--- a/java_ext/SWFTextI.java
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Description:
-//    SWFText Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-
-
-
-//
-//  SWFText Interface
-//	text region
-//
-//  Notes
-//    -	
-//
-public interface SWFTextI extends SWFObjectI {
-    
-    public void		setFont (SWFFontI font) throws SWFException;
-    public void		setColor (int r, int g, int b, int alpha);
-    public void		setColor (SWFColor color);
-
-    public void		addString (String text);
-
-    public void		setHeight (float height);
-    public void		setSpacing (float spacing);
-
-    public float	getAscent();
-    public float	getDescent();
-    public float	getLeading();
-
-    public void		moveTo (float x, float y);
-};
-
-
-
-    
diff --git a/java_ext/SWFVideoStream.java b/java_ext/SWFVideoStream.java
deleted file mode 100644
index 1408aab..0000000
--- a/java_ext/SWFVideoStream.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * SWFVideoStream.class
- * 10.3.2004 Klaus Rechert
- */
-
-public class SWFVideoStream extends SWFObject {
-
-    public SWFVideoStream (String file) 
-    throws SWFException
-    {
-	setHandle(nNewFile (file)); 
-    }
-
-    public SWFVideoStream() throws SWFException
-    {
-	    setHandle(nNew());
-    }
-
-    public void setDimension(int width, int height)
-    {
-	    nSetDimension(handle, width, height);
-    }
-
-    public int getNumFrames()
-    {
-	    return nGetNumFrames(handle);
-    }	    
-
-    protected native int nNewFile (String file);
-    protected native int nNew ();
-    protected native void nSetDimension(int handle, int width, int height);
-    protected native int nGetNumFrames(int handle);
-};
-
-
-
-    
diff --git a/java_ext/Tests/Simple.java b/java_ext/Tests/Simple.java
deleted file mode 100644
index 67e8fe4..0000000
--- a/java_ext/Tests/Simple.java
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Description:
-//    Simple Test
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  Simple SWF Test
-//      
-//
-//  Notes
-//    - 
-//
-public class Simple {
-
-    public static void main (String[] argv)
-        throws Exception
-    {
-	SWFShape s = new SWFShape ();
-
-	// do fill (red)
-	SWFFillI f = s.addSolidFill (0xff, 0x00, 0x00, 0xff);
-	s.setRightFill (f);
-
-	// create box
-	s.movePenTo(-500,-500);
-	s.drawLineTo(500,-500);
-	s.drawLineTo(500,500);
-	s.drawLineTo(-500,500);
-	s.drawLineTo(-500,-500);
-  
-	// add box to movie clip
-	SWFMovieClip clip = new SWFMovieClip ();
-	SWFDisplayItemI Bitem = clip.add(s);
-	Bitem.setDepth(1);
-	clip.nextFrame();
-
-	// rotate item 15 degrees over 5 frames
-	for (int n = 0; n < 5; n++) {
-	    Bitem.rotate (-15);
-	    clip.nextFrame();
-	}
-
-	// create movie
-	SWFMovie movie = new SWFMovie();
-	movie.setBackground(0xff, 0xff, 0xff);
-	movie.setDimension(6000,4000);
-
-	// add movie clip to main movie and position
-	SWFDisplayItemI Citem = movie.add (clip);
-	Citem.setDepth(1);
-	Citem.moveTo(-500,2000);
-	Citem.setName("box");
-
-	// actions
-	movie.add(new SWFAction ("box.x += 3;"));
-	movie.nextFrame();
-	movie.add(new SWFAction ("gotoFrame(0); play();"));
-	movie.nextFrame();
-
-	// save to file
-	movie.save ("simple.swf", -1);
-    }
-};
diff --git a/java_ext/Tests/SlideShow.java b/java_ext/Tests/SlideShow.java
deleted file mode 100644
index 6eae0d5..0000000
--- a/java_ext/Tests/SlideShow.java
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Description:
-//    SlideShow Test
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warranty of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-//
-//  SlideShow Test
-//      flip between two slides, first slide alpha transitioned
-//
-//  Notes
-//    - substitute with your own jpgs (and dimensions)
-//
-public class SlideShow {
-
-    private static SWFShape GetImage (String file, int width, int height)
-	throws SWFException
-    {
-	SWFShape image = new SWFShape ();
-
-	// do fill (red)
-	SWFFillI f = image.addBitmapFill (new SWFBitmap (file), SWFFillI.ClippedBitmap);
-	image.setRightFill (f);
-
-	// create box
-	image.movePenTo (0,0);
-	image.drawLineTo (width,0);
-	image.drawLineTo (width,height);
-	image.drawLineTo (0,height);
-	image.drawLineTo (0,0);
-
-	return image;
-    }
-
-
-    public static void main (String[] argv)
-        throws Exception
-    {
-	SWFShape Ia = GetImage ("images/Burberry-h1.jpg", 524, 800);
-	SWFShape Ib = GetImage ("images/Burberry-h2.jpg", 524, 800);
-  
-	// add box to movie clip
-	SWFMovieClip clip = new SWFMovieClip ();
-
-	SWFDisplayItemI Da = clip.add(Ia, 1);
-	Da.setAlpha (0);
-	SWFDisplayItemI Db = clip.add(Ib, 2);
-	Db.setAlpha (0);
-
-	for (int i = 0 ; i < 20; i++) {
-	    Da.setAlpha ((255/20)*i);
-	    clip.nextFrame();
-	}
-
-	Db.setAlpha (255);
-	for (int i = 0 ; i < 20; i++) clip.nextFrame();
-
-	// create movie
-	SWFMovie movie = new SWFMovie();
-	movie.setBackground(0xff, 0xff, 0xff);
-	movie.setDimension(524,800);
-
-	// add movie clip to main movie and position
-	SWFDisplayItemI Citem = movie.add (clip, 1);
-	Citem.moveTo(0,0);
-
-	// save to file
-	movie.save ("images.swf");
-    }
-};
diff --git a/java_ext/native/Makefile b/java_ext/native/Makefile
deleted file mode 100644
index 16ed8a7..0000000
--- a/java_ext/native/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-
-CXXFLAGS += -I../.. -I../../src -I.
-LDFLAGS += -L../.. -lming $(LIBS)
-
-JAVADIR=/usr
-
-all: libjswf$(NOVAR_SHLIBEXT)
-
-SWFNative.o: SWFNative.cc SWFNative.h
-	$(CXX) $(CXXFLAGS) -fpic -c -I$(JAVADIR)/include -I$(JAVADIR)/include/linux  SWFNative.cc -o $@
-
-libjswf$(NOVAR_SHLIBEXT): SWFNative.o
-	$(CXX) $(CXXFLAGS) -fpic -shared SWFNative.o $(LDFLAGS) -o $@
-
-clean:
-	rm SWFNative.o libjswf$(NOVAR_SHLIBEXT)
diff --git a/java_ext/native/SWFAction.h b/java_ext/native/SWFAction.h
deleted file mode 100644
index ecafe8b..0000000
--- a/java_ext/native/SWFAction.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Description:
-//    SWFAction Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-#ifndef _Included_SWFAction
-#define _Included_SWFAction
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFAction
- * Method:    nNew
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFAction_nNew
-  (JNIEnv *, jobject, jstring);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFBitmap.h b/java_ext/native/SWFBitmap.h
deleted file mode 100644
index 938b11a..0000000
--- a/java_ext/native/SWFBitmap.h
+++ /dev/null
@@ -1,88 +0,0 @@
-//
-// Description:
-//    SWFBitmap Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFBitmap
-#define _Included_SWFBitmap
-#ifdef __cplusplus
-extern "C" {
-#endif
-/* Inaccessible static: initialized */
-/*
- * Class:     SWFBitmap
- * Method:    nNewDblBitmap
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDblBitmap
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     SWFBitmap
- * Method:    nNewJpegBitmap
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegBitmap
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     SWFBitmap
- * Method:    nNewJpegWithAlpha
- * Signature: (Ljava/lang/String;Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegWithAlpha
-  (JNIEnv *, jobject, jstring, jstring);
-
-
-/*
- * Class:     swf_api_SWFBitmap
- * Method:    nNewDataBitmap
- * Signature: ([B)I
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDataBitmap
-  (JNIEnv *, jobject, jbyteArray);
-
-
-/*
- * Class:     SWFBitmap
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFBitmap_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFBitmap
- * Method:    nGetWidth
- * Signature: (I)F
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nGetWidth
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFBitmap
- * Method:    nGetHeight
- * Signature: (I)F
- */
-JNIEXPORT jint JNICALL Java_SWFBitmap_nGetHeight
-  (JNIEnv *, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFButton.h b/java_ext/native/SWFButton.h
deleted file mode 100644
index a2d800f..0000000
--- a/java_ext/native/SWFButton.h
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Description:
-//    SWFButton Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFButton
-#define _Included_SWFButton
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFButton
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFButton_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFButton
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFButton_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFButton
- * Method:    nAddShape
- * Signature: (III)V
- */
-JNIEXPORT void JNICALL Java_SWFButton_nAddShape
-  (JNIEnv *, jobject, jint, jint, jint);
-
-/*
- * Class:     SWFButton
- * Method:    nAddAction
- * Signature: (III)V
- */
-JNIEXPORT void JNICALL Java_SWFButton_nAddAction
-  (JNIEnv *, jobject, jint, jint, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFDisplayItem.h b/java_ext/native/SWFDisplayItem.h
deleted file mode 100644
index e9ce24b..0000000
--- a/java_ext/native/SWFDisplayItem.h
+++ /dev/null
@@ -1,173 +0,0 @@
-//
-// Description:
-//    SWFDisplayItem Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFDisplayItem
-#define _Included_SWFDisplayItem
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFDisplayItem
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nRotate
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRotate
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nRotateTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRotateTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nMove
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMove
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nMoveTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMoveTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nScale
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nScale
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nScaleTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nScaleTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSkewX
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewX
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSkewXTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewXTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSkewY
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewY
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSkewYTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewYTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nGetDepth
- * Signature: (I)I
- */
-JNIEXPORT jint JNICALL Java_SWFDisplayItem_nGetDepth
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSetDepth
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetDepth
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nRemove
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRemove
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSetName
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetName
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nSetRatio
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetRatio
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nAddColor
- * Signature: (IIIII)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nAddColor
-  (JNIEnv *, jobject, jint, jint, jint, jint, jint);
-
-/*
- * Class:     SWFDisplayItem
- * Method:    nMultColor
- * Signature: (IFFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMultColor
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFFill.h b/java_ext/native/SWFFill.h
deleted file mode 100644
index b611e9d..0000000
--- a/java_ext/native/SWFFill.h
+++ /dev/null
@@ -1,141 +0,0 @@
-//
-// Description:
-//    SWFFill Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFFill
-#define _Included_SWFFill
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFFill
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFFill
- * Method:    nSkewX
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nSkewX
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nSkewXTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nSkewXTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nSkewY
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nSkewY
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nSkewYTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nSkewYTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nScaleX
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nScaleX
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nScaleXTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nScaleXTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nScaleY
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nScaleY
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nScaleYTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nScaleYTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nScale
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nScale
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nRotate
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nRotate
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nRotateTo
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nRotateTo
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nMove
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nMove
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFFill
- * Method:    nMoveTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFFill_nMoveTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFFont.h b/java_ext/native/SWFFont.h
deleted file mode 100644
index 81ba119..0000000
--- a/java_ext/native/SWFFont.h
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Description:
-//    SWFFont Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFFont
-#define _Included_SWFFont
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFFont
- * Method:    nNewFileFont
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFFont_nNewFileFont
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     SWFFont
- * Method:    nNewBrowserFont
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFFont_nNewBrowserFont
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     SWFFont
- * Method:    nDestroyFileFont
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFFont_nDestroyFileFont
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFFont
- * Method:    nDestroyBrowserFont
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFFont_nDestroyBrowserFont
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFFont
- * Method:    nGetStringWidth
- * Signature: (ILjava/lang/String;)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetStringWidth
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFFont
- * Method:    nGetAscent
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetAscent
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFFont
- * Method:    nGetDescent
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetDescent
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFFont
- * Method:    nGetLeading
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetLeading
-  (JNIEnv *, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFGradient.h b/java_ext/native/SWFGradient.h
deleted file mode 100644
index ca979e1..0000000
--- a/java_ext/native/SWFGradient.h
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Description:
-//    SWFGradient Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFGradient
-#define _Included_SWFGradient
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFGradient
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFGradient_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFGradient
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFGradient_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFGradient
- * Method:    nAddEntry
- * Signature: (IFIIII)V
- */
-JNIEXPORT void JNICALL Java_SWFGradient_nAddEntry
-  (JNIEnv *, jobject, jint, jfloat, jint, jint, jint, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFMorph.h b/java_ext/native/SWFMorph.h
deleted file mode 100644
index 5692053..0000000
--- a/java_ext/native/SWFMorph.h
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Description:
-//    SWFMorph Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFMorph
-#define _Included_SWFMorph
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFMorph
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFMorph_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFMorph
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMorph_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMorph
- * Method:    nGetShape1
- * Signature: (I)I
- */
-JNIEXPORT jint JNICALL Java_SWFMorph_nGetShape1
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMorph
- * Method:    nGetShape2
- * Signature: (I)I
- */
-JNIEXPORT jint JNICALL Java_SWFMorph_nGetShape2
-  (JNIEnv *, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFMovie.h b/java_ext/native/SWFMovie.h
deleted file mode 100644
index c0cfdc6..0000000
--- a/java_ext/native/SWFMovie.h
+++ /dev/null
@@ -1,165 +0,0 @@
-//
-// Description:
-//    SWFMovie Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFMovie
-#define _Included_SWFMovie
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFMovie
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFMovie_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFMovie
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetScale
- * Signature: (F)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetScale
-  (JNIEnv *, jobject, jfloat);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetCubicThreshold
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetCubicThreshold
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nUseSWFVersion
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nUseSWFVersion
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetRate
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetRate
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetDimension
- * Signature: (III)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetDimension
-  (JNIEnv *, jobject, jint, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetFrames
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetFrames
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetBackground
- * Signature: (IIII)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetBackground
-  (JNIEnv *, jobject, jint, jint, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetSoundStream
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSetSoundStream
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nAdd
- * Signature: (II)I
- */
-JNIEXPORT jint JNICALL Java_SWFMovie_nAdd
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nRemove
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nRemove
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nNextFrame
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nNextFrame
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovie
- * Method:    nLabelFrame
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nLabelFrame
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFMovie
- * Method:    nSetCompression
- */
-
-JNIEXPORT jint JNICALL Java_SWFMovie_nSetCompression
-  (JNIEnv *, jobject, jint handle, jint level);
-
-/*
- * Class:     SWFMovie
- * Method:    nSave
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFMovie_nSave
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFMovie
- * Method:    nOutput
- * Signature: (I)[B
- */
-JNIEXPORT jbyteArray JNICALL Java_SWFMovie_nOutput
-  (JNIEnv *, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFMovieClip.h b/java_ext/native/SWFMovieClip.h
deleted file mode 100644
index e0163bd..0000000
--- a/java_ext/native/SWFMovieClip.h
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Description:
-//    SWFMovieClip Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFMovieClip
-#define _Included_SWFMovieClip
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFMovieClip
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFMovieClip_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovieClip_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nSetFrames
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFMovieClip_nSetFrames
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nAdd
- * Signature: (II)I
- */
-JNIEXPORT jint JNICALL Java_SWFMovieClip_nAdd
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nRemove
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFMovieClip_nRemove
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nNextFrame
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFMovieClip_nNextFrame
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFMovieClip
- * Method:    nLabelFrame
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFMovieClip_nLabelFrame
-  (JNIEnv *, jobject, jint, jstring);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFNative.cc b/java_ext/native/SWFNative.cc
deleted file mode 100644
index cd6ad66..0000000
--- a/java_ext/native/SWFNative.cc
+++ /dev/null
@@ -1,1042 +0,0 @@
-//
-// Description:
-//    SWFNative Implementation
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-
-#include <SWFNative.h>
-#include <SWFUtilities.h>
-#include <SWFFill.h>
-#include <SWFShape.h>
-#include <SWFDisplayItem.h>
-#include <SWFMovie.h>
-#include <SWFMovieClip.h>
-#include <SWFMorph.h>
-#include <SWFFont.h>
-#include <SWFBitmap.h>
-#include <SWFText.h>
-#include <SWFTextField.h>
-#include <SWFSound.h>
-#include <SWFSoundStream.h>
-#include <SWFGradient.h>
-#include <SWFButton.h>
-#include <SWFAction.h>
-
-
-
-
-//
-//  SWFFill Methods
-//
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFFill ((SWFFill)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nSkewX (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_skewX ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nSkewXTo (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_skewXTo ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nSkewY (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_skewY ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nSkewYTo (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_skewYTo ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nScaleX (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_scaleX ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nScaleXTo (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_scaleXTo ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nScaleY (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_scaleY ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nScaleYTo (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_scaleYTo ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nScale (JNIEnv *, jobject, jint handle, jfloat xv, jfloat yv)
-{
-    SWFFill_scaleXY ((SWFFill)handle, xv, yv);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nRotate (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_rotate ((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nRotateTo (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFFill_rotateTo((SWFFill)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nMove (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFFill_move ((SWFFill)handle, x,y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFill_nMoveTo (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFFill_moveTo ((SWFFill)handle, x,y);
-}
-
-
-
-
-//
-//  SWFShape Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFShape_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFShape();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFShape ((SWFShape)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nMovePen (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFShape_movePen ((SWFShape)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nMovePenTo (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFShape_movePenTo ((SWFShape)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLine (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFShape_drawLine ((SWFShape)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLineTo (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFShape_drawLineTo ((SWFShape)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLineToRelative (JNIEnv *, jobject, jint handle, jfloat dx, jfloat dy)
-{
-    // might be wrong (no equiv call)
-    SWFShape_drawLineTo ((SWFShape)handle, dx, dy);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCurve (JNIEnv *, jobject, jint handle, jfloat bx, jfloat by, jfloat cx, jfloat cy)
-{
-    SWFShape_drawCurve ((SWFShape)handle, bx, by, cx, cy);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCurveTo (JNIEnv *, jobject, jint handle, jfloat bx, jfloat by, jfloat cx, jfloat cy)
-{
-    SWFShape_drawCurveTo ((SWFShape)handle, bx, by, cx, cy);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCubic (JNIEnv *, jobject, jint handle, jfloat bx, jfloat by, jfloat cx, jfloat cy, jfloat dx, jfloat dy)
-{
-    SWFShape_drawCubic ((SWFShape)handle, bx, by, cx, cy, dx, dy);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCubicTo (JNIEnv *, jobject, jint handle, jfloat bx, jfloat by, jfloat cx, jfloat cy, jfloat dx, jfloat dy)
-{
-    SWFShape_drawCubicTo ((SWFShape)handle, bx, by, cx, cy, dx, dy);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawArc (JNIEnv *, jobject, jint handle, jfloat r, jfloat from, jfloat to)
-{
-    SWFShape_drawArc ((SWFShape)handle, r, from, to);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCircle (JNIEnv *, jobject, jint handle, jfloat r)
-{
-    SWFShape_drawCircle ((SWFShape)handle, r);
-}
-
-JNIEXPORT jfloat JNICALL Java_SWFShape_nGetPenX (JNIEnv *, jobject, jint handle)
-{
-	return SWFShape_getPenX( (SWFShape)handle );
-}
-
-JNIEXPORT jfloat JNICALL Java_SWFShape_nGetPenY (JNIEnv *, jobject, jint handle)
-{
-	return SWFShape_getPenY( (SWFShape)handle );
-}
-
-JNIEXPORT void JNICALL Java_SWFShape_nDrawGlyph (JNIEnv *, jobject, jint handle, jint Hfont, jint c)
-{
-    SWFShape_drawGlyph ((SWFShape)handle, (SWFFont)Hfont, c);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nEnd (JNIEnv *, jobject, jint handle)
-{
-    SWFShape_end ((SWFShape)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nSetLine (JNIEnv *, jobject, jint handle, jshort width, jint r, jint g, jint b, jint alpha)
-{
-    SWFShape_setLine ((SWFShape)handle, width, r, g, b, alpha);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFShape_nAddBitmapFill (JNIEnv *, jobject, jint handle, jint Hbitmap, jshort flags)
-{
-    return (jint)SWFShape_addBitmapFill ((SWFShape)handle, (SWFBitmap)Hbitmap, flags);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFShape_nAddGradientFill (JNIEnv *, jobject, jint handle, jint Hgradient, jshort flags)
-{
-    return (jint)SWFShape_addGradientFill ((SWFShape)handle, (SWFGradient)Hgradient, flags);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFShape_nAddSolidFill (JNIEnv *, jobject, jint handle, jint r, jint g, jint b, jint alpha)
-{
-    return (jint)SWFShape_addSolidFill ((SWFShape)handle, r,g,b, alpha);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nSetLeftFill (JNIEnv *, jobject, jint handle, jint Hfill)
-{
-    SWFShape_setLeftFill ((SWFShape)handle, (SWFFill)Hfill);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFShape_nSetRightFill (JNIEnv *, jobject, jint handle, jint Hfill)
-{
-    SWFShape_setRightFill ((SWFShape)handle, (SWFFill)Hfill);
-}
-
-
-
-//
-//  SWFDisplayItem Methods
-//
-
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    // do nothing
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRotate (JNIEnv *, jobject, jint handle, jfloat r)
-{
-    SWFDisplayItem_rotate ((SWFDisplayItem)handle, r);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRotateTo (JNIEnv *, jobject, jint handle, jfloat r)
-{
-    SWFDisplayItem_rotateTo ((SWFDisplayItem)handle, r);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMove (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFDisplayItem_move ((SWFDisplayItem)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMoveTo (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFDisplayItem_moveTo ((SWFDisplayItem)handle, x, y);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nScale (JNIEnv *, jobject, jint handle, jfloat xs, jfloat ys)
-{
-    SWFDisplayItem_scale ((SWFDisplayItem)handle, xs, ys);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nScaleTo (JNIEnv *, jobject, jint handle, jfloat xs, jfloat ys)
-{
-    SWFDisplayItem_scaleTo ((SWFDisplayItem)handle, xs, ys);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewX (JNIEnv *, jobject, jint handle, jfloat s)
-{
-    SWFDisplayItem_skewX ((SWFDisplayItem)handle, s);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewXTo (JNIEnv *, jobject, jint handle, jfloat s)
-{
-    SWFDisplayItem_skewXTo ((SWFDisplayItem)handle, s);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewY (JNIEnv *, jobject, jint handle, jfloat s)
-{
-    SWFDisplayItem_skewY ((SWFDisplayItem)handle, s);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSkewYTo (JNIEnv *, jobject, jint handle, jfloat s)
-{
-    SWFDisplayItem_skewYTo ((SWFDisplayItem)handle, s);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFDisplayItem_nGetDepth (JNIEnv *, jobject, jint handle)
-{
-    return (jint)SWFDisplayItem_getDepth ((SWFDisplayItem)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetDepth (JNIEnv *, jobject, jint handle, jint depth)
-{
-    SWFDisplayItem_setDepth ((SWFDisplayItem)handle, depth);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nRemove (JNIEnv *, jobject, jint handle)
-{
-    SWFDisplayItem_remove ((SWFDisplayItem)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetName (JNIEnv* env, jobject, jint handle, jstring name)
-{
-    const char* sname = env->GetStringUTFChars(name, NULL);
-    SWFDisplayItem_setName ((SWFDisplayItem)handle, sname);
-    env->ReleaseStringUTFChars (name, sname);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nSetRatio (JNIEnv *, jobject, jint handle, jfloat r)
-{
-    SWFDisplayItem_setRatio ((SWFDisplayItem)handle, r);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nAddColor (JNIEnv *, jobject, jint handle, jint r, jint g, jint b, jint alpha)
-{
-    SWFDisplayItem_addColor ((SWFDisplayItem)handle, r,g,b, alpha);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFDisplayItem_nMultColor (JNIEnv *, jobject, jint handle, jfloat r, jfloat g, jfloat b, jfloat alpha)
-{
-    SWFDisplayItem_multColor ((SWFDisplayItem)handle, r,g,b, alpha);
-}
-
-
-
-//
-//  SWFMovie Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFMovie_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFMovie();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFMovie ((SWFMovie)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetScale (JNIEnv *, jobject, jfloat scale)
-{
-    Ming_setScale (scale);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetCubicThreshold (JNIEnv *, jobject, jint v)
-{
-    Ming_setCubicThreshold (v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetRate (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFMovie_setRate ((SWFMovie)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetDimension (JNIEnv *, jobject, jint handle, jint width, jint height)
-{
-    SWFMovie_setDimension ((SWFMovie)handle, width, height);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetNumberOfFrames (JNIEnv *, jobject, jint handle, jint n)
-{
-    SWFMovie_setNumberOfFrames ((SWFMovie)handle, n);
-}
-
-JNIEXPORT void JNICALL Java_SWFMovie_nUseSWFVersion (JNIEnv *, jobject, jint version)
-{
-	Ming_useSWFVersion(version);
-}
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetBackground (JNIEnv *, jobject, jint handle, jint r, jint g, jint b)
-{
-    SWFMovie_setBackground ((SWFMovie)handle, r,g,b);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSetSoundStream (JNIEnv *, jobject, jint handle, jint Hsound_stream)
-{
-    SWFMovie_setSoundStream ((SWFMovie)handle, (SWFSoundStream)Hsound_stream);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFMovie_nAdd (JNIEnv *, jobject, jint handle, jint Hobject)
-{
-    return (jint)SWFMovie_add ((SWFMovie)handle, (SWFBlock)Hobject);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nRemove (JNIEnv *, jobject, jint handle, jint Hobject)
-{
-    SWFMovie_remove ((SWFMovie)handle, (SWFDisplayItem)Hobject);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nNextFrame (JNIEnv *, jobject, jint handle)
-{
-    SWFMovie_nextFrame ((SWFMovie)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nLabelFrame (JNIEnv* env, jobject, jint handle, jstring label)
-{
-    const char* slabel = env->GetStringUTFChars (label, NULL);
-    SWFMovie_labelFrame ((SWFMovie)handle, (char*)slabel);
-    env->ReleaseStringUTFChars (label, slabel);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFMovie_nSetCompression(JNIEnv *, jobject, jint handle, jint level)
-{
-	return Ming_setSWFCompression(level);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovie_nSave (JNIEnv* env, jobject, jint handle, jstring filename)
-{
-    // should add error checking
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    SWFMovie_save ((SWFMovie)handle, (char*)sfilename);
-    env->ReleaseStringUTFChars (filename, sfilename);
-}
-
-
-JNIEXPORT jbyteArray JNICALL Java_SWFMovie_nOutput (JNIEnv* env, jobject, jint handle)
-{
-    // get output into stream
-    StringStream mystream;
-    SWFMovie_output ((SWFMovie)handle, StringStream::hook, (void*)&mystream);
-
-    jbyteArray narray = env->NewByteArray (mystream.length());
-    env->SetByteArrayRegion (narray, 0, mystream.length(), (jbyte*)mystream.getBytes());
-    return narray;
-}
-
-
-
-//
-//  SWFMovieClip Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFMovieClip_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFMovieClip();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovieClip_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFMovieClip ((SWFMovieClip)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovieClip_nSetFrames (JNIEnv *, jobject, jint handle, jint v)
-{
-    SWFMovieClip_setNumberOfFrames ((SWFMovieClip)handle, v);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFMovieClip_nAdd (JNIEnv *, jobject, jint handle, jint Hobject)
-{
-    return (jint)SWFMovieClip_add ((SWFMovieClip)handle, (SWFBlock)Hobject);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovieClip_nRemove (JNIEnv *, jobject, jint handle, jint Hobject)
-{
-    SWFMovieClip_remove ((SWFMovieClip)handle, (SWFDisplayItem)Hobject);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovieClip_nNextFrame (JNIEnv *, jobject, jint handle)
-{
-    SWFMovieClip_nextFrame ((SWFMovieClip)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMovieClip_nLabelFrame (JNIEnv* env, jobject, jint handle, jstring name)
-{
-    const char* sname = env->GetStringUTFChars (name, NULL);
-    SWFMovieClip_labelFrame ((SWFMovieClip)handle, (char*)sname);
-    env->ReleaseStringUTFChars (name, sname);
-}
-
-
-
-//
-//  SWFMorph Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFMorph_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFMorphShape();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFMorph_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFMorph ((SWFMorph)handle);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFMorph_nGetShape1 (JNIEnv *, jobject, jint handle)
-{
-    return (jint)SWFMorph_getShape1 ((SWFMorph)handle);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFMorph_nGetShape2 (JNIEnv *, jobject, jint handle)
-{
-    return (jint)SWFMorph_getShape2 ((SWFMorph)handle);
-}
-
-
-
-
-//
-//  SWFFont Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFFont_nNewFileFont (JNIEnv* env, jobject, jstring font)
-{
-    const char* sfont = env->GetStringUTFChars (font, NULL);
-    FILE* file = fopen (sfont, "rb");
-
-    jint obj = (jint)loadSWFFontFromFile (file);
-
-    env->ReleaseStringUTFChars (font, sfont);
-
-    return obj;
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFFont_nNewBrowserFont (JNIEnv* env, jobject, jstring font)
-{
-    const char* sfont = env->GetStringUTFChars (font, NULL);
-    jint obj = (jint)newSWFBrowserFont ((char*)sfont);
-    env->ReleaseStringUTFChars (font, sfont);
-
-    return obj;
-}
-
-
-
-JNIEXPORT void JNICALL Java_SWFFont_nDestroyFileFont (JNIEnv *, jobject, jint handle)
-{
-    destroySWFFont ((SWFFont)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFFont_nDestroyBrowserFont (JNIEnv *, jobject, jint handle)
-{
-    destroySWFBrowserFont ((SWFBrowserFont)handle);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetStringWidth (JNIEnv* env, jobject, jint handle, jstring str)
-{
-    const char* sstr = env->GetStringUTFChars (str, NULL);
-    jfloat w = SWFFont_getStringWidth ((SWFFont)handle, (const unsigned char*) sstr);
-    env->ReleaseStringUTFChars (str, sstr);
-
-    return w;
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetAscent (JNIEnv *, jobject, jint handle)
-{
-    return SWFFont_getAscent ((SWFFont)handle);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetDescent (JNIEnv *, jobject, jint handle)
-{
-    return SWFFont_getDescent ((SWFFont)handle);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFFont_nGetLeading (JNIEnv *, jobject, jint handle)
-{
-    return SWFFont_getLeading ((SWFFont)handle);
-}
-
-
-
-
-//
-//  SWFBitmap Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDblBitmap (JNIEnv* env, jobject, jstring filename)
-{
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    FILE* file = fopen (sfilename, "rb");
-
-    jint obj = (jint)newSWFDBLBitmap (file);
-
-    env->ReleaseStringUTFChars (filename, sfilename);
-
-    return obj;
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegBitmap (JNIEnv* env, jobject, jstring filename)
-{
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    FILE* file = fopen (sfilename, "rb");
-
-    jint obj = (jint)newSWFJpegBitmap (file);
-
-    env->ReleaseStringUTFChars (filename, sfilename);
-
-    return obj;
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewDataBitmap (JNIEnv* env, jobject, jbyteArray array)
-{
-    jboolean copy = true;
-    int len = 
-	env->GetArrayLength(array);
-    jbyte* data = 
-	env->GetByteArrayElements(array, &copy);
-
-    // create input for image
-    SWFInput input = 
-	newSWFInput_allocedBuffer ((unsigned char*)data, len);
-    
-    // create image
-    jint obj = (jint)newSWFJpegBitmap_fromInput (input);
-    return obj;
-}
-
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nNewJpegWithAlpha (JNIEnv* env, jobject, jstring bitmap, jstring alpha)
-{
-    const char* sbitmap = env->GetStringUTFChars (bitmap, NULL);
-    const char* salpha = env->GetStringUTFChars (alpha, NULL);
-    FILE* Bfile = fopen (sbitmap, "rb");
-    FILE* Afile = fopen (salpha, "rb");
-
-    jint obj = (jint)newSWFJpegWithAlpha (Bfile, Afile);
-
-    env->ReleaseStringUTFChars (bitmap, sbitmap);
-    env->ReleaseStringUTFChars (alpha, salpha);
-
-    return obj;
-}
-
-
-JNIEXPORT void JNICALL Java_SWFBitmap_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFBitmap ((SWFBitmap)handle);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nGetWidth (JNIEnv *, jobject, jint handle)
-{
-    return SWFBitmap_getWidth ((SWFBitmap)handle);
-}
-
-
-JNIEXPORT jint JNICALL Java_SWFBitmap_nGetHeight (JNIEnv *, jobject, jint handle)
-{
-    return SWFBitmap_getHeight ((SWFBitmap)handle);
-}
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetHeight (JNIEnv *, jobject, jint handle, jfloat height)
-{
-	 SWFTextField_setHeight ((SWFTextField)handle, height);
-}
-
-//
-//  SWFText Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFText_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFText2();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFText ((SWFText)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nSetFont (JNIEnv *, jobject, jint handle, jint Hfont)
-{
-    SWFText_setFont ((SWFText)handle, (SWFFont)Hfont);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nSetColor (JNIEnv *, jobject, jint handle, jint r, jint g, jint b, jint alpha)
-{
-    SWFText_setColor ((SWFText)handle, r,g,b, alpha);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nAddString (JNIEnv* env, jobject, jint handle, jstring text)
-{
-    const char* stext = env->GetStringUTFChars (text, NULL);
-    SWFText_addString ((SWFText)handle, stext, NULL);
-    env->ReleaseStringUTFChars (text, stext);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nSetHeight (JNIEnv *, jobject, jint handle, jfloat height)
-{
-    SWFText_setHeight ((SWFText)handle, height);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nSetSpacing (JNIEnv *, jobject, jint handle, jfloat spacing)
-{
-    SWFText_setSpacing ((SWFText)handle, spacing);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetAscent (JNIEnv *, jobject, jint handle)
-{
-    return SWFText_getAscent ((SWFText)handle);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetDescent (JNIEnv *, jobject, jint handle)
-{
-    return SWFText_getDescent ((SWFText)handle);
-}
-
-
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetLeading (JNIEnv *, jobject, jint handle)
-{
-    return SWFText_getLeading ((SWFText)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFText_nMoveTo (JNIEnv *, jobject, jint handle, jfloat x, jfloat y)
-{
-    SWFText_moveTo ((SWFText)handle, x, y);
-}
-
-
-
-//
-//  SWFTextField Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFTextField_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFTextField();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFTextField ((SWFTextField)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetFont (JNIEnv *, jobject, jint handle, jint Hfont)
-{
-    SWFTextField_setFont ((SWFTextField)handle, (SWFBlock)Hfont);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetColor (JNIEnv *, jobject, jint handle, jint r, jint g, jint b, jint alpha)
-{
-    SWFTextField_setColor ((SWFTextField)handle, r,g,b, alpha);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nAddString (JNIEnv* env, jobject, jint handle, jstring text)
-{
-    const char* stext = env->GetStringUTFChars (text, NULL);
-    SWFTextField_addString ((SWFTextField)handle, (char*)stext);
-    env->ReleaseStringUTFChars (text, stext);
-}
-
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetBounds (JNIEnv *, jobject, jint handle, jfloat width, jfloat height)
-{
-    SWFTextField_setBounds ((SWFTextField)handle, width, height);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetFlags (JNIEnv *, jobject, jint handle, jlong flags)
-{
-    SWFTextField_setFlags ((SWFTextField)handle, flags);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetAlignment (JNIEnv *, jobject, jint handle, jint align)
-{
-    SWFTextField_setAlignment ((SWFTextField)handle, (SWFTextFieldAlignment)align);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetVariableName (JNIEnv* env, jobject, jint handle, jstring name)
-{
-    const char* sname = env->GetStringUTFChars (name, NULL);
-    SWFTextField_setVariableName ((SWFTextField)handle, (char*)sname);
-    env->ReleaseStringUTFChars (name, sname);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLeftMargin (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFTextField_setLeftMargin ((SWFTextField)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetRightMargin (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFTextField_setRightMargin ((SWFTextField)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetIndentation (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFTextField_setIndentation ((SWFTextField)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLineSpacing (JNIEnv *, jobject, jint handle, jfloat v)
-{
-    SWFTextField_setLineSpacing ((SWFTextField)handle, v);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLength (JNIEnv *, jobject, jint handle, jint len)
-{
-    SWFTextField_setLength ((SWFTextField)handle, len);
-}
-
-
-
-
-//
-//  SWFSound Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFSound_nNew (JNIEnv* env, jobject, jstring filename, jbyte flags)
-{
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    FILE* file = fopen (sfilename, "rb");
-
-    jint obj = (jint)newSWFSound (file, flags);
-
-    env->ReleaseStringUTFChars (filename, sfilename);
-
-    return obj;
-}
-
-//
-// SWFSoundStream
-//
-JNIEXPORT jint JNICALL Java_SWFSoundStream_nNew (JNIEnv* env, jobject, jstring filename)
-	
-{
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    FILE* file = fopen (sfilename, "rb");
-    jint obj = (jint)newSWFSoundStream (file);
-    env->ReleaseStringUTFChars (filename, sfilename);                                                                                                                                                                                          
-    return obj;
-}
-
-
-//                                                                                                                                                  
-// SWFSoundStream                                                                                                                                            //
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nNewFile (JNIEnv* env, jobject, jstring filename)                                                                                                                                                                                       
-{                                                                                                                                                                                             
-    const char* sfilename = env->GetStringUTFChars (filename, NULL);
-    FILE* file = fopen (sfilename, "rb"); 
-    jint obj = (jint)newSWFVideoStream_fromFile (file);
-    env->ReleaseStringUTFChars (filename, sfilename);                                                                                                                                                                                          
-    return obj;
-}
-
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nNew (JNIEnv * , jobject, jstring filename)
-	
-{ 
-	jint obj = (jint)newSWFVideoStream ();
-	return obj;
-}
-
-
-JNIEXPORT void JNICALL Java_SWFVideoStream_nSetDimension(JNIEnv *, jobject, jint handle, jint width, jint height)
-{
-	SWFVideoStream_setDimension((SWFVideoStream)handle, width, height);
-}
-
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nGetNumFrames(JNIEnv *, jobject, jint handle) 
-{
-	return SWFVideoStream_getNumFrames((SWFVideoStream)handle);
-}
-//
-//  SWFGradient Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFGradient_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFGradient();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFGradient_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFGradient ((SWFGradient)handle);
-}
-
-
-
-JNIEXPORT void JNICALL Java_SWFGradient_nAddEntry (JNIEnv *, jobject, jint handle, jfloat ratio, jint r, jint g, jint b, jint alpha)
-{
-    SWFGradient_addEntry ((SWFGradient)handle, ratio, r,g,b, alpha);
-}
-
-
-//
-//  SWFButton Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFButton_nNew (JNIEnv *, jobject)
-{
-    return (jint)newSWFButton();
-}
-
-
-JNIEXPORT void JNICALL Java_SWFButton_nDestroy (JNIEnv *, jobject, jint handle)
-{
-    destroySWFButton ((SWFButton)handle);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFButton_nAddShape (JNIEnv *, jobject, jint handle, jint Hshape, jint flags)
-{
-    SWFButton_addShape ((SWFButton)handle, (SWFCharacter)Hshape, flags);
-}
-
-
-JNIEXPORT void JNICALL Java_SWFButton_nAddAction (JNIEnv *, jobject, jint handle, jint Haction, jint flags)
-{
-    SWFButton_addAction ((SWFButton)handle, (SWFAction)Haction, flags);
-}
-
-
-
-
-//
-//  SWFAction Methods
-//
-
-
-JNIEXPORT jint JNICALL Java_SWFAction_nNew (JNIEnv* env, jobject, jstring script)
-{
-    const char* sscript = env->GetStringUTFChars (script, NULL);
-    jint obj = (jint)compileSWFActionCode ((char*)sscript);
-    env->ReleaseStringUTFChars (script, sscript);
-
-    return obj;
-}
diff --git a/java_ext/native/SWFNative.h b/java_ext/native/SWFNative.h
deleted file mode 100644
index 18e4437..0000000
--- a/java_ext/native/SWFNative.h
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// Description:
-//    SWFNative Implementation
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-extern "C" {
-#include <ming.h>
-};
-
-
diff --git a/java_ext/native/SWFShape.h b/java_ext/native/SWFShape.h
deleted file mode 100644
index 39f331c..0000000
--- a/java_ext/native/SWFShape.h
+++ /dev/null
@@ -1,203 +0,0 @@
-//
-// Description:
-//    SWFShape Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFShape
-#define _Included_SWFShape
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFShape
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFShape_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFShape
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nMovePen
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nMovePen
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nMovePenTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nMovePenTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawLine
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLine
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawLineTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLineTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawLineToRelative
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawLineToRelative
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawCurve
- * Signature: (IFFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCurve
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawCurveTo
- * Signature: (IFFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCurveTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawCubic
- * Signature: (IFFFFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCubic
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawCubicTo
- * Signature: (IFFFFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCubicTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawArc
- * Signature: (IFFF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawArc
-  (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawCircle
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawCircle
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFShape
- * Method:    nDrawGlyph
- * Signature: (III)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nDrawGlyph
-  (JNIEnv *, jobject, jint, jint, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nEnd
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nEnd
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nSetLine
- * Signature: (ISIIII)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nSetLine
-  (JNIEnv *, jobject, jint, jshort, jint, jint, jint, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nAddBitmapFill
- * Signature: (IIS)I
- */
-JNIEXPORT jint JNICALL Java_SWFShape_nAddBitmapFill
-  (JNIEnv *, jobject, jint, jint, jshort);
-
-/*
- * Class:     SWFShape
- * Method:    nAddGradientFill
- * Signature: (IIS)I
- */
-JNIEXPORT jint JNICALL Java_SWFShape_nAddGradientFill
-  (JNIEnv *, jobject, jint, jint, jshort);
-
-/*
- * Class:     SWFShape
- * Method:    nAddSolidFill
- * Signature: (IIIII)I
- */
-JNIEXPORT jint JNICALL Java_SWFShape_nAddSolidFill
-  (JNIEnv *, jobject, jint, jint, jint, jint, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nSetLeftFill
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nSetLeftFill
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFShape
- * Method:    nSetRightFill
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFShape_nSetRightFill
-  (JNIEnv *, jobject, jint, jint);
-
-JNIEXPORT jfloat JNICALL Java_SWFShape_nGetPenX
-  (JNIEnv *, jobject, jint);
-
-JNIEXPORT jfloat JNICALL Java_SWFShape_nGetPenY
-  (JNIEnv *, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFSound.h b/java_ext/native/SWFSound.h
deleted file mode 100644
index 06747a9..0000000
--- a/java_ext/native/SWFSound.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Description:
-//    SWFSound Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFSound
-#define _Included_SWFSound
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFSound
- * Method:    nNew
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFSound_nNew
-  (JNIEnv *, jobject, jstring, jbyte);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFSoundStream.h b/java_ext/native/SWFSoundStream.h
deleted file mode 100644
index 62740cf..0000000
--- a/java_ext/native/SWFSoundStream.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <jni.h>
-
-
-#ifndef _Included_SWFSoundStream
-#define _Included_SWFSoundStream
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFSoundStream
- * Method:    nNew
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_SWFSoundStream_nNew
-  (JNIEnv *, jobject, jstring);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFText.h b/java_ext/native/SWFText.h
deleted file mode 100644
index 088c388..0000000
--- a/java_ext/native/SWFText.h
+++ /dev/null
@@ -1,117 +0,0 @@
-//
-// Description:
-//    SWFText Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFText
-#define _Included_SWFText
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFText
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFText_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFText
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFText
- * Method:    nSetFont
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nSetFont
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFText
- * Method:    nSetColor
- * Signature: (IIIII)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nSetColor
-  (JNIEnv *, jobject, jint, jint, jint, jint, jint);
-
-/*
- * Class:     SWFText
- * Method:    nAddString
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nAddString
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFText
- * Method:    nSetHeight
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nSetHeight
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFText
- * Method:    nSetSpacing
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nSetSpacing
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFText
- * Method:    nGetAscent
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetAscent
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFText
- * Method:    nGetDescent
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetDescent
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFText
- * Method:    nGetLeading
- * Signature: (I)F
- */
-JNIEXPORT jfloat JNICALL Java_SWFText_nGetLeading
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFText
- * Method:    nMoveTo
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFText_nMoveTo
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFTextField.h b/java_ext/native/SWFTextField.h
deleted file mode 100644
index 8491cc8..0000000
--- a/java_ext/native/SWFTextField.h
+++ /dev/null
@@ -1,143 +0,0 @@
-//
-// Description:
-//    SWFTextField Native Interface
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <jni.h>
-
-
-#ifndef _Included_SWFTextField
-#define _Included_SWFTextField
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     SWFTextField
- * Method:    nNew
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_SWFTextField_nNew
-  (JNIEnv *, jobject);
-
-/*
- * Class:     SWFTextField
- * Method:    nDestroy
- * Signature: (I)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nDestroy
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetFont
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetFont
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetColor
- * Signature: (IIIII)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetColor
-  (JNIEnv *, jobject, jint, jint, jint, jint, jint);
-
-/*
- * Class:     SWFTextField
- * Method:    nAddString
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nAddString
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetBounds
- * Signature: (IFF)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetBounds
-  (JNIEnv *, jobject, jint, jfloat, jfloat);
-JNIEXPORT void JNICALL Java_SWFTextField_nSetHeight
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetFlags
- * Signature: (IJ)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetFlags
-  (JNIEnv *, jobject, jint, jlong);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetAlignment
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetAlignment
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetVariableName
- * Signature: (ILjava/lang/String;)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetVariableName
-  (JNIEnv *, jobject, jint, jstring);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetLeftMargin
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLeftMargin
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetRightMargin
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetRightMargin
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetIndentation
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetIndentation
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetLineSpacing
- * Signature: (IF)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLineSpacing
-  (JNIEnv *, jobject, jint, jfloat);
-
-/*
- * Class:     SWFTextField
- * Method:    nSetLength
- * Signature: (II)V
- */
-JNIEXPORT void JNICALL Java_SWFTextField_nSetLength
-  (JNIEnv *, jobject, jint, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/java_ext/native/SWFUtilities.h b/java_ext/native/SWFUtilities.h
deleted file mode 100644
index 9369aea..0000000
--- a/java_ext/native/SWFUtilities.h
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Description:
-//    SWFUtilities Implementation
-//
-// Authors:
-//    Jonathan Shore <jshore at e-shuppan.com>
-//    Based on php wrapper developed by <dave at opaque.net>
-//
-// Copyright:
-//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
-//    modify this code provided that the original copyright notice is included.
-//
-//    This software is distributed with no warrantee of liability, merchantability,
-//    or fitness for a specific purpose.
-//
-
-
-#include <stdlib.h>
- 
-
-
-//
-//  StringStream Class
-//	implement a MING output stream suitable for java
-//
-//  Notes
-//    -	
-//
-class StringStream {
-    public:
-
-	StringStream ()
-	{
-		buffer = NULL;
-		len = 0;
-		blen = 0;
-		
-	}
-
-	~StringStream ()
-	{
-	    if (buffer) free (buffer);
-	}
-
-	
-	void add (byte b)
-	{
-	    if (blen > len)
-		buffer [len++] = b;
-	    else if (blen == 0) {
-		buffer = (byte*)malloc (8192);
-		blen = 8192;
-		buffer [len++] = b;
-	    } else {
-		buffer = (byte*)realloc ((void*)buffer, 2*blen);
-		blen = 2*blen;
-		buffer [len++] = b;
-	    }
-	}
-
-
-	int length ()
-	{
-	    return len;
-	}
-
-
-	byte* getBytes ()
-	{
-	    return buffer;
-	}
-		
-	
-	static void hook (byte b, void* data)
-	{
-	    ((StringStream*)data)->add (b);
-	}
-
-
-
-    private:
-
-	int	len;
-	int	blen;
-	byte*	buffer;
-};
-
-
-		
diff --git a/java_ext/native/SWFVideoStream.h b/java_ext/native/SWFVideoStream.h
deleted file mode 100644
index db0e1a9..0000000
--- a/java_ext/native/SWFVideoStream.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <jni.h>
-
-
-#ifndef _Included_SWFVideoStream
-#define _Included_SWFVideoStream
-#ifdef __cplusplus
-extern "C" {
-#endif
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nNew
-	(JNIEnv *, jobject);
-
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nNewFile
-	(JNIEnv *env, jobject, jstring);
-
-JNIEXPORT void JNICALL Java_SWFVideoStream_nSetDimension
-	(JNIEnv *, jobject, jint, jint, jint);
-
-JNIEXPORT jint JNICALL Java_SWFVideoStream_nGetNumFrames
-	(JNIEnv *, object, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-flash/ming.git



More information about the pkg-flash-devel mailing list