home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / Dual.swf / scripts / frame_5 / DoAction_2.as next >
Encoding:
Text File  |  2008-09-03  |  606 b   |  32 lines

  1. volumen.control._x = volumetrico;
  2. onEnterFrame = function()
  3. {
  4.    music.setVolume(volumen.control._x);
  5.    volumetrico = volumen.control._x;
  6. };
  7. linko.onRelease = function()
  8. {
  9.    getUrl("http://www.rjgam.es", "_blank");
  10. };
  11. volumen.control.onPress = function()
  12. {
  13.    volumen.control.onEnterFrame = function()
  14.    {
  15.       this._x = _root._xmouse;
  16.       if(this._x <= 0)
  17.       {
  18.          this._x = 0;
  19.       }
  20.       if(this._x >= 100)
  21.       {
  22.          this._x = 100;
  23.       }
  24.    };
  25. };
  26. volumen.control.onMouseUp = function()
  27. {
  28.    volumen.control.onEnterFrame = function()
  29.    {
  30.    };
  31. };
  32.