ASC2 compiler with Flash Builder 4.6 - apache-flex

I have downloaded the latest AIR SDK and compiler from here:
http://www.adobe.com/devnet/air/air-sdk-download.html
But Flash Builder 4.6 doesn't accept it saying it's not a Flex SDK.
Is there a way to persuade Flash Builder 4.6 to use the ASC2 compiler? I am currently using the Apache Flex SDK 4.14.1 which seems not to include the latest compiler. I even overlaid the AIR SDK on the Flex one but to no avail.

Related

4.7 Flash Builder Not Supporting Design View

I am using Flash Builder 4.7 But not getting view in MXML Editor How to get it?
How can I get view mode in MXML editor in flash 4.7, assuming 4.7 has this feature?
Design View was removed in FB 4.7:
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html:
In order to better support future Apache-derived Flex SDKs, Design
View, Data Centric Development tools, and Flash Catalyst workflows
will be removed in updated 4.x versions of Flash Builder.
Design View Removed
you can try:
can i use design mode in fb 4.6 if I add apache flex sdk 4.9.1 as my compiler

Flash Builder 4.7 and 4.0 possible?

Hi I have a licensed Flash Builder 4.0 installed. Can I install 4.7 on the same pc? I need to test if the app can be compiled with Apache Flex.
Yes, simply install Flash Builder 4.7 to a different location.
Note that you can use later Flex versions in Flash Builder 4.0; follow the steps in the answer to Use Flex 4.5 and 4.0 in Adobe Flash Builder 4

migrate from Adobe Flex SDK 4.6 with AIR SDK 3.9 to Apache Flex SDK 4.12.0 with AIR SDK 3.9

I developed an application with Adobe Flex SDK 4.6 and Air SDK 3.9. Now I want to ship it to Apache Flex SDK 4.12.0 with AIR SDK 3.9 for use with Adobe Flash Builder.
I followed the steps list at the following links
http://flex.apache.org/installer.html
http://apache-flex-users.2333346.n4.nabble.com/Apache-Flex-4-12-release-candidate-td4888.html
http://lucamezzalira.com/2012/07/24/how-to-install-flex-4-8-0-sdk-in-flash-builder/
After I set the new configuration of the Flex SDK I get the following errors:
flex2.compiler.as3.EmbedEvaluator.UnableToTranscode
flex2.compiler.media.AbstractTranscoder.UnableToGenerateSource
Can someone help me migrate from Adobe Flex SDK to Apache Flex SDK 4.12.0 ?
It is resolved when restart the Flash builder

Activating Flex Automation Libraries

To "turn on" or "activate" the automation libraries for a SWF, a valid Flash Builder Pro license key needs to be compiled into the SWF. If you don't compile your SWF with a valid FB Pro license, you'll end up seeing a "License not present. With the trial version only limited records are allowed" error:
Background: I have a licensed version of Flash Builder 4.5 and I'm using Flex SDK 4.1. Watch what happens in the following examples:
Example #1 - Building my project using a licensed version of Flash Builder 4.5 with 4.1 SDK (http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4) FAILS to "turn on" the automation libraries. See Test41 project.
Test41 project found here (view source enabled): http://www.flexdevelopers.com/examples/license/41/Test.html
Example #2 - Building my project using a licensed version of Flash Builder 4.5 with 4.5 SDK (comes preinstalled with Flash Builder 4.5) SUCCEEDS to "turn on" the automation libraries. See Test45 project.
Test45 project found here (view source enabled): http://www.flexdevelopers.com/examples/license/45/Test45.html
Two different results. Hmmm, maybe that has something to do with my REAL problem:
My REAL problem: My SWF is not being compiled directly by Flash Builder but rather by ANT using the MXMLC and COMPC compilers found in the 4.1 SDK. These compilers "read" the flex-config.xml file.
So, inside flex-config.xml I've added this:
<licenses>
<license>
<product>flashbuilder45</product>
<serial-number>xxxx-xxxx-xxxx-xxxx-xxxx-xxxx</serial-number> <!-- this is my 4.5 license key -->
</license>
</licenses>
That didn't work. So I tried the "derived" serial number as discussed here (search for the word "derived"): How to properly define the Flashbuilder 4.5 Premium license for a maven flexmojo based build?
<licenses>
<license>
<product>flashbuilder45</product>
<serial-number>xxxxxxxxxxxxxxxxxxxxxxxx</serial-number> <!-- "Derived" sn number found in license.properties file -->
</license>
</licenses>
That didn't work either.... My guess is that I'm using a 4.5 serial number against a 4.1 SDK...and that's no good.
Besides upgrading my SDK to 4.5, anyone have any ideas what I can do to "activate" my SWF to handle automation using a Flash Builder 4.5 license, ANT, the 4.1 SDK compilers and flex-config.xml?
Here's the answer:
I eluded to this in my question.
If you're using the Flex 4.1 SDK and you want to "activate" your SWF for automation, charting, etc. Then you have to do this:
Compile your SWF using a licensed version of Flash Builder 4 WITH a Flash Builder 4 license key
OR
Compile your SWF using ANT, MXMLC, COMPC, flex-config and add this to flex-config:
<licenses>
<license>
<product>flashbuilder4</product>
<serial-number>xxxx-xxxx-xxxx-xxxx-xxxx-xxxx</serial-number> <!-- this is a FB 4 license key -->
</license>
</licenses>
If you only have a FB 4.5 license key and you're using SDK 4.1, I guess you have no choice but to upgrade to SDK 4.5+.

Can I update the AIR version for Flex Builer 3?

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.

Resources