hi sudhi,

you can declare the varibles in Main.mxml  as:

            [Bindable]
            static public var STR:String = "FLEX";

In your actionscript class get the value like:

           Trace(Main.STR);

Thanks,
DineshKumar.T





On Thu, Feb 19, 2009 at 4:25 PM, sudhi <forsu...@gmail.com> wrote:

>
> Dear Akshay
>
> I have created seperate files  for every class
> So i dont have any problem in accessing the variables in Actionscript
> classes...
>
> My problem is i have a main Flex apllication which loads some display
> object
> from the Actionscript library and show it.
>
> I have a Script block in my Flex(.mxml file) where i want to have a
> variable which
>  should be made accessible to all the other AS classes of the
> library...
>
> Regards
> Sudhi..
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to