Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Flsah player6 as1 VS player 7 as2

  • 19-07-2006 11:24am
    #1
    Closed Accounts Posts: 34,809 ✭✭✭✭


    ok, here's the code. It works in player 6 as1 or even player 6 as2 but not player 7 as1 or 7 as2 which is what I want. I've got it to work before and I know it was something simple but you know yourself! I've been looking for ages and I know it's staring at me but I'm numb to it at this stage....

    It's an andy foulds playbackwards script!

    here's the script for the first frame:

    movieclip.prototype.back = function() {
    this.onEnterFrame = function() {
    this.prevFrame();
    if (this._currentframe == 1) {
    delete this.onEnterFrame;
    }
    };
    };
    movieclip.prototype.forward = function() {
    this.onEnterFrame = function() {
    delete this.onEnterFrame;
    this.play();
    };
    };

    then you put this on a button

    on(rollOver){
    mc.forward();

    }
    on(rollOut){
    mc.back();
    }

    and just have any mc on stage with the instance "mc" and place an animation inside it with a stop(); on first and last frame!

    any ideas?


Advertisement