Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can i use design mode in fb 4.6 if I add apache flex sdk 4.9.1 as my compiler?

I am running Flash Builder 4.6 and just added Apache flex sdk 4.9.1 (build 1447119) to my mac book pro running Moutain Lion and when i tried to do a quick 'hello world' and add a few elements to the stage using design mode i got following error:

The design mode is disabled as the project uses an incompatible version of the flex sdk

My question is if i go beyond the default sdk that shipped with fb 4.6 do I therefore loose the ability to use design mode and have to do everything in source mode?

Also, if i am using windows the error is quite similar when i mouseover on Design tab

Design mode not supported - incompatible SDK version - Apache Flex

Thanks

like image 492
tamak Avatar asked Mar 27 '13 17:03

tamak


People also ask

Is Flex still used?

In November, 2011, Adobe announced they were no longer supporting Adobe Flex.

How to download Flex SDK?

Install the Flex SDKDownload Flex SDK ZIP file from the Adobe Website or the Adobe Open Source site. Create a directory to contain Flex SDK. Extract the Flex SDK ZIP file to this directory.

What is FlexJS?

FlexJS™ is a new application development framework that cross compiles MXML and ActionScript into HTML and JavaScript. It runs in web, desktop and mobile(app) in swf format and runs in browser based environments as HTML/JS/CSS files without the need for the Flash Player plugin.


2 Answers

There is a hack you can do to get it working (I've done this myself and it works perfectly so far) that involves editing an XML file in the 4.9.1 SDK to trick Flash Builder into thinking it is using Flex 4.6. You'll need to edit the 'flex-sdk-description.xml' Version tag and change it from 4.9.1 to 4.6 and that should take care of it. Location of the file is in the SDK folder in 4.9.1 folder, here is the path in Windows 7:

C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.9.1
like image 109
Keoni Avatar answered Oct 21 '22 17:10

Keoni


I confirm the say by wakqasahmed

I changed it at Apache Flex 4.10

<?xml version="1.0"?>
<flex-sdk-description>
    <name>Apache Flex 4.10.0 FP 11.8 AIR 3.8 en_US</name>
    <!--version>4.10.0</version-->
    <version>4.6.0</version>
    <build>20130801</build>
</flex-sdk-description>

And the Design mode is enable again!, Thanks

like image 39
frss-soft.com Avatar answered Oct 21 '22 17:10

frss-soft.com