Can I update the AIR version for Flex Builer 3? - apache-flex

I am using Flex Builder with Flex SDK 3.2. It has Air 1.0. Now since Air 2 has a whole lot of features that I want to use / study, can I update the AIR version of my Flex Builder so I can build air applications that utilize the new features? I have the 3.5 and 4.0 SKDs with me.

The following tech note from Adobe, http://kb2.adobe.com/cps/495/cpsid_49532.html, will help you overlay any desired version of Adobe AIR SDK on a given Flex SDK. HTH.

Related

Migrating existing Flex 4.x projects to Apache Flex 4.x

I've been tasked with maintaining some existing flex 4.6 projects and am wanting to future proof them for the latest browsers. Should I move the projects over to Apache flex? If so what do I need to do to make these existing projects compatible with Apache flex?
No, you don't need to migrate these projects to Apache Flex.
Flex 4.6 projects can still be built and deployed; they just don't have the latest SDK changes. Your projects will remain compatible with future Flash Player versions.
The only reason to update to Apache Flex at this point is if you need features introduced in a later version of the Flex SDK.
Recent versions of the Apache Flex SDK have newer features, a large number of bug fixes, have been tested with the latest version of Flash Player, and in general have better performance and consume less memory than Adobe Flex 4.6.
So while Apache Flex is not required to run in the latest browsers you stil may want to consider moving to Apache Flex for these reasons.
My experience is with Flex/AIR desktop apps, I migrated using the Apache Flex installer to download latest SDK and AIR, then in the IDE you need to add the new SDK and select it. I did not had bugs or problems when I upgraded to latest versions(but you may encounter bugs or differences so you need to do some testing)

Can my app use ServerSocket capabilities if it's running on a version of AIR < 2.5?

