Develop and Download Open Source Software

Browse Subversion Repository

Diff of /classes/Main.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33 by kreuz45, Tue Mar 11 09:52:05 2008 UTC revision 34 by kreuz45, Sun Mar 16 11:45:21 2008 UTC
# Line 144  Line 144 
144                          label.text = "start";                          label.text = "start";
145                                                    
146                                                    
147                                                    if(!sound){
148                          sound = new Sound();                          sound = new Sound();
149                                                    
150                          function playSound(evt:Event) : void {                          function playSound(evt:Event) : void {
# Line 156  Line 156 
156                                                    
157                          sound.addEventListener(Event.COMPLETE, playSound);                          sound.addEventListener(Event.COMPLETE, playSound);
158                          sound.load(new URLRequest(songList[0].getFileName()));                          sound.load(new URLRequest(songList[0].getFileName()));
159                            }else {
160                                    soundChannel = sound.play(position * sound.length);
161                            }
162                                                    
163                                                    
164                                                    

Legend:
Removed from v.33  
changed lines
  Added in v.34

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26