So things are going pretty smoothly now, but I'm having trouble with one thing.
I can make my screen use the poster layout without a problem, but I'd like to set up a grid instead. Here's my current code for the poster screen:
if xml.parse(xmlxfer) then
posterarray=createobject("roarray",1,true)
for each show in xml.show
poster=createobject("roAssociativeArray")
poster.shortdescriptionline1=show.getnamedElements("title").gettext()
poster.HDposterURL=show.getnamedElements("image").gettext()
poster.SDposterURL=show.getnamedElements("image").gettext()
poster.vidurl=show.getnamedelements("feed").gettext()
posterarray.push(poster)
next
end if
posterscrn=createobject("roposterscreen")
posterscrn.setcontentlist(posterarray)
posterscrn.show()
This works great. If I try to create a "rogridscreen" object instead, and then run posterscrn.setcontentlist(posterarray), it complains about a member function not being found.
So how would I convert my current code to use a grid screen?