Jump to content
Search Community

riester

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by riester

  1. Hi Jack,

    thanks for the reply.

    scaleX= -1 works for me since this a 2D clip so no problem.

    TweenMax.to(mc_Africa1, 1, { scaleX:-1});

    BUT now I ran into something I thought

    is not relevant for 2D. When I resize the movieclips manually (height and width) and do a scaleX-1

    the image is destorted, that is the perspective projection is wrong. I thought this is only an issue when applying a rotationY on a 3D object.

    I studied your answer to the question by CptEO:

    'Simple rotationY 90 gives unexpected result'

    but I think in my case this is not relevant since I am using scaleX now.

    I attached this little four-liner fla to demonstrate the issue.

    Do you have any idea?

    Thanks for any hint.

    Max

  2. Hi,

     

    I found a solution in this forum to this problem - unfortunately it doesn't work for me.

     

    I do a rotationY by 180 degrees. So after the tween the image is flipped and you are suposed

    to see the backside - but then the image is blury.

    So I applied the solution I found here (deBlur) but then the image flips back to the frontside.

    I appreciate any hint.

    Max

     

    TweenLite.to(Africa1, .8,{ alpha: 1, rotationY : Africa1.rotationY -180,onComplete: deBlur, onCompleteParams: [Africa1], delay: .3 } );
    }
        //kill matrix3D and reset x and y
    function deBlur( Africa1:MovieClip ): void
    {
        var currentX = Africa1.x;
        var currentY = Africa1.y;
        Africa1.transform.matrix3D = null;
        Africa1.x = currentX;
        Africa1.y = currentY;
     } 

  3. Hello,

     

    although I am new to TweenMax I am feeling quite comfortable with it - except:

    I am applying a transformMatrix on a custom class movieclip (circleCountry) that throws the error:

    ReferenceError: Error #1069: Property transformMatrix for Circle not found and there is no standard value.

    The class hierachy is:

    Country extends Movieclip

    Circle extends Country

    circleCountry is an instance of Circle

     

    Confusing for me is that applying the dropShadowFilter on circleCountry works ( see last line).

    Why not the transformMatrix ?

    Did I miss some OOP issue?

    I am thankful for any help.

    Max

     

    import com.greensock.TweenMax;
    import com.greensock.easing.*;
    import com.greensock.TweenLite;
    import com.greensock.plugins.*; 
    
    var circleCountry:Circle = new Circle(133, 0, 0, "Kreis", 0, 0);
    circleCountry.name = "Circle";
    circleCountry.x = -200;
    addChild(circleCountry);
    
    TweenMax.to(circleCountry, 4, {delay:1, x:745, y:517, transformMatrix:{rotation:360}, alpha:2.5, ease:Circ.easeOut});
    TweenMax.to(circleCountry, 4, {dropShadowFilter:{color:0x003333, alpha:1, blurX:12, blurY:12, strength:0.5, angle:140, distance:12}, ease:Circ.easeOut});

×
×
  • Create New...