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
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
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
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
4 matches
Mail list logo