Issue Using Flex SDK in Flash Professional (for as3corelib)

前端 未结 1 1099
天涯浪人
天涯浪人 2021-01-22 08:05

I recently found Mike Chambers\' as3corelib when looking for ways to render the stage to a file. Works great in my ActionScript 3.0 project in Flash Professional (CS6 if it matt

相关标签:
1条回答
  • 2021-01-22 08:37

    Don't know whether you got this one licked or not, but I hit the same thing. Love the library, hate the error messages.

    I downloaded the Flex SDK from here:

    Adobe Flex SDK Download

    Then, I unzipped that into a temporary folder.

    Then, since I didn't want the whole flex framework lurking about, I created a ./lib directory inside the directory where the .fla file lives. I then moved these swcs from here (Inside the unzipped file structure):

    mv ~/Downloads/flex_sdk_4.6/frameworks/libs/framework.swc ./lib
    mv ~/Downloads/flex_sdk_4.6/frameworks/libs/core.swc ./lib
    mv ~/Downloads/flex_sdk_4.6/frameworks/libs/mx/mx.swc ./lib
    

    Not sure why all three were required, but it stopped the compiler complaining (and got the date conversions working).

    You need to add them to the .fla's library list as well (under ActionScript Settings); but I'm betting you already knew that.

    Perhaps useful, perhaps not.

    0 讨论(0)
提交回复
热议问题