|
||||||
|
||||||
Tutorial - Browser Back Buttons used with Flash

Free
Flash Tutorial
Step Three: Creating the Navigator
// This function is continually called
function checkPage() {
// Set the new page to the value of the new page loaded
newPage = _root.page;
// If the page variable has changed, navigate to new page
if (oldPage != newPage) {
// An object-oriented way of telling the
// Content object to navigate to the new page
// Trace(newPage);
_root.Movie.gotoAndStop("f"+newPage);
}
// Set the old page number to the new page number
oldPage = newPage;
}
// This Movie Clip checks for the next section to navigate to
onClipEvent (enterFrame) {
// Call the function inside this Movie Clip
this.checkPage();
}
|
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
6707 visitors to this page since
31 May 07 •
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|