[flexcoders] MXML Components and Classes

2006-01-20 Thread Trey Long
Quick question about making custom components. I know custom components exist as classes in actionscript but I was a little lost on how you create functions for your component. Right now I have an external .AS file that is just some import statements and a collection of functions (no package o

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
ox, Panel, etc. gave me problems. I can't remember if it WAS supposed to have 1 child or NOT supposed to have any children... anyway, if you use ActionScript, works like a charm, but I like MXML better. If the To: Sent: Friday, January 20, 2006 12:12 PM Subject: [flexcoders] MXML Compo

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread Trey Long
nents, I > think it just becomes like an include instead. You can still put it after > mx:Style and mx:Metadata tags which is cool.. > > - Original Message - > From: "Trey Long" <[EMAIL PROTECTED]> > To: > Sent: Friday, January 20, 2006 12:12 P

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
y Long" <[EMAIL PROTECTED]> To: Sent: Friday, January 20, 2006 3:50 PM Subject: Re: [flexcoders] MXML Components and Classes So you're saying just extend a standard MXML component with an mx:script include on line #2. And it should associate the AS file with the class of the MX