0 Replies Latest reply on May 24, 2007 10:18 AM by jgsstrappy

    mx.core.Application.application  vs. parentDocument

    jgsstrappy
      I just looked up and solved an error I was having concerning view states being changed by a custom component. I needed to use the mx.core.Application.application.currentState to get the correct state change on the parent. However, in my component, I am putting data into a text field from the parent Application using the parentDocument.id and it works. Why did my state change require me to use mx.core.Application.application.currentState but the text field will take parentDocument.id? Doesn't the parentDocument really just reference the mx.core.Application.application IF I only have one child?

      Thanks,Jon