Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FlexBuilder beginner question

Posted on 2011-09-03
2
Medium Priority
?
875 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
dgofman earned 2000 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

Is Your AD Toolbox Looking More Like a Toybox?

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

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…
In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

718 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