Jump to content
Search Community

orip

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by orip

  1. Hi,

    After searching for several hours,I'm struggling with implementing / applying autoAlpha to an object inside my adobe animate document, the approach as I'm used to it is to simply adding autoAlpha to the function:

    startbtn.addEventListener("click", closescreen0);
    function closescreen0() {
    		TweenMax.to(stage0, 3, {autoAlpha:0,scaleX:1.1, scaleY:1.1, ease:Expo.easeOut});		
    		//alert("function called");
    }
    

    Is it something to do with css plugins compatibility with animate / canvas? is there an alternative straightforward way to reach the same outcome (a hidden / disabled object)?

     

    thanks a lot!!

     

     

  2. Hi ppl,

     

    I'm a bit of a newbe to tweenmax, Just got a bit confused with an attempt to combine a function inside a tween,

    the code goes something like this: (i know it's wrong, just trying to figure out how to solve it)

     

     				TweenMax.to(anchorImages["masterImage"+(array)],0.5,{delay:0,blurFilter:{blurX:5, blurY:5}, _alpha:100,_x:570+26, _y:195-60, _xscale:30, _yscale:30, ease:Cubic.easeInOut, from here i want to activate the following FUNCTION(){
    				imageRight.bt._visible = true;
    				anchorImages["masterImage" + (array - 2)].bt._visible = true;
    				anchorImages["masterImage" + (array - 1)].bt._visible = true;
    				anchorImages["masterImage" + (array)].bt._visible = true;
    				trace("working");
    			});

     

    how do I combine it properly without setting it apart to a different function (like when I use onComplete)?

     

    Any help or a direction would be much appreciated,

     

    Thanks!

×
×
  • Create New...