ok,

Out of context: Reply #41

  • Started
  • Last post
  • 84 Responses
  • unfittoprint0

    you could make a onPress function like:

    movieAlpha = image._alpha;
    targetAlpha = movieAlpha;

    thumb1.onPress = function(){
    image._alpha=0;
    targetAlpha=100;
    clearInterval(alphaLoop);
    alphaLoop = setInterval(function () {
    movieAlpha += (targetAlpha-movieAlpha>0) ? Math.ceil((targetAlpha-movieAlph... : Math.floor((targetAlpha-movieAlp...
    image._alpha = movieAlpha;
    if (targetAlpha == movieAlpha) {
    clearInterval(alphaLoop);
    }
    },30)

    //you'll probably have to do some tweak it a bit. the image movie is the MC whre the image shows. good luck.

View thread