Got it working, thanks for the help guys. =D

--- In [email protected], Jon Bradley <[EMAIL PROTECTED]> wrote:
>
> Agree with Mike.
> 
> You can use public vars and at least put them in the class as a  
> requirement for the event construction.
> 
> A more complete (simple) example:
> 
> package com.yourcompany.project.controls {
>       public class LoginUserEvent extends CairngormEvent {
>               public var login : String;
>               public var password : String;
>               public function LoginUserEvent(l:String, p:String) {
>                       this.login = l;
>                       this.password = p;
>                       super( YourController.LOGIN_USER );
>               }
>       }
> }
> 
> 
> On Sep 24, 2007, at 8:54 PM, Mike Krotscheck wrote:
> > Notice that in CairngormEvent, data isn't actually initialized to  
> > any value. Thus what you'd be looking to do is initialize the  
> > object in the constructor of your loginEvent before accessing it  
> > when you create the event.
> >
> > public function LoginEvent():void
> >
> > {
> >
> >             data = new Object();
> >
> > }
> >
> >
>


Reply via email to