astra-flash icon indicating copy to clipboard operation
astra-flash copied to clipboard

Carousel issue with shoing last item

Open voland62 opened this issue 13 years ago • 3 comments

Description: Incorrect instantiating last CellRenderer (seems like duplicating prelast) when layout.displayedItemCount = 1;

Step to reproduce: In PagedCarousel Example - try to change layout.displayedItemCount from 2 to 1, and adjust other code for stepping by 1.

Walkaround: layout.drawAllRenderers = true; or adding fake Item as last element of the dataProvider.

voland62 avatar Sep 26 '11 15:09 voland62

This sounds like something that I've fixed. Are you working with the 1.4 release or the latest source here on Github?

joshtynjala avatar Sep 26 '11 17:09 joshtynjala

I download and install all astra stuff from yahoo site. To be honest, I can't figure out how to apply Github source code to the component ( Astra.mxp ). I guess there must be .fla files in the system which need to be recompiled whith Github sources to produce swc with components. Actually, even running Astra.mxp - doesn't work properly for me - I need to copy Yahoo!, Yahoo! Charts, Yahoo! Layout folders from %USER_DOCUMENTS%/AppData\Local\Adobe\Flash CS5.5\ru_RU\Configuration\Components\
to %FLASH_CS5.5_INSTALL_PATH%\Common\Configuration\Components\

So question is: how to apply Github sources ?

Andrew

PS Thx for great stuff, Josh

voland62 avatar Sep 27 '11 09:09 voland62

You should be able to put the *.as files for Carousel into your project's source path (probably in the same folder as your FLA) and they will override the precompiled component in the library.

joshtynjala avatar Sep 27 '11 17:09 joshtynjala