Print "Task took: " + itostr(timer.TotalMilliseconds())
roRegistry Can only be used in a Task node
roRegistrySection Can only be used in a Task node
"joetesta" wrote:
https://developer.roku.com/docs/references/api-index/brightscript/interfaces/ifsgnodechildren.md#ins...
Following the doc here: "insertChild(index as Integer, child as roSGNode ) as Dynamic"
Produces a crash: Type Mismatch. (runtime error)
The order of the index and the child should be reversed in the docs, since it *doesn't* crash doing:
"insertChild(child as roSGNode, index as Integer) as Dynamic"