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
Solved

FlexBuilder beginner question

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Closing FLash Privacy/Video Panel 2 863
Move Page left/Right based on Gesture Swipe 7 1,253
Adobe Air updateFramework 3 288
Flex 3 animation around the clock ..... 2 780
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…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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…

808 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