A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] greensock animation not working when imported

  1. #1
    Senior Member
    Join Date
    May 2000
    Posts
    814

    resolved [RESOLVED] greensock animation not working when imported

    using the greensock tween engine i have a little effect going over my button. It works when i publish on my desktop. But stops working when i import the swf into my main swf.

    it's the scaling e.target, that is not working!!!
    What am i missing?

    PHP Code:
    map.east.buttonMode true;
    map.east.mouseChildren false;
        
        
    map.east.addEventListener (MouseEvent.MOUSE_OVEReastOverHandler);
    map.east.addEventListener (MouseEvent.MOUSE_OUTeastOutHandler);

    function 
    eastOverHandler (e:Event):void {
    TweenMax.to(eastTxt.base0.75, {dropShadowFilter:{color:0x000000alpha:0.3blurX:6blurY:6angle:50distance:3ease:Quad.easeOut}});
    TweenMax.to(e.target0.4, {scaleX:2scaleY:2ease:Back.easeOut});
    }

    function 
    eastOutHandler (e:Event):void {
    TweenMax.to(eastTxt.base0.75, {dropShadowFilter:{color:0x000000alpha:0blurX:1blurY:1angle:50distance:1ease:Quad.easeOut}});
    TweenMax.toe.target0.4, {scaleX:1scaleY:1ease:Back.easeOut});



  2. #2
    Senior Member
    Join Date
    May 2000
    Posts
    814
    found the error, it was in my publishing options

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center