home *** CD-ROM | disk | FTP | other *** search
- on pushbtn
- set btncn to the castNum of sprite clickOn()
- repeat while the stillDown
- if rollOver(clickOn()) then
- set the castNum of sprite clickOn() to btncn + 1
- else
- set the castNum of sprite clickOn() to btncn
- end if
- updateStage()
- end repeat
- set the castNum of sprite clickOn() to btncn
- updateStage()
- end
-