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

前端 未结 3 1551
栀梦
栀梦 2021-01-05 03:32

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\' an

3条回答
  •  难免孤独
    2021-01-05 04:09

    I have a better trick which doesn't involve cheating Flash Builder about the Flex SDK you are using. It is about patching a single bit in one compiled class. After that, the designer will open no matter the version of Flex you are using. You can read a bit more about it in my article at:

    Latest Flex SDK in Adobe Flash Builder 4.6
    (I've just dared to open a blog, after almost 40 years in the area!),

    However, here you have the solution in a nutshell:

    You have to patch the class:
    com\adobe\flexbuilder\mxml\editor\MXMLEditor.class
    which is inside:
    eclipse\plugins\com.adobe.flexbuilder.mxml.editor_4.6.1.335153\mxml.jar

    With an hexadecimal editor, open the file MXMLEditor.class and change the byte:
    3D (61 dec.) at address 0x9D04
    to:
    AC (172 dec.)

    After that, you will be able to use the Flash Builder designer with any version of Flex SDK. But be cautious and take the appropriate precautions first:

    • Do a backup of the .jar file before changing anything.
    • Check that the version of your mxml.jar is the same as the above.
    • Revise your software license and check that it's ok for you to do the patch.

提交回复
热议问题