home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 130 / MOBICLIC130.ISO / pc / DATA / HOTE / libs / LivreFeuilletable / LivreFeuilletable.swf / scripts / __Packages / LivreComposant.as next >
Text File  |  2010-12-13  |  895b  |  34 lines

  1. class LivreComposant
  2. {
  3.    function LivreComposant(p)
  4.    {
  5.       trace("LivreComposant");
  6.       _global.xlisteObj(p);
  7.       var _loc4_ = new Object();
  8.       _loc4_.extXML = p.extXML;
  9.       _loc4_.flipSound = p.flipSound;
  10.       _loc4_._x = p._x;
  11.       _loc4_._y = p._y;
  12.       _loc4_._width = p._width;
  13.       _loc4_._height = p._height;
  14.       _loc4_.pagesSet = p.pages;
  15.       var _loc5_ = p.pere.attachMovie("FFlippingBookSymbol",p.nom,p.level,_loc4_);
  16.       _loc5_.onInit = function()
  17.       {
  18.          trace("ONINIT " + this.width + " " + this.height);
  19.       };
  20.       trace("fiche_planche : " + _loc5_);
  21.       this.LIVRE_MC = _loc5_;
  22.    }
  23.    function Afficher()
  24.    {
  25.       trace("Afficher " + this.LIVRE_MC);
  26.       this.LIVRE_MC._visible = true;
  27.    }
  28.    function Masquer()
  29.    {
  30.       trace("Masquer " + this.LIVRE_MC);
  31.       this.LIVRE_MC._visible = false;
  32.    }
  33. }
  34.