---------------------------------------------------------
   Release Notes for Transform for Java, Version 2.0.2. 
---------------------------------------------------------

This build affects the following Editions: Eval, SWF5, SWF6 &amp; SWF7.  

Bug Fixes     
    FSMovie now sets default signature correctly.     
  
Class Changes     
    Binary encoded data can now be added to classes supporting actions or events.     
    Added constructor FSDefineMovieClip(int anIdentifier).      
 
-------------
  Bug Fixes  
-------------

1. FSMovie now sets default signature correctly.  

A default signature was set in the FSMovie class when using the following 
constructors: 
 
    FSMovie() 
    FSMovie(FSBounds aBounds, float framesPerSecond) 
  
The Flash version defaults to the constant Transform.VERSION and the signature 
selected was based on the version number. The signature was being set to "FWS" 
(indicating the movie is not compressed when encoded) for movies with a version 
number greater than 5 and  "CWS" (compress the movie when encoded) for version 
numbers 5 or lower. Flash only introduced movie compression with Flash 6 so this 
is the opposite of what should have happened. This is  now fixed so movies with 
Flash version numbers of 5 of less default to "FWS" while for  version numbers 6 
or higher the default is "CWS".  

In practice this presented no problems for Flash Players supporting Version 6 or 
higher which would uncompress a movie with the CWS signature and version numbers 
5 or less. However Flash Players supporting Flash 5 or lower would not display 
the file correctly.  

---------------
  Class Changes  
---------------

1. Binary encoded data can now be added to classes supporting actions or events.  

The new release of Translate (Flagstone's ActionScript compiler) generates 
actions encoded as binary data rather than arrays of objects. The following 
methods and constructors have been added to classes that support actions or 
events to allow the data generated by Translate to be encoded in movies:  

public FSDoAction(byte[] bytes) 
public void setEncodedActions(byte[] bytes)
  
public FSDefineButton(int anIdentifier, ArrayList buttonRecordArray, byte[] bytes) 
public void setEncodedActions(byte[] bytes)  

public FSButtonEvent(int aNumber, byte[] bytes) 
public void setEncodedActions(byte[] bytes)  

public FSClipEvent(int eventCode, byte[] bytes) 
public FSClipEvent(int eventCode, int keyCode, byte[] bytes) // SWF6 or SWF7 only 
public void setEncodedActions(byte[] bytes)  

public FSDefineButton2(int anIdentifier, 
                       int buttonType, 
                       ArrayList buttonRecordArray, 
                       byte[] bytes) 
public void setEncodedEvents(byte[] bytes)  

public FSPlaceObject2(int anIdentifier, 
                      int aLayer, 
                      byte[] byte, 
                      String aName, 
                      int xLocation, 
                      int yLocation) 
public void setEncodedEvents(byte[] bytes)   

Generating the encoded actions, rather than objects, in Translate greatly boosts 
performance both in the compiler and when a movie is subsequently encoded.   

2. Added constructor FSDefineMoveClip(int anIdentifier).  

The new constructor was added to make writing code that added control objects 
to a movie clip more readable. Creating an array of control objects then adding 
it to the FSDefineMovieClip object is still more efficient however.



