Flash bitmap wavy scale

Out of context: Reply #19

  • Started
  • Last post
  • 20 Responses
  • estlin0

    nevermind my last post, I tried using actionsript to scale it, and freak, it works, smooth like silk.

    a sample would be to convert your image to a movie clip, scale it to the starting size, then on the clip put this code:

    onClipEvent (enterFrame) {
    if ( _xscale < 100 ) {
    _xscale += .1;
    _yscale = _xscale;
    }
    }

    The .1 value you can change around
    to make quicker tweens, and of course the _xscale <100 part refers to the ending scale.

View thread