Click to See Complete Forum and Search --> : AS3 Image Scroller
sufire
08-22-2009, 01:41 PM
I need to make a *LIGHTWEIGHT* horozontal image scoller. It will have a left and right arrow so users can go through the images. If I can just get this part working, I can add the other features later like making the images clickable. I just need somewhere to start. Also, this must import the image list dynamically (XML? PHP Vars?). I can format the list in any format.
This is what I'm trying to reproduce.. in Flash AS3. The scroller on this page is written with about 45kb of javascript which I find ridiculous.
http://www.tnt.tv/sports/nascar/racebuddy09_live/
flosculus
08-22-2009, 03:37 PM
this "gallery" your creating it split up into 2 parts, xml data, and scroll bar.
you will have to complete each part seperately.
follow this tutorial TO THE LETTER!
http://www.flashessential.com/archives/17
you then need to replace the textfield in the tut with a movieclip.
now your algebraic skills will be strained. you have to use a mask to only show the part of the movielip you want to appear, and you have to modify the scrollbar to move the MC up or down.
tut for xml gallery
http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
i strongly suggest that you go though each tutorial and figure the rest out for yourself.
dont worry, its not impossible to figure it out. and if your AC3 skills are a bit rusty, then this little subproject will be a perfect way for your to get some practice.
after i spent most of a day dissecting different ways of doing it.
good luck, flos
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.