简体   繁体   English

如何在FLEX4和AS3中添加属性文件

[英]how to add properties files in FLEX4 and AS3

Is there any existence of properties file in FLEX4/AS3 ? FLEX4 / AS3中是否存在属性文件? my requirement is to read data from properties file that flex AIR loading time is minimized and should not occupy more memory. 我的要求是从属性文件中读取数据,以使Flex AIR加载时间最小化,并且不应占用更多内存。 my data set is an array containing around 2000 objects in key:value pair format. 我的数据组是包含键2000左右对象的数组:值对格式。 How can I treat this large data set that it should not occupy more memory and less initial loading time. 我如何处理这个大数据集,它不应该占用更多内存和更少的初始加载时间。

Is XML is a better idea ? XML是更好的主意吗?

Pls provide any suitable suggestions. 请提供任何合适的建议。

Thanks in advance. 提前致谢。

I'm not sure that I understood your question, but using of Vectors ( http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Vector.html ) could increase the speed of the reading of data. 我不确定我是否理解您的问题,但是使用Vectors( http://help.adobe.com/zh_CN/FlashPlatform/reference/actionscript/3/Vector.html )可以提高数据读取的速度。 Maybe it will be good to check if it is possible to split the array and use only those parts which you need. 也许最好检查是否可以拆分阵列并仅使用所需的那些部分。 Where is this data coming from? 这些数据从哪里来?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM