@@ -8,6 +8,7 @@ import swf.data.filters.IFilter;
88import swf .data .SWFButtonRecord ;
99import swf .data .SWFSymbol ;
1010import swf .exporters .ShapeBitmapExporter ;
11+ import swf .exporters .ShapeBitmapExporter .BitmapFill ;
1112import swf .exporters .ShapeCommandExporter ;
1213import swf .tags .IDefinitionTag ;
1314import swf .tags .TagDefineBits ;
@@ -27,6 +28,7 @@ import swf.tags.TagDefineSprite;
2728import swf .tags .TagDefineText ;
2829import swf .tags .TagPlaceObject ;
2930import swf .tags .TagSymbolClass ;
31+ import swf .timeline .Frame ;
3032import swf .utils .SymbolUtils ;
3133import swf .SWFRoot ;
3234import swf .SWFTimelineContainer ;
@@ -526,7 +528,8 @@ class AnimateLibraryExporter
526528
527529 var frame : Dynamic = {};
528530 frame .objects = [];
529- var bitmap , frameObject : Dynamic ;
531+ var bitmap : BitmapFill ;
532+ var frameObject : Dynamic ;
530533
531534 for (i in 0 ... bitmaps .length )
532535 {
@@ -669,10 +672,7 @@ class AnimateLibraryExporter
669672 var lastModified = new Map <Int , Int >();
670673 var zeroCharacter = - 1 ;
671674
672- var frame : Dynamic ,
673- frameObject : Dynamic ,
674- frameData ,
675- placeTag : TagPlaceObject ;
675+ var frame : Dynamic , frameObject : Dynamic , frameData : Frame , placeTag : TagPlaceObject ;
676676
677677 for (frameData in tag .frames )
678678 {
@@ -1404,7 +1404,18 @@ class AnimateLibraryExporter
14041404
14051405 case DropShadowFilter (distance , angle , color , alpha , blurX , blurY , strength , quality , inner , knockout , hideObject ):
14061406 result .push ([
1407- SWFFilterType .DROP_SHADOW , distance , angle , color , alpha , blurX , blurY , strength , quality , inner , knockout , hideObject
1407+ SWFFilterType .DROP_SHADOW ,
1408+ distance ,
1409+ angle ,
1410+ color ,
1411+ alpha ,
1412+ blurX ,
1413+ blurY ,
1414+ strength ,
1415+ quality ,
1416+ inner ,
1417+ knockout ,
1418+ hideObject
14081419 ]);
14091420
14101421 case GlowFilter (color , alpha , blurX , blurY , strength , quality , inner , knockout ):
@@ -1500,7 +1511,6 @@ private class SWFDocument
15001511
15011512#if (haxe_ver < 4.0) @:enum #end
15021513private #if (haxe_ver >= 4.0) enum #end abstract SWFFrameObjectType (Int ) from Int to Int
1503-
15041514{
15051515 public var CREATE = 0 ;
15061516 public var UPDATE = 1 ;
@@ -1509,7 +1519,6 @@ private #if (haxe_ver >= 4.0) enum #end abstract SWFFrameObjectType(Int) from In
15091519
15101520#if (haxe_ver < 4.0) @:enum #end
15111521private #if (haxe_ver >= 4.0) enum #end abstract SWFShapeCommandType (Int ) from Int to Int
1512-
15131522{
15141523 public var BEGIN_BITMAP_FILL = 0 ;
15151524 public var BEGIN_FILL = 1 ;
@@ -1524,7 +1533,6 @@ private #if (haxe_ver >= 4.0) enum #end abstract SWFShapeCommandType(Int) from I
15241533
15251534#if (haxe_ver < 4.0) @:enum #end
15261535private #if (haxe_ver >= 4.0) enum #end abstract SWFSymbolType (Int ) from Int to Int
1527-
15281536{
15291537 public var BITMAP = 0 ;
15301538 public var BUTTON = 1 ;
@@ -1537,7 +1545,6 @@ private #if (haxe_ver >= 4.0) enum #end abstract SWFSymbolType(Int) from Int to
15371545
15381546#if (haxe_ver < 4.0) @:enum #end
15391547private #if (haxe_ver >= 4.0) enum #end abstract SWFFilterType (Int ) from Int to Int
1540-
15411548{
15421549 public var BLUR = 0 ;
15431550 public var COLOR_MATRIX = 1 ;
0 commit comments