If your variable is any object apart from int,boolean,string .. . make sure u remove any event listeners addded to that object and make it to null. but do this only when u r assured no other objects will be using it. Also, remove all the refrences to the object if u have added in other classes.
Go thru the link for GC http://active.tutsplus.com/tutorials/workflow/quick-tip-understanding-garbage-collection-in-as3/ On Nov 26, 9:34 am, Pavan B <[email protected]> wrote: > Thanks! will that be a garbage collection issue, we don't have any framework > implemented right now and i am worried about the garbage collection issue. > > On Thu, Nov 25, 2010 at 11:11 PM, mahek joshipura > <[email protected]>wrote: > > > > > > > > > > > Hello Pavan, > > > You can use the singleton class and define a variable in it to access the > > variable from any location. > > > Regards, > > Mahek > > > On Fri, Nov 26, 2010 at 6:25 AM, Pavan B <[email protected]> wrote: > > >> Is there any option to a value in a variable (which is declared globally > >> for entire project or in the main (default) mxml file) and access it from > >> anywhere in other components in the same project. > > >> -- > >> Thanks > >> Pavan > >> 814-431-0669 > > >> -- > >> 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%2bunsubscr...@googlegrou > >> ps.com> > >> . > >> 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]<flex_india%2bunsubscr...@googlegrou > > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. > > -- > Thanks > Pavan > 814-431-0669 -- 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.

