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

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial