georgejecook
8 years agoStreaming Star
Unbelievable issue with accessing node as field of other node
I have a node with a field type like this
which holds another node described as
I can print out this node as follows
m.top.content.colors
and get
but if I access any properties, I get an error.. w.. t.. h..
<fields>
<id="[size=85][font=monospace]colors[/font][/size]" type="node">
which holds another node described as
<?xml version="1.0" encoding="UTF-8"?>
<component
name="ColorsContent"
extends="ContentNode"
I can print out this node as follows
m.top.content.colors
and get
<Component: roSGNode> =
{
change: <Component: roAssociativeArray>
focusable: false
focusedChild: <Component: roInvalid>
id: ""
backgroundColor: "#e5e4e5"
fadeOverlayStyle: "verticalGradient"
progressBarBackgroundColor: "#000000BB"
progressBarColor: "#ffc706"
textColor: "#313131"
tileColor: "#003d8d"
}
but if I access any properties, I get an error.. w.. t.. h..
? m.top.content.colors.id
BRIGHTSCRIPT: ERROR: roSGNode.<lookup>: RoSGNode instance of subtype ColorsContent is inaccessible from render thread
invalid