Solved

FlexBuilder beginner question

Posted on 2011-09-03
2
855 Views
Last Modified: 2012-05-12
I am getting the following error when I tried my first flex project.  Can you please help to resolve.

Process terminated unexpectedly.

invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/2.7


Launch command details:  "C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\runtimes\air\win" C:\flash_workspace\learna\bin-debug\First-app.xml
 C:\flash_workspace\learna\bin-debug
0
Comment
Question by:ambuli
2 Comments
 
LVL 29

Accepted Solution

by:
dgofman earned 500 total points
ID: 36479486
Can you try to change in desription file an AIR version

<application xmlns="http://ns.adobe.com/air/application/2.0">
0
 

Author Comment

by:ambuli
ID: 36479524
Thanks.  I tried att -version and it reported 2.6.0.19120.  So, I changed the namespace to
<application xmlns="http://ns.adobe.com/air/application/2.6"> and it seems to be working.  But, the problem is I don't see any dialogs displayed.  But, when I tried to run, it says that the application is already running.  This was an example that I am trying out.

<?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">
	<fx:Script>
		<![CDATA[
			[Bindable]
			private var textSize:Number = 24;
			private function changeSize():void
			{
				textSize = mySlider.value;
			}
		]]>
	</fx:Script>

	<fx:Declarations>
		<!-- Place non-visual elements (e.g., services, value objects) here -->
	</fx:Declarations>
	<s:Panel id="myPanel" x="381" y="130" width="503" height="400">
		<s:Label id = "myLabel" x="149" y="32" text="Hello Flex" fontSize="{textSize}"/>
		<s:Button x="149" y="213" label="Good Bye" click="myPanel.visible=(false)"/>
		<s:HSlider id="mySlider" x="149" y="111" change="changeSize()" maximum="72" minimum="10"/>
	</s:Panel>
</s:WindowedApplication>

Open in new window

0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question