Hello Steve,

I would be interested in seeing your more advanced version.

Nyls

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
Steve Krichten
Verzonden: dinsdag 2 mei 2006 15:36
Aan: [email protected]
Onderwerp: [osflash] Lsit + CellRenderer or ScrollPane

I don't like macromedia's list component because of its scrolling 
logic.  It wants to re-render items as they come into view, and in some 
situations this causes an annoying blinking effect.

So, I put together my own classes to handle scrolling lists.  Instead of 
subclassing scrollpane as you mentioned, I made a class that uses a 
scrollpane via composition.  Also it allows you to visually design your 
items (like a cell renderer) in the IDE.  More details here...

http://www.layer51.com/proto/d.aspx?f=1396

I also have a much more advanced version of this; if you are interested 
let me know.

-Steve

----------------------------------------------------------------------
Hi! I need to display a high visually appealing list of items in my RIA. 
Each item in the list is a quite complex movieclip with its own visual 
behaviour. I thought in subclassing ScrollPane component, or make a v2 
component based on the container base-class or maybe even start from 
scratch but then I would have to implement the scrollbar logic which is 
often a boring and hard task to do. I already tried to use the container 
and use its methods (attachChild() etc) but with no sucess. I could also 
use the scrollpane by making it load a external swf or a library item 
that has the logic I want. I just discovered the CellRenderer API... I 
guess I could make my items into a List component easyli by just using 
this API? I don“t have access to flash here at work, I will try this 
when I get home, but any suggestions would be much appreaciated! Thanks, 
- Marcelo.

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to