Make 3 layers:
Actions
Container
Buttons
Get button from the common library: widows…common library…buttons…classic buttons…arcade buttons
Put in 3 buttons on the buttons layer
By instance name (in properties) call each button its color, underscore, mc (movie clip)
Then do ctrl+F8 to make a new symbol (movie) and call it cloader. This is an empty movie clip.
Drag the empty movie clip cloader onto the container layer.
NEW FILE
Write a number on the stage. Then duplicate the scene 2 more times. Scene 1 = m01, scene 2 = m02, and scene 3 = m03. On scenes 2 and 3, change the number on the stage from 1 to 2 and three.
Do ctrl+alt+enter to test each scene so now you have 3 swf files- one for each number.
GO BACK TO OTHER FILE
On actions layer (no buttons selected) write:
[the instance name of the button]
green_mc.onRelease = function(){
loader_mc.loadMovie("m01.swf");
}
Copy and paste this script 3 times for each button
green_mc= the button instance name
m01.swf= the name of the movie
-you change it according to the proper names
end up with:
green_mc.onRelease = function() {
loader_mc.loadMovie("m01.swf");
};
blue_mc.onRelease = function() {
loader_mc.loadMovie("m02.swf");
};
red_mc.onRelease = function() {
loader_mc.loadMovie("m03.swf");
};
click the blue check to check for errors in your script. If it’s all good, click the button next to it to format it. (It lines everything up correctly…)
GO BACK TO MOO FILE
make another scene- 00, generate that scene (ctrl+alt+enter)
GO BACK TO OTHER FILE- and add the next script before all the other actions:
onLoad = function () {
loader_mc.loadMovie("main.swf");
};
And add:
fscommand("fullscreen", "true");
(which means- full screen. If don’t write true, it won’t work)
Publish movie- file…publish movie
Make sure to check off windows projector (.exe)
ESC (escape) GETS YOU OUT OF THE PROJECTOR
1 comment:
this looks really scary but todah raba!
Post a Comment