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
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
gt; > myprojectmodel.getInstance().mytext2 = myTxt2.data;
> > myTxt2.removeEventListener("LoadTextFile.dataloaded", gotData);
> > }
> >
> > LoadTextFile will have to extend EventDispatcher.
> >
> > HTH ! (been there myself, when I started!)
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
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
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
6 matches
Mail list logo