*SEGA EU / Effects

Out of context: Reply #3

  • Started
  • Last post
  • 5 Responses
  • mac100

    you can do it with a bit of script

    just copy and paste this code on to an MC

    [code]
    onClipEvent (load) {
    _visible = false
    oldtt = getTimer();
    fin = 100;
    iniz = 0;
    _yscale = iniz;
    _xscale = iniz;
    acc = 5;
    b = 1.25;
    }
    onClipEvent (enterFrame) {
    tt = getTimer();
    if(tt-oldtt > 500){
    _visible = true
    iniz = _yscale;
    iniz = _xscale;
    diff = (diff+((fin-iniz)/acc))/b;
    _yscale += diff;
    _xscale += diff;
    }
    }
    [/code]

    mac10 :)

View thread