0 Replies Latest reply on Feb 25, 2010 8:53 AM by babycatface

    link button to different galleries

    babycatface

      Hi there,

      I bought a template and althought I'm usually ok with Flash, I cant put my head around this one.

      I've got a category section that should link each time to a different catalogue (galery), please see screenshot attached categories.jpg. Well after 2 days of trying, I think is fair to say that I dont know how to do it.

      There is the following in the Action Layer of the main movie clip:

      Code:
      _root.link_gall = 1;
      _root.photo = 1;
      _root.D = 0;

      And if I check the AS for the button of each category like "Water Colour", I found this:

       

      Code:
      on (rollOver)
      {
          gotoAndPlay("s1");
      }
      on (releaseOutside, rollOut)
      {
          gotoAndPlay("s2");
      }

      On the xml file contains the following:

       

       

      HTML Code:
      <?xml version="1.0" encoding="iso-8859-1"?>
      <content>
          <!-- general vars -->
          <section name="settings">
              <item name="textSelectable">true</item>
          </section>
         
      <section name="configuration">
      <delta_pics>6</delta_pics>       <!-- distance between adjacent images -->
      <alpha_bg>100</alpha_bg>          <!-- transparency of the substrate under the comment -->
      <delta_scr>-5</delta_scr>        <!-- scroller correction -->
      <pic_smoth>true</pic_smoth>      <!-- image smoothness (true/false)-->
      <pic_ext>.jpg</pic_ext>          <!-- big pictures filename extension (.jpg/.png) -->
      </section>


      <section name="pages">
         
      <page name="home page">

      <gall name="globalGallery">

              <folder fName="1" fTitle="home_gall">
                  <image imageUrl="_home_01.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_02.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_03.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_04.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_05.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_06.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_07.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_08.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_09.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_10.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_11.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_12.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_13.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_14.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_15.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_home_16.jpg" link="" size="57" size_heigh="39"/>
              </folder>
             
              <folder fName="2" fTitle="catalogue">
                  <image imageUrl="_catalogue_01.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_02.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_03.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_04.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_05.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_06.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_07.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_08.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_09.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_10.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_11.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_12.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_13.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_14.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_15.jpg" link="" size="57" size_heigh="39"/>
                  <image imageUrl="_catalogue_16.jpg" link="" size="57" size_heigh="39"/>
              </folder>
             
         
              </gall>

              </page>
             
              
      </section>
      </content>

      I dont know how to make those 3 codes work. Any question please let me know, if you need the flash file let me know. I'm desperate