I want to if it is possible to scroll a tileList without showing the scroll bars, and by clicking a right or left arrow
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it possible:
You can use your own arrow clips and mouse events instead of keyboard, but the logic is the same. Notice that the tileList in my example is 500×50, hence horizontalScrollPosition, use verticalScrollPosition for the vertical aspect ratio. Also, currently the scroll size is 10, but it will probably depend on the size of each rendered cell/speed, etc.
Another option is to use the scrollToIndex() method:
Also, you might find the Carousel component from the Yahoo! Astra components set useful as it sound like your description and it’s compatible with Flash’s V3 components (e.g. uses the same data provider(
fl.data.DataProvider), etc.):and here’s their sample snippet: