2 Replies Latest reply on Nov 17, 2009 9:38 PM by Fun Leprechaun

    HELP - GRID TRANSITION EFFECT

    Fun Leprechaun

      Hi there,

       

      Can anyone walk me through how to create this grid transition/dissolving box effect?  I would like to have two images dissolve into boxes - one behind the other when the page loads.

       

      How do I go about amending this code from a MouseEvent to an onload Event without the button?

       

      Please help!

       

       

       

      import fl.transitions.*;
      import fl.transitions.easing.*;

      DissolveButton.addEventListener(MouseEvent.CLICK, dissolveMyObject);


      function dissolveMyObject(event:MouseEvent) {
      TransitionManager.start(Image, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Regular.easeIn, xSections:10, ySections:10});
      }

       

      This is where I got the code from:

      http://www.flashfridge.com/tutorial.asp?ID=141