for example
m.readContentTask = createObject("roSGNode", "ContentReader")
m.readContentTask.observeField("content", "setpanels")
m.readContentTask.contenturi = "http://www.sdktestinglab.com/Tutorial/content/panelsetcontent.xml"
m.readContentTask.control = "RUN"
i dont want to give the url in contenturi variable..i want to give a xml file name instead,tried giving this - **[size=120]m.readContentTask.contenturi = “pkg:/sample.xml” [/size]**but its not working out.
is there any way to achieve this?i dont find any example for json response.can anyone tel me how to deal with json response in Roku Scene graph components
