Jump to content
Search Community

Sbml

Members
  • Posts

    6
  • Joined

  • Last visited

Contact Methods

Sbml's Achievements

0

Reputation

  1. Hello, I have a transition when I load my movie, I move it from outside of the stage to inside with a nice easing. How can I center my movie then with Liquid Stage only after the first transition occurred. Thanks in advance
  2. Hello, I never understand well the diferences between MOUSE_OVER / OUT and ROLL_OVER /OUT ,but the tutorials are very good. I change my Mouse Events to ROLL_OVER and ROLL_OUT and my tweens are much smoother than before. Thanks for the Tips !
  3. Works with more a couple of settings: MC.container_mc.title_mc.hitArea = MC.container_mc.bg_mc; MC.container_mc.title_mc.mouseEnabled = false; MC.container_mc.title_mc.mouseChildren = false; One question, if I want to add the event to one clip and target another in TweenMax how can I do That ? Thanks for the help
  4. Hello Unfortunally don't works with the mouseEnabled set to false, the animation only works where I do not have my title_mc, with the mouse over title_mc, nothing happens..
  5. Hello I have a Image XML menu that works well, but with a litle problem with target in TweenMax. I will post only the code that is relevant to resolve the problem, I hope . I have a MC in library, and inside I have 3 movie clips, img_mc, bg_mc (this is a background for text) and title_mc (inside this mc I have a textfield named title-txt). I create a for loop for the MC, so I use e.currentTarget in my tween animations. When I hovered the title_mc is suposed to scale the background, but because bg_mc are back the hover don't works. I do not know how to target the title_mc for on MOUSE:OVER scale the bg_mc. MY CODE: for (var i:Number = 0; i < my_total; i++) { //CREATE THE LOOP FOR MOVIE CLIP THAT I HAVE IN LIBRARY WITH THE CLASS "menu_item" var MC:MovieClip = new menu_item(); MC.id = "i" + i; MC.label = my_menu[i]. @ LABEL; MC.name = "mc" + i; //INITIAL ANIMATIONS TweenLite.to(MC, 0, {alpha:0}); TweenMax.to(MC.container_mc.img_mc, 0, {colorMatrixFilter:{colorize:0xffffff, amount:1}}); TweenMax.to(MC, 2, {dropShadowFilter:{color:0x000000, alpha:0.7, blurX:15, blurY:15, distance:15}}); //ANIMATION EVENTS MC.container_mc.bg_mc.addEventListener(MouseEvent.MOUSE_OVER, hover_bg); MC.container_mc.bg_mc.addEventListener(MouseEvent.MOUSE_OUT, out_bg); function hover_bg(e:MouseEvent) { TweenLite.to(e.currentTarget,1,{scaleY:1.2,ease:Quad.easeInOut}); TweenLite.to(e.currentTarget,1,{alpha:0.8}); } function out_bg(e:MouseEvent) { TweenLite.to(e.currentTarget,1,{scaleY:1,ease:Quad.easeInOut}); TweenLite.to(e.currentTarget,1,{alpha:0.6}); } This Last piece of code don't works because title_mc is over bg_mc. If I put in event listener MC.container_mc.title_mc.addEventListener(MouseEvent.MOUSE_OUT, out_bg); the Text will scale too, and I don't want this... Thanks
×
×
  • Create New...