Browse Subversion Repository
Diff of /classes/Main.as
Parent Directory
| Revision Log
| Patch
| 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 { |
| 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 |
|
|
|