我可以将滑块拇指延伸到轨道之外吗
编程新手,
我正在 Flex 中编写一个长号应用程序,我希望长号的幻灯片充当 HSlider。我已经分配了所有组件和皮肤,但我的滑块仅沿错误方向移动了大约 20 个像素。我认为拇指组件实际上比轨道长。这会导致拇指撞到轨道的边界,并且不允许它移动到我想要的位置。
我想我想在拇指组件上注册一个点来充当拇指而不是整个图像。这可能吗?
我想发布照片,但我的声誉还不够高。
谢谢,
杰马丁
Programming newbie here,
I am writing a trombone app in Flex and I want the slide of the trombone to act as an HSlider. I have all the components and skins assigned, but my slider only moves about 20 pixels in the wrong direction. I figured that the thumb component is actually longer than the track. This results in the thumb bumping up against the border of the track and not allowing it to move where I want it to go.
I guess I want to register a point on the thumb component to act as the thumb instead of the whole image. Is that possible?
I wanted to post pictures, but I don't have a high enough reputation yet.
Thanks,
JMartin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您使用 Flex 4 并通过适当的皮肤实现时,这应该不会太困难。
滑块,
设计视图
预期的。
我的两分钱。
As you are working with Flex 4, with a proper skin implementation, this should not be too difficult.
slider,
design view
expected.
My two cents.
尝试使用 Flash Catalyst 来构建您的 HSlider。然后将滑块导出到 Flash Builder。
Try to use Flash Catalyst in order to build up your HSlider. Then Export the Slider to Flash Builder.