I'm trying to show a progress dialog, but it's not working. Here is the code that is in a .xml file and not in .brs file:
sub showdialog()
progressdialog = createObject("roSGNode", "ProgressDialog")
progressdialog.backgroundUri = "pkg:/images/rsgde_dlg_bg_hd.9.png"
progressdialog.title = "Buffering..."
m.top.dialog = progressdialog
m.timer = createObject("RoSGNode", "Timer")
m.timer.duration = 3
m.timer.control = "start"
m.timer.ObserveField("fire", "dismissdialog")
end sub
Any ideas why? Thanks for your help!