How do I fix this warning in my mx:request tag?
- by invertedSpear
I'm running an HTTPService with the following request:
<mx:request xmlns="">
<view>{myViewStack.selectedChild.name}</view>
</mx:request>
The idea being to pass which child is selected on the viewstack to the php page, and then get that back so I can run some logic based on which child of the viewstack was selected at the time.
Everything seems to work, but I get the following warning:
Data binding will not be able to detect assignments to "name".
This doesn't seem to be causing any trouble, but I know warnings usually mean that I am not following the best practice. How can I fix this? I don't really need this item to be bound, because the name will never change at runtime, but I don't know how else to include it in the request.