0

我在 Flex 中有一个测试移动项目应用程序,它仅由一个 TabbedViewNavigatorApplication 和两个选项卡组成 - 在一个选项卡上我什么都没有,在另一个选项卡上我有一个带有内联 ArrayCollection 的 flexpad:List 仅用于测试 - 我有大约 50 个项目只有一个标签的列表。加载带有此列表的选项卡需要很长时间,并且滚动列表非常缓慢和跳跃。在这个应用程序中启动这么少,我在想我可能做错了什么来获得这个真正令人敬畏的表现。任何线索该怎么做?我正在使用最新的 AIR,Flex SDK 4.6,所有系统都是最新的。

这是看起来很慢的选项卡:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:flexpad="http://code.google.com/p/flexpad/" title="Tab 2">
    <flexpad:List width="300" height="200">
        <s:ArrayCollection>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
            <fx:Object label="Label One"></fx:Object>
            <fx:Object label="Label Two"></fx:Object>
            <fx:Object label="Label Three"></fx:Object>
            <fx:Object label="Label Four"></fx:Object>
            <fx:Object label="Label Five"></fx:Object>
        </s:ArrayCollection>
    </flexpad:List>
</s:View>
4

0 回答 0