Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7830935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:28:57+00:00 2026-06-02T11:28:57+00:00

I want to if it is possible to scroll a tileList without showing the

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:28:58+00:00Added an answer on June 2, 2026 at 11:28 am

    Yes, it possible:

    var tileList:TileList = addChild(new TileList()) as TileList;
    tileList.setSize(500,50);
    tileList.dataProvider = dp;//assumes there's already a DataProvider instance ready
    
    tileList.scrollPolicy = ScrollPolicy.OFF;//' without showing the scroll bars'
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyPressed);// right or left arrow
    function onKeyPressed(event:KeyboardEvent):void{
        if(event.keyCode == Keyboard.LEFT)  tileList.horizontalScrollPosition -=10;
        if(event.keyCode == Keyboard.RIGHT) tileList.horizontalScrollPosition +=10;
    }
    

    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:

    var tileList:TileList = addChild(new TileList()) as TileList;
    tileList.setSize(500,50);
    tileList.dataProvider = dp;
    var index:int = 0;//scroll index
    var total:int = tileList.dataProvider.length;
    
    tileList.scrollPolicy = ScrollPolicy.OFF;
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyPressed);
    function onKeyPressed(event:KeyboardEvent):void{
        if(event.keyCode == Keyboard.LEFT)  index--;
        if(event.keyCode == Keyboard.RIGHT) index++;
        if(index < 0    ) index = total-1;//loop to last
        if(index > total) index = 0;//loop to first
        tileList.scrollToIndex(si);
        trace('scroll index:',si);
    }
    

    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.):

    Yahoo! Flash Carousel Component

    and here’s their sample snippet:

    var carouselData:Array =  
    [  
        { label: "Ayers Rock", source: "uluru.jpg" },  
        { label: "Kata Tjuta", source: "katatjuta.jpg" },  
        { label: "Moraine", source: "morraine.jpg" },  
        { label: "Museum", source: "museum.jpg" },  
        { label: "Japan", source: "japan.jpg" },  
        { label: "YUI", source: "yui.jpg" }  
    ];  
    
    var carousel:Carousel = new Carousel();  
    
    carousel.dataProvider = new DataProvider( carouselData );  
    carousel.labelField = "label";  
    carousel.sourceField = "source";  
    
    carousel.move( 54, 45 );  
    carousel.setSize( 302, 102 );  
    this.addChild( carousel );  
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to make a GridView scroll from left to right instead of
I want to know if it's possible to register a type library without using
Possible Duplicate: jQuery scroll To Element Basically, I want my user to be instantly
Possible Duplicate: JavaScript: Scroll Position of div with “overflow: auto” Hi, i want to
I want to know if it's possible to scroll to a given id in
I'm new to Django, and I'm not sure what I want is possible: I
As much as possible I want to avoid unnecessary duplication of code. In my
I want to trigger javascript alert using PHP. Is it possible I want to
Let's say I have a class of 30 students and want generate every possible
i want know if is possible, to get a specific element value of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.