You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Trevor Holman <tr...@cqproducts.com> on 2014/07/16 18:16:00 UTC

Problem with some AIR components

I posed this sometime back, but I get an Error: "Could not resolve to a component implementation” 

I’m in FlashBuilder 4.7 and when I go into the properties and change the sdk back to 4.6 it resolves the errors. I’m not sure how to correct this problem to use the newer Flex SDK?

I’m mostly interested in AIR applications. Below shows the ns I’m using. Am I missing something in this basic setup?



<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
			xmlns:s="library://ns.adobe.com/flex/spark" 
			xmlns:mx="library://ns.adobe.com/flex/mx">
	
	<s:ActionBar>
		
	</s:ActionBar>


	
</s:WindowedApplication>

Re: Problem with some AIR components

Posted by Mihai Chira <mi...@gmail.com>.
Just checked, and everything seems ok there. Maybe it's something
related to the SDK installation?

On 16 July 2014 17:16, Trevor Holman <tr...@cqproducts.com> wrote:
> I posed this sometime back, but I get an Error: "Could not resolve to a component implementation”
>
> I’m in FlashBuilder 4.7 and when I go into the properties and change the sdk back to 4.6 it resolves the errors. I’m not sure how to correct this problem to use the newer Flex SDK?
>
> I’m mostly interested in AIR applications. Below shows the ns I’m using. Am I missing something in this basic setup?
>
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>                         xmlns:s="library://ns.adobe.com/flex/spark"
>                         xmlns:mx="library://ns.adobe.com/flex/mx">
>
>         <s:ActionBar>
>
>         </s:ActionBar>
>
>
>
> </s:WindowedApplication>

Re: Problem with some AIR components

Posted by leejk <le...@yahoo.com>.
If you are using a mobile component in a AIR for desktop application, you
will need to manually add the mobile components.swc & mobile.swc files to
your library path.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-with-some-AIR-components-tp7306p7365.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Problem with some AIR components

Posted by Trevor Holman <tr...@cqproducts.com>.
I was considering that as well… I remember seeing an issue early about the installer not installing the AIR sdk correctly and I thought maybe that might me the problem.




On Jul 18, 2014, at 12:06 AM, Alex Harui <ah...@adobe.com> wrote:

> Hmm.  ActionBar looks like a mobile component.  Could that be the problem,
> that the project is a non-mobile AIR project?
> 
> On 7/17/14 4:47 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:
> 
>> I’ve noticed it’s the AIR components… some have worked however.
>> 
>> 
>> On Jul 17, 2014, at 12:01 AM, Alex Harui <ah...@adobe.com> wrote:
>> 
>>> Is it just ActionBar or other components as well?  Do some components
>>> always work?
>>> 
>>> On 7/16/14 9:16 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:
>>> 
>>>> I posed this sometime back, but I get an Error: "Could not resolve to a
>>>> component implementation²
>>>> 
>>>> I¹m in FlashBuilder 4.7 and when I go into the properties and change
>>>> the
>>>> sdk back to 4.6 it resolves the errors. I¹m not sure how to correct
>>>> this
>>>> problem to use the newer Flex SDK?
>>>> 
>>>> I¹m mostly interested in AIR applications. Below shows the ns I¹m
>>>> using.
>>>> Am I missing something in this basic setup?
>>>> 
>>>> 
>>>> 
>>>> <?xml version="1.0" encoding="utf-8"?>
>>>> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>>>> 			xmlns:s="library://ns.adobe.com/flex/spark"
>>>> 			xmlns:mx="library://ns.adobe.com/flex/mx">
>>>> 	
>>>> 	<s:ActionBar>
>>>> 		
>>>> 	</s:ActionBar>
>>>> 
>>>> 
>>>> 	
>>>> </s:WindowedApplication>
>>> 
>> 
> 


Re: Problem with some AIR components

Posted by Alex Harui <ah...@adobe.com>.
Hmm.  ActionBar looks like a mobile component.  Could that be the problem,
that the project is a non-mobile AIR project?

On 7/17/14 4:47 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:

>I’ve noticed it’s the AIR components… some have worked however.
>
>
>On Jul 17, 2014, at 12:01 AM, Alex Harui <ah...@adobe.com> wrote:
>
>> Is it just ActionBar or other components as well?  Do some components
>> always work?
>> 
>> On 7/16/14 9:16 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:
>> 
>>> I posed this sometime back, but I get an Error: "Could not resolve to a
>>> component implementation²
>>> 
>>> I¹m in FlashBuilder 4.7 and when I go into the properties and change
>>>the
>>> sdk back to 4.6 it resolves the errors. I¹m not sure how to correct
>>>this
>>> problem to use the newer Flex SDK?
>>> 
>>> I¹m mostly interested in AIR applications. Below shows the ns I¹m
>>>using.
>>> Am I missing something in this basic setup?
>>> 
>>> 
>>> 
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>>> 			xmlns:s="library://ns.adobe.com/flex/spark"
>>> 			xmlns:mx="library://ns.adobe.com/flex/mx">
>>> 	
>>> 	<s:ActionBar>
>>> 		
>>> 	</s:ActionBar>
>>> 
>>> 
>>> 	
>>> </s:WindowedApplication>
>> 
>


Re: Problem with some AIR components

Posted by Trevor Holman <tr...@cqproducts.com>.
I’ve noticed it’s the AIR components… some have worked however.


On Jul 17, 2014, at 12:01 AM, Alex Harui <ah...@adobe.com> wrote:

> Is it just ActionBar or other components as well?  Do some components
> always work?
> 
> On 7/16/14 9:16 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:
> 
>> I posed this sometime back, but I get an Error: "Could not resolve to a
>> component implementation²
>> 
>> I¹m in FlashBuilder 4.7 and when I go into the properties and change the
>> sdk back to 4.6 it resolves the errors. I¹m not sure how to correct this
>> problem to use the newer Flex SDK?
>> 
>> I¹m mostly interested in AIR applications. Below shows the ns I¹m using.
>> Am I missing something in this basic setup?
>> 
>> 
>> 
>> <?xml version="1.0" encoding="utf-8"?>
>> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>> 			xmlns:s="library://ns.adobe.com/flex/spark"
>> 			xmlns:mx="library://ns.adobe.com/flex/mx">
>> 	
>> 	<s:ActionBar>
>> 		
>> 	</s:ActionBar>
>> 
>> 
>> 	
>> </s:WindowedApplication>
> 


Re: Problem with some AIR components

Posted by Alex Harui <ah...@adobe.com>.
Is it just ActionBar or other components as well?  Do some components
always work?

On 7/16/14 9:16 AM, "Trevor Holman" <tr...@cqproducts.com> wrote:

>I posed this sometime back, but I get an Error: "Could not resolve to a
>component implementation²
>
>I¹m in FlashBuilder 4.7 and when I go into the properties and change the
>sdk back to 4.6 it resolves the errors. I¹m not sure how to correct this
>problem to use the newer Flex SDK?
>
>I¹m mostly interested in AIR applications. Below shows the ns I¹m using.
>Am I missing something in this basic setup?
>
>
>
><?xml version="1.0" encoding="utf-8"?>
><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>			xmlns:s="library://ns.adobe.com/flex/spark"
>			xmlns:mx="library://ns.adobe.com/flex/mx">
>	
>	<s:ActionBar>
>		
>	</s:ActionBar>
>
>
>	
></s:WindowedApplication>