Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed namespaces

...

To make life easier on yourself, use the same package names that the FlexJS framework uses. That way your cade code can move into the framework repository with little change.

Your "component" should live in: org.apache.flex.html.staticControls. The beads that make up your component should live in: org.apache.flex.html.staticControls.beads or one of its sub-directories, depending on its purpose.

...

The component is called, "NumericAdjustment", or org.apache.flex.html.staticControls.NumericAdjustment. This component needs the following beads:

...

NumericAdjustment {
iBeadView: ClassReference("org.apache.flex.html.staticControls.beads.NumericAdjustmentView");
iBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.NumericAdjustmentModel");
}

The NumericAdjustment component class, org.apache.flex.html.staticControls.NumericAdjustment, has very little content of its own:

...