0 Replies Latest reply on Oct 5, 2010 5:25 AM by alex.80

    from contact page back to portfolio

    alex.80

      creating a portfolio, and on every portfolio page I have a contact button and it work clicking on it and I get to contact. But when I click to go back to porfolio, the page dissapears down so that I cant see it. I tried to look in the code in flashbuilder, but that didnt help me much.

       

      What I have is a startpage a portfolio page (which is a bundle of 18 pages) and a contact page.

       

      This is the code from the contact page:

      protected

       

       

       

       

       

      function button_clickHandler_20():void

      {

      currentState=

       

      'PORTFOLIO';

      }

       

        

       

      protected function button_clickHandler_30():void

      {

      navigateToURL(

       

      new URLRequest( encodeURI("mailto:info@philippebordonado.com")), "_self");

      }

       

       

      This is the other code:

       

       

      <s:Transition autoReverse="true" fromState="CONTACT" toState="PORTFOLIO">

       

       

      <s:Parallel>

       

       

      <s:Parallel target="{bitmapimage14}">

       

       

      <s:Move duration="600" d:noAutoDelete="true" xTo="42" yTo="-471">

       

       

      <s:easer>

       

       

      <s:Power easeInFraction="1" exponent="6"/>

       

       

      </s:easer>

       

       

      </s:Move>

       

       

      <s:Fade duration="0" startDelay="600"/>

       

       

      </s:Parallel>

       

       

      <s:Parallel target="{button112}">

       

       

      <s:Fade duration="0" startDelay="600">

       

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Fade>

       

      <s:Move duration="600" d:noAutoDelete="true" xTo="219" yTo="-470">

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{richtext15}">

       

      <s:Fade duration="0" startDelay="600">

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Fade>

       

      <s:Move duration="600" d:noAutoDelete="true" xTo="212" yTo="-466">

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent361}">

       

      <s:Fade duration="0" startDelay="600"/>

       

      <s:Move duration="600" d:noAutoDelete="true" xTo="47" yTo="-278">

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent371}">

       

      <s:Fade duration="0" startDelay="600"/>

       

      <s:Move duration="600" d:noAutoDelete="true" xTo="47" yTo="-438">

       

      <s:easer>

       

      <s:Power easeInFraction="1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{button110}">

       

      <s:Move duration="0" d:noAutoDelete="true" xTo="218" yTo="1463"/>

       

      <s:Fade duration="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="218" yTo="673">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{bitmapimage82}">

       

      <s:Fade duration="0" startDelay="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="42" yTo="670">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      <s:Move duration="0" d:noAutoDelete="true" startDelay="0" xTo="42" yTo="1463"/>

       

      </s:Parallel>

       

      <s:Parallel target="{richtext1}">

       

      <s:Move duration="0" d:noAutoDelete="true" xTo="212" yTo="1463"/>

       

      <s:Fade duration="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="212" yTo="675">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{rect4}">

       

      <s:Move duration="0" d:noAutoDelete="true" xTo="220" yTo="700"/>

       

      <s:Fade duration="0"/>

       

      <s:Move duration="1350" d:noAutoDelete="true" startDelay="500" xTo="628" yTo="700"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button120}">

       

      <s:Fade duration="0" startDelay="1250"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button121}">

       

      <s:Fade duration="0" startDelay="1250"/>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent511}">

       

      <s:Fade duration="0" startDelay="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="42" yTo="696">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      <s:Move duration="0" d:noAutoDelete="true" startDelay="0" xTo="42" yTo="1463"/>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent501}">

       

      <s:Move duration="0" d:noAutoDelete="true" xTo="341" yTo="870"/>

       

      <s:Fade duration="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="341" yTo="78">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent521}">

       

      <s:Move duration="0" d:noAutoDelete="true" xTo="109" yTo="1463"/>

       

      <s:Fade duration="0"/>

       

      <s:Move duration="900" d:noAutoDelete="true" startDelay="350" xTo="109" yTo="703">

       

      <s:easer>

       

      <s:Power easeInFraction="0.1" exponent="6"/>

       

      </s:easer>

       

      </s:Move>

       

      </s:Parallel>

       

      <s:Parallel target="{button3}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{bitmapimage37}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{bitmapimage38}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button27}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button23}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{rect17}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button113}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{rect19}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{group0}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button116}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button118}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button119}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{button0}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      <s:Parallel target="{customcomponent541}">

       

      <s:Fade duration="0"/>

       

      </s:Parallel>

       

      </s:Parallel>

       

      </s:Transition>