I understand, I've attached a class that I made a while ago that does just this, you could use it if you like. Here is an example of how to use it:
import utils.*; var _items = [container.image1, container.image2, container.image3, container.image4, container.image5]; //these are your images var a = new WrappingScroller(_items, container, 1, 'h', null, 'l'); // these are your parameters a.start(); //start the scrolling I can think of a new way of doing it now though since flash 8, you could have a massive jpeg with no clipping with all of your images side by side, this could be scrolled by applying a matrix with a negative x axis translation value ( _imageMatrix.translate(-1, 0) ). Hope this helps, M. On 4/30/06, Santy Piet <[EMAIL PROTECTED]> wrote:
Hi, I'm Piet from Belgium, student Multimedia and communication. I have to build a dynamic photo scroller and I'm kinda stuck at coding the thing. This is the purpose of my swf : load external images (via xml) in a mc. -> no problem with xml, works perfect then it has to begin scrolling to the left in a frame but it has to loop, so when the last image comes in, the first one should follow on the last. (Some in the other direction) I tried some things but can't get it to work. The images have all the same height, but different widths. I work with the holders and a moviecliploader. If any of you guys can give me any advice, it would be greatly appreciated. -Piet, Belgium _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

