Skip to Content
0
Former Member
Jul 02, 2009 at 03:46 PM

SDK Component Packaging error with no Class Namespace

29 Views

I have been playing around with the Flex 3 SDK/Flex 3 Hotfix/Xcelsius 2008 SDK in attempts to add these components to Xcelsius. After building them they work fine in Flex when compiled. However, when I attempt to package them using the Xcelsius Add-on Packager, on of the required fields to fill in is about the Class Namespace, which not all of the SDK samples have. Now this may be a noob statement, but I thought best practices was to declare a nested directory class namespace to hold your classes (.as files). Although not required, if this type of directory structure is not created, where do the class namespaces reside? I do not see any .as files in some of these SDK examples.

1. Do all projects need to have a class namespace?

2. How do I build a package with the SDK examples when a class namespace is not available (seemingly)?

Examples of the SDK projects which do not appear to have class namespaces:

Flex3GSEIII_d_Lists - there are no .as files available to call as a class namespace

Examples of the SDK project which DO have a class namespace:

F3GSE Part III F - Custom Components - the class namespace is com.mycustom.components

So, how do I solve the packaging of these two different projects one with and one without a class namespace when the Xcelsius Add-on Packager requires the use of a valid class namespace?

Thank you

Alex Dove