Counter concept in Perspective

Right. As @cmallonee said, this only assigns the current value to j, not a reference to .props.value.

So you need to do

self.parent.getChild(“FlexContainer”).getChild(“FlexContainer_0”).getChild(“Progress”).props.value = someNewvalue

instead.

I think maybe you could do

j =  self.parent.getChild(“FlexContainer”).getChild(“FlexContainer_0”).getChild(“Progress”)
j.props.value = someNewValue

if you really wanted to, but I don’t think this makes anything more readable or gives any advantage.

1 Like