Can you share your whole code....... and the problem On Tue, Aug 3, 2010 at 4:15 PM, Raj <[email protected]> wrote:
> Hi dear all, > > I am using flex 3 ,I need to access a variable from my main.mxml to > Script.as > > I am using this code:in main.mxml > > <mx:Script> > <![CDATA[ > import mx.events.IndexChangedEvent; > public var objCount:int=0; > ]]> > </mx:Script> > > > I am using this code in Script.as but still I am uable to access > "objCount". > > Application.application.objCount; > > can any one help me plz > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

