Hello, I'm trying to use "buttons" to manage mouse events. I've wrote that
code :
----------------
.flash filename="/tmp/ella-temp.swf" version=8 fps=4  bbox=240x200
background="#c3e440"
.frame 1
.sound W1 "/tmp/14 Martin Circus-Le Matin Des Magiciens-1969.mp3"
.play W1 loop=1
.box D2_idle 93 74 color=#000000 fill=#ff0000 line=1
.box D2_hover 93 74 color=#ffffff fill=#ff0000 line=1
.box D2_pressed 93 74 color=#000000 fill=#ff0000 line=1
.box D2_area 93 74 color=#000000 fill=#ff0000 line=1
.button D2
   .show D2_idle as=idle
   .show D2_hover as=hover
   .show D2_pressed as=pressed
   .show D2_area as=area
.on_press:
    stopAllSounds();
.end
.end
.put D2 x=118 y=112 pin=center
.frame 105
.stop W1
.frame 106
.end # End swf movie
----------------

But the sound don't stop when I click on the button ; why ?

Regards

Luc
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Reply via email to