home *** CD-ROM | disk | FTP | other *** search
/ Sears Catalog 2006 Spring/Summer (French Canadian) / SearsCanada-AutomneEte2006-FrenchVersion-WinMac.bin / fr / calendar / may.swf / scripts / frame_1 / DoAction.as < prev   
Text File  |  2005-12-05  |  484b  |  21 lines

  1. function goIndexPage(myPage)
  2. {
  3.    if(myPage % 2)
  4.    {
  5.       mySpread = Math.round(myPage / 2);
  6.    }
  7.    else
  8.    {
  9.       mySpread = myPage / 2 + 1;
  10.    }
  11.    trace("mySpread = " + mySpread);
  12.    trace("mySpread = " + mySpread);
  13.    trace("mySpread = " + mySpread);
  14.    _parent.menu.pageIndex = mySpread;
  15.    _parent.bookOn("section");
  16.    _parent.sectionClip.goSpread();
  17.    _parent.myMonth = "may";
  18.    _parent.sectionClip.monthTabMc.gotoAndPlay(2);
  19.    unloadMovie(this);
  20. }
  21.