home *** CD-ROM | disk | FTP | other *** search
- if(getProperty("/m1", _X) >= _X - "40" and getProperty("/m1", _Y) >= _Y - "40" and _Y + "30" >= getProperty("/m1", _Y))
- {
- tellTarget("/m1")
- {
- gotoAndStop("stopped");
- }
- setProperty("/m1", _X, getProperty("/m1", _X) - "10");
- tellTarget("")
- {
- gotoAndStop("open");
- play();
- }
- tellTarget("/playersounds")
- {
- gotoAndStop("unlock");
- play();
- }
- }
-