[transform-swf-updates] BUG: Transform SWF 3.0 Beta: ButtonShape, ButtonSound
Brought to you by:
smackay
From: News on r. b. a. p. f. T. S. f. J. <tra...@li...> - 2010-07-01 14:29:34
|
One porting the Cookbook examples ButtonShape was found to contain several bugs, specifically: 1. Default (unit) coordinate and colour transforms were not being defined in the constructor causing NullPointerExceptions to be thrown if these objects were not set. 2. Similarly the array for filters was not initialized. 3. The test to see whether the color transform should be encoded (it is for DefineButton2 not for DefineButton) was not testing whether the parent object type was set. 4. The test to see whether there were any filters defined was faulty. A patch is attached. ButtonSound contains a bug where the table matching events to sounds was not initialized causing a NullPointerException to be thrown when the object was encoded. A patch is also attached. The fixes have been committed to the repository. Regards, Stuart -- Flagstone Software Ltd. |