Solved

FlexBuilder beginner question

Posted on 2011-09-03
2
858 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 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

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…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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