.shivanshi.
. Home . Share . Share Success . Join Us! .

ActionScript - Code Samples

Scene

Divide the movie in various scenes if it becomes difficult to manage content in one scene.
Download scene.zip.

// scene 1
btn1.onRelease = function() {
	gotoAndStop("Scene 2", "page1");
	// for using frame number use this:
	// gotoAndStop("Scene 2", 1);
};
btn2.onRelease = function() {
	gotoAndStop("Scene 2", "page2");
	// for using frame number use this:
	// gotoAndStop("Scene 2", 2);
};
stop();


// scene 2
btn3.onRelease = function() {
	gotoAndStop("Scene 1", "page0");
	// for using frame number use this:
	// gotoAndStop("Scene 1", 1);
};
Add Favorite
| About Us | Site Map | Privacy Policy | Contact Us |
.shivanshi.