I have a site with 5 levels. Each level is a section: about, news, work, etc…
On _level0 I have the buttons to call and control each section.
What I need is a nice navigation. For exemple:
I want the _level2 go back to frame 1 (play in reverse) before going to a new section.
How can I do this?
:red:
system
2
function forward(mcName, stopframe) {
mcName.onEnterFrame = function() {
this.gotoAndStop(this._currentframe+1);
if (this._currentframe == stopframe) {
this.gotoAndStop(stopframe);
delete this.onEnterFrame;
}
};
}
system
3
dammit i pressed the frekaing space bar and it sent! **** machine elves…
function reversa(mcName, stopframe, urlName) {
mcName.onEnterFrame = function() {
this.gotoAndStop(this._currentframe-1);
if (this._currentframe == stopframe) {
this.gotoAndStop(stopframe);
loadmovie(urlName, 1);
delete this.onEnterFrame;
}
};
}
then call it like this
reversa(target, 1, "moviename.swf");