If anyone could help me with this, it might just save me my job. I have a site which involves a section than pans behind a set of buttons. (The navigation is relocated w/each pan, as well as an empty MC to load in content) Everything works beautifully…but it only works once. After the one time, everything stays as is, and doesn’t pan/load/move/anything
This is my AS…if anyone could help…
//inside main MC
animationpg.targety = clip._y;
g=“home.swf”;
h=-544;
w=-10;
strip();
animationpg.navigation.home.onRelease = function() {
g=“section2.swf”;
h=-544;
strip();
animationpg.navigation.gotoAndStop(1);
};
animationpg.navigation.about.onRelease = function() {
g=“section2.swf”;
h=-1088;
strip();
animationpg.navigation.gotoAndStop(2);
};
animationpg.navigation.team.onRelease = function() {
g=“section3.swf”;
h=-1632;
strip();
animationpg.navigation.gotoAndStop(2);
animationpg.onEnterFrame = function() {
var speed = 10;
this._y += (animationpg.targety - animationpg._y)/speed;
};
//moves the container for the color image.
function strip() {
animationpg.loadsection._y = (h + 544)-1;
animationpg.navigation._y = (h + 272)-1;
scrollpage();
}
//scrolling the contact sheet using the button variables.
function scrollpage() {
animationpg.targety = (h + 272);
picksection();
}
function picksection() {
if(this == Number(this)){
loadMovieNum(“pages/” + g,animationpg.loadsection);
} else {
animationpg.loadsection.loadMovie(“pages/” + g);
}
}
THANK YOU!!!