Hi
I have my application spread over a number of mxml components. But 
something seems to be giving a problem when it comes to xmlns.

My application structure is

app
    index.mxml
login
    loginPage.mxml
    loginService.mxml
component
    componentCanvas5.mxml
    componentCanvas6.mxml
    componentService.mxml


In my index.mxml

xmlns:lsmlogin="login.*"
>

<mx:ViewStack id="loginPageStack" width="100%">
        <lsmlogin:loginPage id="appLogin" />            
        <lsmlogin:loginService id="logservices"/>               
</mx:ViewStack>

In my delegate class, when I say
           mx.core.Application.application.logservices

It returns me null object.

Case 2:
When in my loginPage.mxml I add

  <loginService id="logservices" xmlns="*"/> 

It returns me the following error

 
Error /ui/lsmflex/login/loginPage.mxml:40 
Don't know how to parse element "*:loginService". It is not a known 
type or a property of mx.containers.Canvas.


Error /ui/lsmflex/index.mxml:13 
Don't know how to parse element "login.*:loginPage". It is not a 
known type or a property of mx.core.Application.



Any ideas whats wrong? And how do I set my classpath in flex-
config.xml

Regards
Husain




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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