home *** CD-ROM | disk | FTP | other *** search
- global gForeCol, gRealClick
-
- on mouseDown
- set gRealClick to the clickOn
- set gForeCol to the foreColor of sprite gRealClick
- set divSpot to (the mouseH - the left of sprite the clickOn) / the width of sprite the clickOn
- set divSpot to (the mouseH - the left of sprite the clickOn) / (the width of sprite the clickOn / 3)
- if divSpot <> 3 then
- set divSpot to divSpot + 1
- end if
- puppetSound(cast (30 + divSpot))
- updateStage()
- end
-