Timing actions

Hi there,

I have following actions assigned in my xml file. I like to time them. Like when I use gotoUrl or the action titel the action takes place like for instance 2 seconds. How do this? Below you can find the actions. Big thx in advance!!!

Actions = Object();
Actions.gotoURL = function(urlVar) {
getURL(urlVar, “_blank”);
Actions.titel = function(msg) {
titel_txt.html = true;
titel_txt.htmlText = msg;