Hello, how can I convert this to as3 and how can I put multiple language in the
When English button is clicked “English words” will show in the stage.
When Spanish button is clicked “Spanish words” will show in the stage.
Words will only show when button is clicked of course.
Also planning to put this words in to show:
Welcome to the Winchester Cathedral auto-movie creator. Record 5 short clips with the instructions provided then once you’re done watch back and share the experience you have had today.
Have fun!
var i:Number = 0;
var myMessage:String = "Welcome to the Winchester Cathedral auto-movie creator. Record 5 short clips with the instructions provided then once you’re done watch back and share the experience you have had today.
Have fun!";
function autoWrite():void {
if (i<=myMessage.length) {
My_text.text = myMessage.substr(0, i)+"█";
i = i+1;
} else {
clearInterval(writingInterval);
}
}
var writingInterval:Number = setInterval(autoWrite, 36);
read_btn.addEventListener(MouseEvent.CLICK, read1);
function read1(event:MouseEvent):void{
i = 0;
writingInterval = setInterval(autoWrite, 16);
}