Assigning a behavior to a special part of an image


hello

i have image on score assigned sprite ,i want assign behavoir special part of image examnple if image pic of human ,just clicking on hand of pic ,a spcial behavior make play sound , clicking on foot doesn't happen.
thank attention mohsena

you cant assign bahaviour 1 part of sprite.
what can hotspots.

on mouseup me
-- mouseloc
tloc = mouseloc

thotspot = rect(0,0,10,20)
if tloc.inside(thotspot)
--playsound
end if

end


More discussions in Director Lingo


adobe

Comments

Popular posts from this blog

Qualcuno mi sa dire perchè non va questo protocollo seriale ?

Prezzemolo!

play video