Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用我的 mxml 代码创建一个循环,以基于整数值创建可变数量的输入字段,该值是获取数据库表中列数的调用的结果。
我曾尝试使用中继器组件,但它需要一个数组,而我的调用是一个 int。
flex mxml 中有什么东西可以取一个 int 然后根据需要循环吗?
我建议创建一个基于整数构建所需数组的函数,并将生成的数组提供给中继器。
我希望这会有所帮助,现在没有更多时间了;)