fry19
6 years agoBinge Watcher
fieldToInterp for a top level component
I am trying to extend the Poster component this way:
<?xml version="1.0" encoding="utf-8" ?> <component name="PosterWithFadeIn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" extends="Poster" xsi:noNamespaceSchemaLocation="http://rokudev.roku.com/rokudev/schema/RokuSceneGraph.xsd"> <children> <Animation id = "fadeIn" duration = "1" easeFunction = "linear" > <FloatFieldInterpolator key = "[ 0.0, 1.0 ]" keyValue = "[ 0.0, 1.0 ]" control="start" fieldToInterp = "????.opacity" /> </Animation> </children> </component>
The issue is that I have never seen any example that refers to the "main" component in an animation "fieldToInterp" attribute.
What shall I use? I tried "opacity", ".opacity", "m.top.opacity" and nothing works...
Thanks