[scratchblocks]
when sprite1 clicked
switch to background [off v]
broadcast <(off)>
end
Offline
Try this simple script for your sprite:
When [sprite* v] clicked //* make this be whatever your sprite's name is if <(Volume)=(0)> set volume to [100] % switch to costume [volume on v] else Set volume to [0] % switch to costume [volume off v] endI hope that this helps!
Last edited by AgentRoop (2012-04-22 14:03:09)
Offline
when gf clicked switch to costume [sound on v] set [on? v] to [1] when [Sprite1 v] clicked next costume set [on? v] to ( [-1] * (on?) ) if < (on?) = [1] > set volume to [100] % end if < (on?) = [-1] > set volume to [0] % end when gf clicked play sound [any song you like v] until done
Last edited by selenamarte (2012-05-26 06:35:18)
Offline