3 Replies Latest reply on Mar 2, 2010 10:38 PM by Flex harUI

    FlexGlobals.topLevelApplication & Data Binding?

    Angelys.Stigma Level 1

      Hi,

       

      in Flex 3, I was a great fan of Application.application to use variables from my main application, particularly in MXML with data binding. Starting my first steps in Flex 4, I got stuck with the use of FlexGlobals.topLevelApplication and got a warning when I use it for data binding. Is there a way to solve this problem? Or is it a better way to use the main application properties in a custom component?

       

      Thanks