English 中文(简体)
Pure AS3项目中的弹性班
原标题:Flex classes in Pure AS3 projects

According to this blog article , some Flex components such as the Flex WebService and HTTPService don t rely on the Flex framework, so it should be possible to import and use them in a pure AS3 project.

我常常想知道Adobe是否设计了类似于Zend框架的模块化方法的灵活办法,这样一些班级就可以在没有装满整个框架的情况下进口。

你们是否知道可以这样使用的任何其他灵活组成部分/类别?

最佳回答

纯行动文本项目中使用的“灵活竞争者”汇编了W/ 闪电-将优化本身。 只有你使用的班级才进入最后的SWF。 因此,如果你把100个课堂放在图书馆的道路上,永远不会使用这些课堂,那么最终的档案规模不会受到影响。 因此,感到可以自由补充《灵活职业妇女公约》的信息,并公正使用《吉大港职业和/或网络服务》。

如果你利用“闪电灯”假设,在创建最终的“SWF”时会出现类似的优化。

尽管如此,Adobe似乎正在朝着分离灵活性的方向发展。 例如,在10个不同的《小型童工公约》中设有4个灵活班。 灵活海洛因的流动班子也孤立,在混合体中增加至少1个。

我建议你看一下rp子,因为我猜测是吉大港定居地和其他有关班子。

问题回答

文本说明框架和OSMF也是灵活框架的一部分,但可用于纯粹的AS3项目。





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Multiple Remote call made simultenously

I was making multiple remote calls and they are done sequentially and when I am getting a result event back it s triggering calls to all the methods with ResultEvent as an argument . I am supposed to ...

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签