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

flash back button

  • 30-12-2005 4:19pm
    #1
    Registered Users, Registered Users 2 Posts: 4,479 ✭✭✭


    hey guys,

    posted this in the webmaster forum and havent got a response, just thought somebody here might be able to help.

    working on a flash project and i want to include a back button on some frames. the back button wont always be just going to the previous frame so the prevFrame option is out. also in this particular movie, i can reach one frame from a various different frames so i cant just use gotoandplay.

    i found a script that works like this..

    imclude this on the opening frame,

    navStack = [];

    and this on every frame after,

    navStack.push(_currentFrame);

    the back button is then coded like this,

    on (release) {
    if (_root.navStack.length > 1) {
    recentFrame = _root.navStack.pop();
    previousFrame = _root.navStack.pop();
    goToAndPlay(previousFrame);
    }
    }

    when i use this i get no errors but the back button doesnt do anything. anyone got any clues? or even a script that can do it?


Comments

Advertisement