0 Replies Latest reply on Feb 29, 2008 3:01 PM by lindswim416

    Blur Transition

    lindswim416
      Hello,

      I want to make a slide show that has a blurred transition. I found a code for exactly what i'm looking for, except that it uses rollovers to instigate the blur. Is there a way to take part of this code and use it to make transitions for a slideshow? Hopefully that makes sense...I'm clearly new at this. Thanks.


      import flash.filters.DropShadowFilter;
      ds = new DropShadowFilter(3,15,0x000000,.8,5,5,.5,3,false,false,false)
      var time:Number = .1;
      var blur:Number = 20;
      var ffRot:Number = 0;
      var rfRot:Number = 0;

      cf = new CardFlip(card_mc,"cardBack_mc",50,ds);
      cf2 = new CardFlip(card2_mc,"card2Back_mc",50,ds);

      flip_btn.onRollOver = function(){
      trace(time + " . " + blur + " . " + ffRot + " . " + rfRot);
      cf.flip(time,blur,ffRot,rfRot);
      cf2.flip(time,blur,ffRot,rfRot);

      flip_btn.onRollOut = function(){
      trace(time + " . " + blur + " . " + ffRot + " . " + rfRot);
      cf.flip(time,blur,ffRot,rfRot);
      cf2.flip(time,blur,ffRot,rfRot);

      }
      }