flash Q *unfit help!*

Out of context: Reply #1

  • Started
  • Last post
  • 7 Responses
  • unfittoprint0

    everytime you moved the slider you could create some loop,. the section it's a number evalueted from targety and Nav height [1,2,3,4,...]

    check=function(targety){
    if(Math.abs((targety -navMC._y)) 'less than' 0.5){
    clearinterval(checkLoop);
    navMC._y = targety;
    section = Math.round(1/(targety/myNav._hei...
    myNav.content.gotoAndPlay(sectio...
    }
    }

    getSection=function(targety){
    clearInterval(chewckLop);
    checkLoop=setInterval(this, "check", 30, targety)
    }

    //some event trigger for the slider

    slider.onRelease = function(){
    getSection(targety)
    }

View thread