问题标签 [tilelist]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
actionscript-3 - AS3:拖动选择TileList中的多个图块
我和我的两个同学一起做一个项目,我们希望能够将光标拖到一个瓷砖列表上以选择多个瓷砖。我们真的找不到任何功能来做到这一点,是否有可能做到这一点?
最好的祝福
谢谢
apache-flex - Flex tilelist itemrender 实例与 dataprovider 长度不匹配
我将自定义 itemrenderer 用于我的 Tilelist 控件。当我运行我的应用程序时。我发现 customitemrenderer 的实例计数不等于 dataprovider listItem 计数。dataprovider 列表中只有一项,但有 2 个 customitemrenderer 实例。我算了,找不到原因。有谁能够帮我。非常感谢!
image - Flex 以编程方式将图像添加到数据网格单元格
我有一个带有动态创建的数据网格的 flex 应用程序。此数据网格也是动态填充的,某些列必须显示图像。每个单元格中的图像数量是可变的,取决于用户的选择。
我不确定我是如何管理的。我是否应该使用 TileList 为这些列分配项目渲染器,然后在用户更改其选择时向其中添加图像?如果是这样,请告诉我如何。
apache-flex - 双击不在图像上工作,而是在 Flex 中的平铺列表中的图像附近的空白处工作
我面临一个典型的问题。平铺列表从数组集合中获取数据,这些数据是 SWF 图像。
当用户单击图像时,它不会转到 itemDoubleClick(event) 处理程序。但是如果用户点击 Image 附近的空白区域,Control 会进入 itemDoubleClick(event) 处理程序。
如果我使用 itemClick(event) ,那么它工作正常。
预期结果: 当用户双击图像时,它应该加载到不同的布局上。
代码演示是 Mxml 部分是 :->
ActionScript 代码是:->
我受够了这个,请帮助。
根据您的评论,我正在更新 ItemRenderer 的代码。请检查这个。
更新代码
actionscript-3 - 在 AS3 中访问 TileList 组件内的影片剪辑
我已经创建了 TileList 的一个实例,并且还需要更改出现在影片剪辑中的文本字段的 alpha。如何访问 TileList 内的影片剪辑,以便更新文本 alpha?
这不起作用:
这不起作用:
这不起作用:
我真的很茫然。我一直在四处寻找解决方案 4 小时,但 TileList 组件的文档记录很差。
actionscript-3 - Flash AS3 TileList DataProvider getIndex
我正在使用网络上提供的 Flash 代码。我修改它以区分奇数行背景和偶数行的颜色。但我无法访问 data.index。如何访问索引?
actionscript-3 - Button on CustomCellRenderer only displays label
I am implementing my own CustomCellRenderer for a TileList. It has it's own button that I add, but the button won't display anything except the label text. Here is a code snippet:
The "BUY" label shows up, so the button isn't offscreen and is actually a child of the cell, but for some reason the button skin isn't showing up and it won't take any mouse clicks. I have tried setting different upskins for the button and nothing changes. I am at a loss here, anyone have an idea as to what might be happening?
flash - Flex3: Scroll jumps too fast and can't figure out why
I'm using a TileList in Flex 3 to display a list of products, 3 per row. The problem is that the third row doesn't fit into the panel and when I scroll down it jumps 3 rows, so the third row that was half visible is not seen, is there anyway to adjust the scroll speed? i have searched for other questions related and i found one valid answer, but i don't think it was the same problem.
This is the question: Flex List Scroll Speed With Mouse Wheel
Anyway this is the code of my tile list:
I have tried adjusting the "verticalLineScrollSize" attribute of the panel as the TileList is not a container and does not have that property. Do i really have to extends the class List and override the mouseWheelHandler method?
Thanks before hand.
actionscript-3 - AS3 更改 TileList 中对象的位置
我在 ActionScript 3 中使用 tileList 来显示影片剪辑。但是我有一个问题,不是所有电影剪辑的参考点都在正确的位置。这导致这些影片剪辑部分显示在 tileList 中它们的单元格之外。
在将movieClip 添加到tileList 之前,我曾尝试调整它的x 和y 位置,但这并没有改变任何东西。现在我试图找出是否可以更改 tileList 中已经存在的对象的 x 和 y 位置,但没有找到任何答案。
我希望我已经把我的问题说清楚了。提前致谢!
编辑:
这是我试过的代码:
我没有任何错误,它只是不影响对象在 tileList 中的位置。
c# - Telerik TileList 中缺少瓷砖
我的TileList (Telerik) 中有 14 个图块。但是,页面上只显示了其中的 11 个。由于某种原因,我无法使用该区域右下角的空间。知道为什么它会导致这个问题吗?
截屏:
代码: