Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

 flash mx help with sound file

views
     
momochi zabuza
post Mar 16 2006, 03:56 PM

I never think about money, beautiful things make money
*****
Senior Member
719 posts

Joined: Jan 2003
From: cyberjaya, ampang, malaysia


[ 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.


Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0128sec    0.54    7 queries    GZIP Disabled
Time is now: 25th November 2025 - 10:57 AM