actionscript-3flashflex4flash-cs5tilelist

Flash Tile List with Drag and Drop Functionality


I can easily done the drag and drop functionality in FLEX using DragManager class but enable to do same in Flash CS-5. I also want to show the preloader with each tile of tileList before image appear in tileList.Please help me on this.Thanks in advance.


Solution

  • Yes, check this one out on google code, it's extending the TileList from the Flash UI components.

    Regarding a preloader, the TileList should already use an ImageCell which contains an UILoader (so you can access bytesLoaded/bytesTotal) and it also inherits from the LabelButton UIComponent (so you have a label propert/textField available). It's up to you how you implement the preloader (either following how the label text is changed by the component to use that to display a percentage(%) based text while the tile is loading or using a custom preloader clip).

    You might find these older answers helpful: