PDA

View Full Version : [AS3] Tilelist that contains Movieclips with dynamically loaded images


engine00
04-23-2009, 04:36 AM
Hi everyone,

I'm new so I apologized if I'm asking something obvious. :rolleyes:

I want to create something *like* the cover flow. I've looked at a bunch of examples and almost all of them program the tweening using the Tween class. I want to do it using the timeline because it is easier to tweak the tweens using the GUI. The following approach has taken me very close but I'm still stuck.

Basically, my plan is to create a movie clip with that tweens that I want, convert it a (movie clip) symbol, load images, fit those images into the instances of the my movie clip symbol and finally put a row of them into a TileList.

I can get images dynamically loaded into movie clips, but there doesn't seem to be such a thing in Flash as a 'hollow' object that I can tween using a timeline and then host the image inside.

Do you have any suggestion/alternative for me?

Thanks in advance. :)

rocker
04-23-2009, 06:41 AM
What you need is a custom cell renderer. I was struggling with getting it to work for several days. Finally got it right. check this out:

http://www.actionscript.org/forums/showthread.php3?t=203892

engine00
04-23-2009, 11:57 AM
I'll definitely give that a try and post my results here. Thanks rocker! :)