local name space error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

local name space error

Serkan Taş
Hi,

How can I get rid of the error below ?  should be very simple solution I guess...

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(116): col: 3 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

              <local:LineNumberTextDisplay id="mainTextField" height="100%" width="100%" />
              ^

Reply | Threaded
Open this post in threaded view
|

RE: local name space error

yishayw

Looks like you’re missing the namespace declaration. Something like

 

                           xmlns:local="*"

 

which should go as an attribute at the top tag of your document.

 

From: [hidden email]
Sent: Monday, January 27, 2020 10:15 PM
To: [hidden email]
Subject: local name space error

 

Hi,

How can I get rid of the error below ?  should be very simple solution I guess...

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(116): col: 3 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

              <local:LineNumberTextDisplay id="mainTextField" height="100%" width="100%" />
              ^

 

Reply | Threaded
Open this post in threaded view
|

Re: local name space error

Serkan Taş
Unfortunately it does exists.




On Tue, Jan 28, 2020 at 9:12 AM +0300, "Yishay Weiss" <[hidden email]> wrote:

Looks like you’re missing the namespace declaration. Something like

 

                           xmlns:local="*"

 

which should go as an attribute at the top tag of your document.

 

From: [hidden email]
Sent: Monday, January 27, 2020 10:15 PM
To: [hidden email]
Subject: local name space error

 

Hi,

How can I get rid of the error below ?  should be very simple solution I guess...

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(116): col: 3 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

              <local:LineNumberTextDisplay id="mainTextField" height="100%" width="100%" />
              ^

 

Reply | Threaded
Open this post in threaded view
|

Re: local name space error

Alex Harui-2

Does the LineNumberTextDisplay class exist in the same folder as the main application?  Otherwise you have to specify a path instead of just *.  Also make sure that you spelled LineNumberTextDisplay correctly, and that the LineNumberTextDisplay isn’t also resulting in compile errors.

 

HTH,

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, January 27, 2020 at 10:19 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: local name space error

 

Unfortunately it does exists.

 



On Tue, Jan 28, 2020 at 9:12 AM +0300, "Yishay Weiss" <[hidden email]> wrote:

Looks like you’re missing the namespace declaration. Something like

 

                           xmlns:local="*"

 

which should go as an attribute at the top tag of your document.

 

From: [hidden email]
Sent: Monday, January 27, 2020 10:15 PM
To: [hidden email]
Subject: local name space error

 

Hi,

How can I get rid of the error below ?  should be very simple solution I guess...

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(116): col: 3 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

              <local:LineNumberTextDisplay id="mainTextField" height="100%" width="100%" />
              ^