Is there any way to declare a name space for a main package folder and import all the subdirectories and action script files within that package?
For example if I have the following packages:
com.domain.contactManager
- User.as
- Company.as
- Address.as
- Communication.as
- ContactManagerService.as
Com.domain.content
- Static.as
- Attachment.as
- Text.as
- ContentService.as
I閳ユ獓 like to declare the namespace xmlns:domain=''com.domain.*''
Then all of my calls to the services would be in the domain namespace
%26lt;s:CallResponder id=''getUserDataResult''/%26gt;
%26lt;domain:ContactManagerService 閳?/%26gt;
%26lt;s:CallResponder id=''getStaticDataResult''/%26gt;
%26lt;domain:ContentService 閳?/%26gt;
Is there some way to accomplish this syntax or do I have to have a new namespace for each folder containing services that I wish to call?
Thanks!
Christine
No comments:
Post a Comment