Forum Discussion
joetesta
8 years agoRoku Guru
Think I goofed you up by giving you render thread code mixed in with your task code, and now you put the render thread code into the task.
This stuff belongs in your page brs (not task brs) the task brs will have the getString you're asking about.
This stuff belongs in your page brs (not task brs) the task brs will have the getString you're asking about.
function getwebcontent(webpage as string)
m.myObj = createObject("RoSGNode", "postergridCR")
m.myObj.postergriduri=webpage
m.myObj.functionName="getcontent"
m.myObj.observeField("postergridcontent","gotContent") '<===================== CREATE OBSERVER BEFORE RUN'
m.myObj.control = "RUN"
end function
sub gotContent()
content = m.myObj.postergridcontent '<================== callback triggered when task sets m.top.postergridcontent'
end sub
- AKRDev6 years agoReel Rookie
Please delete this, replied here instead of another post by error.