home *** CD-ROM | disk | FTP | other *** search
- on(release){
- tellTarget("_root.p")
- {
- nextFrame();
- }
- tellTarget("_root")
- {
- nextFrame();
- }
- _root.hero.clickSpot_x = 150;
- _root.hero.clickSpot_y = 440;
- if(getProperty(_root.cur, _X) > getProperty(_root.hero, _X))
- {
- setProperty("_root.hero.heroint", _xscale, "+100");
- }
- if(getProperty(_root.cur, _X) < getProperty(_root.hero, _X))
- {
- setProperty("_root.hero.heroint", _xscale, "-100");
- }
- }
-