I've been trying to use the classpath as described in The Book and having some problems.

If I create a directory com/iterationtwo/components in the same directory as my Main.mxml file, and then define the namespace as

xmlns="com.iterationtwo.components.*"

and a component as

<EditableComboBox>.........</EditableComboBox>

then everything works.

When I then try to use the i2 abbreviation:

xmlns:i2="com.iterationtwo.components"

and a component as:

<i2:EditableComboBox>.........</i2:EditableComboBox>

the path isn't recognized.

I'm sure it's something simple, but it has me stumped.

I figure I have to get it working this way before I go putting classes in the user_classes folder or elsewhere.

- Tom








Reply via email to