Solved

FlexBuilder beginner question

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Flex Builder 4.5 3 395
FLex Calendar 3 534
AS3 Image Edit Package 3 547
convert array collection to string. The array has excess information. 22 2,001
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…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now