home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / mid_flight.swf / scripts / DefineSprite_256 / frame_30 / DoAction.as
Encoding:
Text File  |  2008-08-07  |  429 b   |  31 lines

  1. if(xmax > eval("/:midx"))
  2. {
  3.    if(_root.m._x > xmax)
  4.    {
  5.       _root.m._x = xmax;
  6.    }
  7.    if(_root.m._x < xmin)
  8.    {
  9.       _root.m._x = xmin;
  10.    }
  11.    if(_root.b._x > xmax)
  12.    {
  13.       _root.b._x = xmax;
  14.    }
  15.    if(_root.b._x < xmin)
  16.    {
  17.       _root.b._x = xmin;
  18.    }
  19. }
  20. else
  21. {
  22.    if(_root.e._x > xmax)
  23.    {
  24.       _root.e._x = xmax;
  25.    }
  26.    if(_root.e._x < xmin)
  27.    {
  28.       _root.e._x = xmin;
  29.    }
  30. }
  31.