--- ming-0.3.0/py_ext/ming.py.orig 2004-07-14 23:43:07.000000000 +0900 +++ ming-0.3.0/py_ext/ming.py 2006-09-29 11:18:44.000000000 +0900 @@ -317,6 +317,10 @@ self.blocks.append(sound) mingc.SWFMovie_setSoundStream(self.this, sound.this); + def startSound(self, sound): + self.blocks.append(sound) + mingc.SWFMovie_startSound(self.this, sound); + def output(self): return mingc.SWFMovie_simpleOutput(self.this) @@ -487,6 +491,9 @@ def addString(self, s, advance=None): mingc.SWFText_addString(self.this, s, advance) + def addUTF8String(self, s, advance=None): + mingc.SWFText_addUTF8String(self.this, s, advance) + def setSpacing(self, spacing): mingc.SWFText_setSpacing(self.this, spacing) @@ -597,9 +604,9 @@ class SWFSound(SWFBase): - def __init__(self, fname): + def __init__(self, fname, opt): self.file = open(fname, "rb") - self.this = mingc.newSWFSound(self.file) + self.this = mingc.newSWFSound(self.file, opt) # display list destroys this..