[ a script that will ignore mouse clicks on that button once the music is playing? ]
ok.. you can do it like this
at first click .. it will play the song
at 2nd .. it wont play nemore
the theory is 1st.. when click.. it will give variable..
then at 2nd.. it will check variable if it is oledi play or not.. if oledi play.. then it will stop.
i = 0
for ( i = 0, i <1, i ++ ){
if ( i == 0){
music.play()
i++
}
else if ( i == 1){
music.stop()
i == 0
}
}
give it a try.. and correct me if i was wrong.
flash mx help with sound file
Mar 16 2006, 03:56 PM
Quote
0.0128sec
0.54
7 queries
GZIP Disabled