home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 144 / MOBICLIC144.ISO / mac / DATA / INT144 / INT144_00 / INT144_00.swf / scripts / frame_43 / DoAction.as
Text File  |  2012-04-23  |  2KB  |  32 lines

  1. stop();
  2. InitMascotte({mc:BUG.BUG});
  3. BUG.swapDepths(2546);
  4. BUG.BUG.gotoAndStop("E2");
  5. BUG.BUG._visible = true;
  6. BUG.BUG.CacherApres = false;
  7. InitMascotte({mc:SPAM.SPAM});
  8. SPAM.swapDepths(2547);
  9. SPAM.SPAM.gotoAndStop("E2");
  10. SPAM.SPAM._visible = true;
  11. SPAM.SPAM.CacherApres = false;
  12. InitMascotte({mc:WIKI.WIKI});
  13. WIKI.swapDepths(2548);
  14. WIKI.WIKI.gotoAndStop("E2");
  15. WIKI.WIKI._visible = true;
  16. WIKI.WIKI.CacherApres = false;
  17. MASCOTTE_SPAM = SPAM.SPAM;
  18. MASCOTTE_WIKI = WIKI.WIKI;
  19. MASCOTTE_BUG = BUG.BUG;
  20. trace("MMMM " + MASCOTTE_WIKI.ParamsXml.xDepart);
  21. var vitesse_mascottes = 2;
  22. this.TweenBUGx = new mx.transitions.Tween(BUG.BUG,"_x",mx.transitions.easing.None.easeOut,Number(BUG.BUG.ParamsXml.xDepart),BUG.BUG._x,vitesse_mascottes,true);
  23. this.TweenBUGy = new mx.transitions.Tween(BUG.BUG,"_y",mx.transitions.easing.None.easeOut,Number(BUG.BUG.ParamsXml.yDepart),BUG.BUG._y,vitesse_mascottes,true);
  24. this.TweenSPAMx = new mx.transitions.Tween(SPAM.SPAM,"_x",mx.transitions.easing.None.easeOut,Number(SPAM.SPAM.ParamsXml.xDepart),SPAM.SPAM._x,vitesse_mascottes,true);
  25. this.TweenSPAMy = new mx.transitions.Tween(SPAM.SPAM,"_y",mx.transitions.easing.None.easeOut,Number(SPAM.SPAM.ParamsXml.yDepart),SPAM.SPAM._y,vitesse_mascottes,true);
  26. this.TweenWIKIx = new mx.transitions.Tween(MASCOTTE_WIKI,"_x",mx.transitions.easing.None.easeOut,Number(MASCOTTE_WIKI.ParamsXml.xDepart),MASCOTTE_WIKI._x,vitesse_mascottes,true);
  27. this.TweenWIKIy = new mx.transitions.Tween(MASCOTTE_WIKI,"_y",mx.transitions.easing.None.easeOut,Number(MASCOTTE_WIKI.ParamsXml.yDepart),MASCOTTE_WIKI._y,vitesse_mascottes,true);
  28. TweenWIKIx.onMotionFinished = function()
  29. {
  30.    _root.gotoAndStop("INTRO");
  31. };
  32.