Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Carousel issue with shoing last item #1

Open
voland62 opened this issue Sep 26, 2011 · 3 comments
Open

Carousel issue with shoing last item #1

voland62 opened this issue Sep 26, 2011 · 3 comments

Comments

@voland62
Copy link

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.

@joshtynjala
Copy link
Owner

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

@voland62
Copy link
Author

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

@joshtynjala
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants