4 Replies Latest reply on Jun 21, 2008 10:30 AM by tseyigai

    Want to label a thumb with a title

    tseyigai Level 1
      *I have the code below for a thumb that enlarges to a bigger picture. However, instead of the VIEW IMAGE I want to label the picture, as "Statue With Flowers." I have 7 thumbs for this section of the gallery. Is it possible to insert a label into the code below?
      onClipEvent(load) {
      num=7;
      }


      on(rollOver) {
      if(_root.pic_num<>num) {
      this.gotoAndPlay("s1");
      }
      }

      on(rollOut, releaseOutside) {
      if(_root.pic_num<>num) {
      this.gotoAndPlay("s2");
      }
      }


      on(release) {
      if(_root.pic_num<>num and _root.pic_animation==1) {
      _root.pic_animation=0;
      _root.pic_num_prev=_root.pic_num;
      _parent["item" + _root.pic_num].gotoAndPlay("s2");num=7
      _root.pic_num=num;
      _parent._parent._parent.gal.play();
      }
      }