Sorry to single you out, but I would appreciate it if you and others did
not post the same question to both FlexCoders and FlexComponents.  If
your questions is about re-usable component development, then post on
FlexComponents, but otherwise, use FlexCoders.

 

I responded to your FlexCoders posting yesterday.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of amywongwy
Sent: Wednesday, February 13, 2008 12:07 PM
To: [email protected]
Subject: [flexcomponents] How to create a custom component dynamically
by name?

 

My current implementation assumes the data comes from an xml file,
while specifies the class name of the custom component.
In Flex, the getDefinitionByName(String) method allows me to have a
class declaration of dynamically create a component. However, a
limitation in Flex requires me to have a class declaration of the
dynamic class in the component before I can call getDefinitionByName().

Is there any way that I can create a custom component dynamically by
name without creating a class declaration?

 

Reply via email to