3 Replies Latest reply on Mar 20, 2007 6:30 PM by Kwooda

    Curiosity: Unusual binding syntax

    Kwooda Level 1
      In exploring the source code for the FlexStore sample application, I came across the following binding expression:

      <mx:Binding source="ProductsView(parentDocument).currentState" destination="titleButtons.currentState" />

      ProductsView is a custom component. What I don't understand is the "source" clause -- "ProductsView(parentDocument).currentState"

      What is ProductsView(parentDocument) referencing? This looks like a function call - is it really something else? Can someone shed some light on this?

      Thanks