astra-flash
astra-flash copied to clipboard
Carousel issue with shoing last item
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.
This sounds like something that I've fixed. Are you working with the 1.4 release or the latest source here on Github?
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
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.