Search Tutorials
Actionscript: slideshow frameIn the actual slideshow frames (4 and 5) we load text into the textbox to give instructions to the viewer and also hide the left previous button at start. We add an external script, which contains instructions for preloading the images and for the automatic slide show.
stop();
//this loads the dynamic textbox with the initial text at start
loadVarsText = new loadVars();
loadVarsText.load("preview.txt");
loadVarsText.onLoad = function(success) {
if (success) {
_root.headline.html = true;
_root.headline.htmlText = this.headText;
}else{
trace("text not loaded,try again")
}
}
//this will hide the previous button at start
_root.leftBut._visible = false;
#include "frame1.txt"
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|