在 Flex 移动应用程序中,我遇到了一种情况,我需要动态显示一个可以滚动的类似 50X50 图片的网格。图片存储在mysql数据库中。
我真的不太了解 DataGrid 或 TileLayout。或者,如果有人知道任何其他类(class),我应该阅读以更好地解决这个问题。
所以,基本上就像我说的,我正在寻找任何 Flex/Actionscript-3 类的想法、示例、教程、想法、反馈或任何让我为这个问题指明正确方向的东西。我真的不知道我能/应该怎么做。
最佳答案
足够简单:
<fx:DataGroup dataProvider="{yourImageURLs}" width="100%" height="100%"
itemRenderer="yourCustomImageRenderer">
<fx:TileLayout requestedColumnCount="2" />
</fx:DataGroup>
这应该让你开始。
关于mysql - 在 Flex 移动应用程序中显示可滚动图片网格的最佳方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6287602/