Beispiel #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)
Beispiel #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)
Beispiel #3
0
 def __init__(self, fname):
     self.file = open(fname, "rb")
     self.this = mingc.newSWFSound(self.file)
Beispiel #4
0
 def __init__(self, fname):
     self.file = open(fname, "rb")
     self.this = mingc.newSWFSound(self.file)