
25.07.2005, 21:09
|
|
|
.grin! wuz here
Регистрация: Aug 2004
Адрес: paradise city
Сообщений: 3,981
|
_global.allScenes = ["Scene 1", "Scene 2"];
_global.currentScene = 0;
_global.myNextScene = function(frame){
gotoAndStop(_global.allScenes[_global.currentScene++], frame||1)
}
_global.myPrevScene = function(frame){
gotoAndStop(_global.allScenes[_global.currentScene--], frame||1)
}
@usage:
_global.myPrevScene(10); // предыдущая сцена 10й кадр
_global.myNextScene(); // след. сцена 1й кадр
__________________
Breakcore them all!
|