Title: Message

Not sure about that, I’ve have a hierarchy of custom mxml component where the children inherit behavior from parents, so I think you can extend mxml components

 


From: Erik Westra [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 4:43 AM
To: [email protected]
Subject: RE: [flexcoders] ActionScript Components

 

A good reason to make pure actionscript components is that they can be subclassed.

 

When u create an mxml component, u cant extends a custom mxml component wich has children.

 

Greetz Erik

 


From: Gordon Smith [mailto:[EMAIL PROTECTED]
Sent: donderdag 7 april 2005 9:04
To: '[email protected]'
Subject: RE: [flexcoders] ActionScript Components

It is essentially a matter of preference. There are no performance differences that I know of.

 

I generally recommend creating components in MXML because it makes several things easier, such as creating internal subcomponents, laying them out, and assigning event handlers to them. For example, if I was creating a LoginPanel, I would certainly do it in MXML.

 

Can you explain what is "a bit messy" about MXML components?

 

- Gordon

 



Yahoo! Groups Links

Reply via email to