Flex模块与组件 [英] flex module vs component

查看:126
本文介绍了Flex模块与组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
我是flex的新手,我想将应用程序分成几个部分,
我应该使用模块并在主应用程序中包含swf文件,还是应该使用组件?

Hi..
i am quite new to flex, i want to divide application in parts,
should i use module and include swf files in main application or i should use components?

推荐答案

最好使用模块...,因为它会创建单独的SWF文件. .虽然它会在光盘上创建更大的空间,但它可以正常工作,而不是组件...


当您在项目中具有可重用性时,基本上就使用组件...
its better to use module... because it creates a separate SWF file.. though it creates a higher space on the disc but it works fine rather than component...


Component is basically used when u have a re usability in ur project...


这篇关于Flex模块与组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