Re: [Flashcoders] Getting modified variable without return

2011-01-21 Thread Jared
Yeah I'd say either through an event or else set a reference to the class which would be simpler but not a best practice as it would create a dependency. Sent from my iPhone On Jan 21, 2011, at 9:36 AM, ktt wrote: > Hello, > > I have a class, which loads and process XML - one function calls

[Flashcoders] Getting modified variable without return

2011-01-21 Thread ktt
Hello, I have a class, which loads and process XML - one function calls other, this - another one, which modifies a variable. If it were just one function, would be simple to get return of it in a main class: public var mySubClass:subClass = new subClass(); result = mySubClass.myFunction(); But