Re: [flexcoders] Why would this assignment to a MVC model return null?

2008-05-07 Thread dnk
gt; and providing a function that gets called when the event occurs(at which > point the data is available, before that it will be null, as you found). > > > -Original Message----- > From: flexcoders@yahoogroups.com on behalf of dnk > > Sent: Sat 03/05/2008 21:59 > To: flexcod

RE: [flexcoders] Why would this assignment to a MVC model return null?

2008-05-03 Thread Jim Hayes
03/05/2008 21:59 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Why would this assignment to a MVC model return null? and which file it should be in, etc On Sat, May 3, 2008 at 1:51 PM, dnk <[EMAIL PROTECTED]> wrote: > Ok, just trying to look through the code sample prov

Re: [flexcoders] Why would this assignment to a MVC model return null?

2008-05-03 Thread dnk
gt; > myprojectmodel.getInstance().mytext2 = myTxt2.data; > > myTxt2.removeEventListener("LoadTextFile.dataloaded", gotData); > > } > > > > LoadTextFile will have to extend EventDispatcher. > > > > HTH ! (been there myself, when I started!)

Re: [flexcoders] Why would this assignment to a MVC model return null?

2008-05-03 Thread dnk
File.dataloaded", gotData); > } > > LoadTextFile will have to extend EventDispatcher. > > HTH ! (been there myself, when I started!) > > > > -Original Message- > From: flexcoders@yahoogroups.com on behalf of dnk > Sent: Sat 03/05/2008 20:22 > To: flex

RE: [flexcoders] Why would this assignment to a MVC model return null?

2008-05-03 Thread Jim Hayes
xt2.data; myTxt2.removeEventListener("LoadTextFile.dataloaded", gotData); } LoadTextFile will have to extend EventDispatcher. HTH ! (been there myself, when I started!) -Original Message- From: flexcoders@yahoogroups.com on behalf of dnk Sent: Sat 03/05/2008 20:22 To: flexcoders

[flexcoders] Why would this assignment to a MVC model return null?

2008-05-03 Thread dnk
Ok, I am using a easymvc structure (tom bray version), and i have run into an issue that is killing me! I am simply loading in some vars from a text file, and to do so i wrote a utility class (to make it reusable). Now in my class, if I populate my model var, it works fine. But it makes that clas