home *** CD-ROM | disk | FTP | other *** search
- play();
- xm = getProperty("/moto", _X);
- ym = getProperty("/moto", _Y);
- xa1 = getProperty("/a1", _X);
- ya1 = getProperty("/a1", _Y);
- xa2 = getProperty("/a2", _X);
- ya2 = getProperty("/a2", _Y);
- xla = getProperty("/lache", _X);
- yla = getProperty("/lache", _Y);
- xka = getProperty("/kanne", _X);
- yka = getProperty("/kanne", _Y);
- xfa = getProperty("/frau", _X);
- yfa = getProperty("/frau", _Y);
- xgu = getProperty("/gu", _X);
- ygu = getProperty("/gu", _Y);
- xmg = getProperty("/mg", _X);
- ymg = getProperty("/mg", _Y);
- if(ym - ya1 < breite and - breite < ym - ya1 and xm - xa1 < breite2 and - breite2 < xm - xa1)
- {
- tellTarget("/moto/rad")
- {
- gotoAndStop("ex");
- play();
- }
- tellTarget("/moto")
- {
- gotoAndStop("end");
- }
- gotoAndStop(45);
- }
- if(ym - ya2 < breite and - breite < ym - ya2 and xm - xa2 < breite2 and - breite2 < xm - xa2)
- {
- tellTarget("/moto/rad")
- {
- gotoAndStop("ex");
- play();
- }
- tellTarget("/moto")
- {
- gotoAndStop("end");
- }
- gotoAndStop(45);
- }
- if(ym - yla < brela and - brela < ym - yla and xm - xla < brela and - brela < xm - xla)
- {
- tellTarget("/moto")
- {
- stepx *= "2.5";
- }
- tellTarget("/sou2oel")
- {
- play();
- }
- }
- if(ym - ygu < brela and - brela < ym - ygu and xm - xgu < brela and - brela < xm - xgu)
- {
- tellTarget("/moto")
- {
- _Y = _Y - "20";
- }
- tellTarget("/sou2oel")
- {
- gotoAndStop("gulli");
- play();
- }
- }
- if(ym - yka < brela and - brela < ym - yka and xm - xka < brela and - brela < xm - xka)
- {
- tellTarget("/sou4wa")
- {
- play();
- }
- set("/moto:stepy","6");
- tellTarget("/moto/rad/lenker")
- {
- gotoAndStop("rechts");
- }
- tellTarget("/lade")
- {
- gotoAndStop(_currentframe + "60");
- }
- }
- if(ym - yfa < brefa and - brefa < ym - yfa and xm - xfa < brefa and - brefa < xm - xfa)
- {
- setProperty("/frau/tasche", _visible, "0");
- if(tasche == "1")
- {
- tellTarget("/sou3tas")
- {
- play();
- }
- tellTarget("/moto/rad/lenker/tasche")
- {
- gotoAndStop(2);
- }
- nmin = n - "1";
- duplicateMovieClip("/bag1","bag" add n,n + 16384);
- if(reihe == "1")
- {
- setProperty("/bag" add n, _Y, getProperty("/bag" add nmin, _Y) + "5");
- setProperty("/bag" add n, _X, getProperty("/bag" add nmin, _X));
- }
- if(reihe == "2")
- {
- setProperty("/bag" add n, _Y, getProperty("/bag1", _Y) + "5");
- setProperty("/bag" add n, _X, getProperty("/bag1", _X) + "15");
- reihe = "1";
- }
- n += "1";
- tasche = "0";
- }
- }
-