like u can create an object of actio script class in mxml...like u hv string declare in action script class str1 then u can create a object in mxml...then call the variable and assign the value like AS3 a = new AS3(); a.str1 = whtever the value u want store...like if u have data grid and id = dg....have column artist u can write like a.str1 = dg.artist; value of artist store in string...
On Wed, Aug 4, 2010 at 8:16 AM, Raj <[email protected]> wrote: > Hi can any one tell me how to access the variable from main.mxml to > script.as. > > > is it possiblr? > > -- > 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.

