Ejemplo n.º 1
0
 def __init__(self, arg, flags=0):
     self.arg = arg
     if isinstance(arg, SWFSoundStream):
         self.this = mingc.newSWFSound_fromSoundStream(arg)
     else:
         self.file = open(arg, "rb")
         self.this = mingc.newSWFSound(self.file, flags)
Ejemplo n.º 2
0
 def __init__(self, arg, flags=0):
     self.arg = arg;
     if isinstance(arg, SWFSoundStream):
         self.this = mingc.newSWFSound_fromSoundStream(arg)
     else:
         self.file = open(arg, "rb")
         self.this = mingc.newSWFSound(self.file, flags)
Ejemplo n.º 3
0
 def __init__(self, fname):
     self.file = open(fname, "rb")
     self.this = mingc.newSWFSound(self.file)
Ejemplo n.º 4
0
 def __init__(self, fname):
     self.file = open(fname, "rb")
     self.this = mingc.newSWFSound(self.file)