Not sure what I was doing wrong here but I've got this worked out and
documented here:
http://www.returnundefined.com/dealing-with-default-namespaces-in-flex-2as3

Hopefully someone will find it useful.

Ben

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> That doesn't seem to work for me. I have this file:
> 
> package com.fmr.tests.PSA_Cairngorm.model
> {
>       public namespace CLIENT_SEARCH_NAMESPACE =
> "http://site.com/BackOffice/DoSearch";;
> }
> 
> and then in my command class, along with all my other import
> statements I have:
> import com.fmr.tests.PSA_Cairngorm.model.CLIENT_SEARCH_NAMESPACE;
> 
> and then I try to use it like this:
> use namespace CLIENT_SEARCH_NAMESPACE;
> 
> Unfortunately I get the same error as usual:
> 1004: Namespace was not found or is not a compile-time constant.
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to