我在哪里可以找到Flex源代码?

时间:2021-06-11 03:03:32

I keep hearing that Flex is open source and I figured that a great way to learn about the inner workings would be to look at it. I can easily find the Flex SDK (http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code), but I'm wanting to look at the class definitions for the MXML core library (like NumericStepper). Have I misunderstood, or is this kind of thing available somewhere?

我一直听说Flex是开源的,我认为了解内部工作的好方法就是看它。我可以很容易地找到Flex SDK(http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code),但我想查看MXML核心库的类定义(如NumericStepper) )。我误解了,或者某种东西是否可用?

Note, I'm looking for the source of some core MXML components so I can see how they work internally, not for the compiler's source. Does what I've linked above have what I'm looking for and I just can't find it in the director structure?

注意,我正在寻找一些核心MXML组件的来源,所以我可以看到它们如何在内部工作,而不是编译器的源。我上面链接的内容是否具有我正在寻找的内容,而我在导演结构中找不到它?

4 个解决方案

#1


11  

If you have installed the sdk or Flex builder all of the source files are installed locally on your computer, I believe.

如果您已经安装了sdk或Flex构建器,那么所有源文件都会在您的计算机上本地安装,我相信。

I have flex builder 3 installed source is located here(depending on where you installed):

我有flex builder 3安装源位于这里(取决于你安装的地方):

Source for flex 3 sdk

flex 3 sdk的来源

C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\projects\framework\src\mx

C:\ Program Files \ Adob​​e \ Flex Builder 3 \ sdks \ 3.0.0 \ frameworks \ projects \ framework \ src \ mx

Source for flex 2 sdk

flex 2 sdk的来源

C:\Program Files\Adobe\Flex Builder 3\sdks\2.0.1\frameworks\source\mx

C:\ Program Files \ Adob​​e \ Flex Builder 3 \ sdks \ 2.0.1 \ frameworks \ source \ mx

Hope this helps and alleviates the need to be online to view the source...

希望这有助于减轻在线查看来源的需要......

#2


3  

The source is found in the SVN repository that is here: http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code

源代码位于SVN存储库中,该存储库位于:http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code

#3


3  

Here's a direct link to the NumericStepper code: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as

这是NumericStepper代码的直接链接:http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as

And here's the complete code of the framework: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/

这里是框架的完整代码:http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/

#4


1  

The open source stuff appears to be at:

开源的东西似乎在:

http://opensource.adobe.com/wiki/display/flexsdk/Downloads

I don't know if everything is available there yet, there may be issues with third-party stuff.

我不知道那里是否还有一切可用,第三方的东西可能存在问题。

#1


11  

If you have installed the sdk or Flex builder all of the source files are installed locally on your computer, I believe.

如果您已经安装了sdk或Flex构建器,那么所有源文件都会在您的计算机上本地安装,我相信。

I have flex builder 3 installed source is located here(depending on where you installed):

我有flex builder 3安装源位于这里(取决于你安装的地方):

Source for flex 3 sdk

flex 3 sdk的来源

C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\projects\framework\src\mx

C:\ Program Files \ Adob​​e \ Flex Builder 3 \ sdks \ 3.0.0 \ frameworks \ projects \ framework \ src \ mx

Source for flex 2 sdk

flex 2 sdk的来源

C:\Program Files\Adobe\Flex Builder 3\sdks\2.0.1\frameworks\source\mx

C:\ Program Files \ Adob​​e \ Flex Builder 3 \ sdks \ 2.0.1 \ frameworks \ source \ mx

Hope this helps and alleviates the need to be online to view the source...

希望这有助于减轻在线查看来源的需要......

#2


3  

The source is found in the SVN repository that is here: http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code

源代码位于SVN存储库中,该存储库位于:http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code

#3


3  

Here's a direct link to the NumericStepper code: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as

这是NumericStepper代码的直接链接:http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as

And here's the complete code of the framework: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/

这里是框架的完整代码:http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/

#4


1  

The open source stuff appears to be at:

开源的东西似乎在:

http://opensource.adobe.com/wiki/display/flexsdk/Downloads

I don't know if everything is available there yet, there may be issues with third-party stuff.

我不知道那里是否还有一切可用,第三方的东西可能存在问题。