trust/js/slides/8_Slides_Conclusion.js
2017-07-20 14:45:11 -04:00

57 lines
969 B
JavaScript

SLIDES.push({
id: "conclusion",
onstart: function(self){
},
onend: function(self){
self.clear();
}
});
SLIDES.push({
onstart: function(self){
// Splash in background
self.add({ id:"splash", type:"Splash" });
// Circular Wordbox
self.add({
id:"text", type:"TextBox",
x:160, y:10, width:640, height:500, align:"center", size:19,
text_id:"conclusion"
});
// Button
self.add({
id:"button", type:"Button", x:385, y:466,
text_id:"conclusion_button", fontSize:16, upperCase:false,
message:"slideshow/scratch"
});
},
onend: function(self){
self.remove("button");
}
});
SLIDES.push({
onstart: function(self){
var o = self.objects;
// Text
o.text.setTextID("conclusion_2");
// Button
self.add({
id:"button", type:"Button", x:385, y:466,
text_id:"conclusion_button", fontSize:16, upperCase:false,
message:"slideshow/scratch"
});
// Fade In & Out
},
onend: function(self){
self.clear();
}
});