flash probs.

Out of context: Reply #11

  • Started
  • Last post
  • 28 Responses
  • method_c0

    thanks ! i got it :)

    i have some more code on all the buttons to create to easing effect :

    onClipEvent (load) {
    scale = 0;
    }
    onClipEvent (enterFrame) {
    if (scale == 1) {
    _y = _y + (150 - _y)/3;
    }
    if (scale == 0) {
    _y = _y + (105 - _y)/5;
    }
    }

    this code doesn't work anymore if i have the onrelease function in the timeline. So i guess this code also has to be in the timeline. Can i have it once for all the buttons? how does it have to look?

View thread