RE: [flexcoders] Image Marquee

2008-07-11 Thread Rick Winscot
Kenny - your image marquee awaits.

 

http://www.quilix.com/node/19 

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kenny14390
Sent: Tuesday, July 08, 2008 3:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Image Marquee

 

Does anyone know how to create an image marquee in Flex? See
http://fishbowl.com for an example.

 



Re: [flexcoders] Image Marquee

2008-02-08 Thread Jon Bradley


On Feb 8, 2008, at 9:29 AM, Dan Vega wrote:

I am pretty new to Flex but a vet in the programming world so  
Action Script 3 is great and I think I am coming along quickly with  
it. I am trying to create a footer bar 800w 60h that will display  
an animated marquee of all the images i load from an xml file. I  
have about 30 images in there right now. I am using a tile list to  
display them and the way I have it the first 8 are showing up. Is  
there a way to animate the rest of the images  in a scrolling  
animation or am I completely on the wrong track here? Here is what  
I have so far, any help is greatly appreciated!



In this specific instance (if I read you right), you probably do not  
want to use a TileList. The TileList doesn't 'animate' in any simple  
fashion across all of the content in the list.


Your best bet if the number of items you are using is manageable (ie,  
not 200 or so), is to use a Repeater component with a custom item  
renderer. For the animation, I'd suggest running a timer to set the  
scroll position of the repeater.


You could also look into the TileCanvas at http://code.google.com/p/ 
jwopitz-lib/. The point being that both the repeater and Canvas  
components have smooth scrolling, whereas TileList does not (a point  
of contention a lot of people have had).


cheers,

jon