1#!/usr/bin/python 2from ming import * 3 4Ming_useSWFVersion(8); 5 6m = SWFMovie(); 7 8#add setscale here 9#Unknown block type 69 10 11# SWF_DEFINESHAPE3 12 13# Shape 1 (TYPE=3, RECT=0,0 0,0) 14character1 = SWFShape(); 15#2 fillstyle(s) 16character1_f0_red = 0x20; 17character1_f0_green = 0x40; 18character1_f0_blue = 0x80; 19character1_f0_alpha = 0xdf; 20character1_f0 = character1.addSolidFill(character1_f0_red, character1_f0_green, character1_f0_blue, character1_f0_alpha ); #SWFFILL_SOLID 21character1_f1_red = 0x40; 22character1_f1_green = 0x80; 23character1_f1_blue = 0x20; 24character1_f1_alpha = 0x18; 25character1_f1 = character1.addSolidFill(character1_f1_red, character1_f1_green, character1_f1_blue, character1_f1_alpha ); #SWFFILL_SOLID 26#0 linestyles(s) 27 28# SWF_PLACEOBJECT2 29i1 = m.add(character1); 30i1.setDepth(1); 31# PlaceFlagHasMatrix 32 33# SWF_SHOWFRAME 34m.nextFrame(); # end of frame 1 35 36# SWF_END 37 38m.save("test01.swf"); 39