dan_shneider
9 years agoVisitor
More server requests on task element
Hey,
I do some server requests in a task. eventually I get the final response with the videos I need to display. that's fine. I send a callback to the VideoGridScene.
Now, I need to request something again from the server. let's say, when the video pauses.
My task has a property with the Video node, and I get the 'pause' event.
But, on that point, I cannot access the registry to get some values nor can I request
Errors:
'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec)
and
BRIGHTSCRIPT: ERROR: roUrlTransfer: class PLUGIN|MARKUP on thread RENDER: pkg:/components/Task.xml(378)
BRIGHTSCRIPT: ERROR: roMessagePort: Trying to construct a message port on a non-plugin thread: pkg:/components/Task.xml(379)
What am I doing wrong?
I do some server requests in a task. eventually I get the final response with the videos I need to display. that's fine. I send a callback to the VideoGridScene.
Now, I need to request something again from the server. let's say, when the video pauses.
My task has a property with the Video node, and I get the 'pause' event.
But, on that point, I cannot access the registry to get some values nor can I request
Errors:
'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec)
and
BRIGHTSCRIPT: ERROR: roUrlTransfer: class PLUGIN|MARKUP on thread RENDER: pkg:/components/Task.xml(378)
BRIGHTSCRIPT: ERROR: roMessagePort: Trying to construct a message port on a non-plugin thread: pkg:/components/Task.xml(379)
What am I doing wrong?