In our AIR app, we are using class ServerSocket to listen for connections on a specific port. According to the docs, this is available from AIR 2.0 onwards. The event that we need to listen to in order to behave like a server is ServerSocketConnectEvent, which is also available since AIR 2.0. There are several examples of this online, tutorials etc.
The problem is that the former class is available in Flex SDK 4.0, while the event itself exists only from Flex SDK 4.1 onwards. That means that our runtime needs to be AIR 2.5 or above. On our target machine (Linux Red Hat Enterprise Linux Server release 5.5) we could only install AIR 2.0 (there are problems with dependencies on glibc so we can't upgrade to AIR 2.5).
Is there any error on those release docs and tutorials when they say all these features are available since AIR 2.0? My impression is that the ability to work as a server, listening on a socket, is only available from 2.5 onwards.
If so, is there a way we could benefit from those new features, even if our runtime is 2.0? i.e. embedding those SWC (ServerSocketConnectEvent) from the AIR SDK 2.5 within our application?
That makes no sense. ServerSocketConnectEvent is not part of the Flex SDK, it's part of the Air SDK, and the api says it's been around since Air 2.
I think your problem is just with your project setup. It should be possible to use Flex 4 with Air 2.0 and use that class. Make sure you're pointing to the proper Air SDK and it should work. Plus, Flex 4.1 is compatible with Air 2.0...

Differences Between Flex SDK and Flash Builder

Can Anyone tell me the differences between Flex SDK and Flash Builder ??
Like - "Mobile development using Adobe Flex SDK "Hero" and Flash Builder "Burrito"
Are Both same ?? Please clarify in details. We understand that Flex is an IDE or SDK(software development kit ) where we build,compile and deploy projects with sets of components and class library available .
Previously it was clear that Adobe Flex builder 3 has been renamed to Adobe Flash Builder 4 like that.
I am really confused. Can anyone help me out.
Thanks in Advance.
Flash Builder Burrito is the next version of Flash Builder (formerly Flex Builder). It's an IDE used to help write Flex applications.
Flex Hero is the next version of the Flex framework. It provides the classes, components and compiler which form the building blocks of Flex applications.
Ie: You can build Flex Hero applications by writing and editing code inside Flash Builder Burrito.
Adobe Flex Builder 3 and Flash Builder 4 are graphical user interfaces, an IDE.
At the same time there are many versions of flex, for example flex builder 3 introduced flex 3 sdk and Flash Builder 4 introduced flex 4 sdk... Those frameworks are open source so u can compile and develop an app using the sdk, that is not very simple because u will need to create you source code in a plain text editor, totally manual and compile from a command line... Flash builder 4 and Flex Builder are IDE but they are not open source and aren't free, so you will have have to pay or use a student license from adobe flash plattform

What is the Adobe Flex Framework for Mobile devices?

currently worrking on Adobe Flex Technologies. I want to know whether Adobe had launched a Flex platform for mobile devices or not. If Launched what is the name of the Framework and please come with a sample example URL .
An early mobile branch of the Flex framework is expected to be available in 2010.
HI,
Adobe officially declare Adobe Air platform for Android and name it "Burrito".
In previous version developer make application for Android using AIR 2.5 and make build (.apk) file for Android with cmd. Now in Flex Burrito (SDK) make entirely sole application for Android and Black Barry (Note Book).
for more information about the SDk and sample application visit the following links.
http://www.adobe.com/devnet/devices/articles/blackberry_tablet_os_sdk.html
http://labs.adobe.com/technologies/flexsdk_hero/samples/
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html
Thnaks
Take a look at ELIPS Studio, this cross platform environment allows you to develop native mobile apps for iPhone, Android, Symbian, Windows Mobile, in FLEX.
It's available as a plugin for Flex Builder.
ELIPS Studio
in Flex using Air sdk 2.5 you create apps for android base mobiles.
With Flex 4.6 development of mobile applications in Iphone, Android and even Blackberry is supported.

Should I use the Flex or Air SDK to develop an Air app?

I want to develop an Adobe air application. Whats the difference between using the Air SDK or Flex SDK and what are the advantages / disadvantages? My application will use a SQLlite database and PHP may be involved later if I turn the whole thing into a web app.
thanks
"If you want to develop an Air application, you must use the Air SDK. If you want to develop a Flex application that runs on Air, you need to use both." - #joshtnjala
I believe #joshtnjala to be partially correct, but I wanted to add on it. If using the Flex 3.3 SDK, you no longer require the AIR SDK as those tools are available to the Flex 3.3 SDK. It is important to note, because I see a lot of confusion or misuse of the term, Flex is actually three things.
Flex SDK (currently 3.3)
allows developers without the Flash and/or Flex IDE's, to develop and compile/publish Actionscript3 and MXML code to flash content (SWF). For example, one could use FlashDevelop for an IDE, and compile the code using the Flex 3.3 SDK.
Flex Framework
(From adobe [http://www.adobe.com/products/flex/overview/][1]) Flex is a free, open source framework for building highly interactive, expressive web applications that deploy consistently on all major browsers, desktops, and operating systems. It provides a modern, standards-based language and programming model that supports common design patterns. MXML, a declarative XML-based language, is used to describe UI layout and behaviors, and ActionScriptâ„¢ 3, a powerful object-oriented programming language, is used to create client logic. Flex also includes a rich component library with more than 100 proven, extensible UI components for creating rich Internet applications (RIAs), as well as an interactive Flex application debugger.
Flex Builder 3
Flex Builder is merely an IDE to assist in the development of flash (SWF), or AIR content. This builder utilizes the SDK above to compile. The framework may or may not be used depending on the developers needs. Many developers have taken themselves out of the FLASH IDE (THAT NASTY TIMELINE!) and began scripting their AS3 purely in the Flex Builder IDE as it provides many useful features for the "advanced" programmer; Not to mention its a very clean UI and is built on eclipse so it has many plugins and a solid community behind its architecture.
That being said, to expand on what joshtnala said, the difference between using the AIR SKD and the Flex 3.3 SDK, is that if you merely want to build an AIR app, composed of Actiosncript3 code, the AIR SDK is all you need (33mb unpacked). If you intend to use MXML and any part of the "Flex Framework" then you must use the Flex 3.3 SDK (190mb unpacked). This will allow you to use the many available components such as Datagrids, Accordions, etc, in your AIR application. So in the end, both will develop an AIR application as Flex 3.3 SDK incorporates the AIR 1.5 development tools. Abstract your project out, figure out what you will need, if a component works for that, or if a custom implementation is needed, etc, then choose your toolkit.
Hope this helps.
These frameworks are combinable. If you want your app to be both on the web and the desktop, make it using the Flex SDK, then wrap the desktop version of this using Air.
If you're considering deploying on the web, and communicating with a backend server and all that jazz, then flex is the way to go. If your target is desktop users, then AIR.
If you want to develop an Air application, you must use the Air SDK. If you want to develop a Flex application that runs on Air, you need to use both.

Resources