A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Flash Image Scroller (Horizontal)

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    9

    Flash Image Scroller (Horizontal)

    Hey people,

    such a simple problem causing me loads of grief!!

    How do i make a simple horizantal scroller displaying a series of images. like here :www.tomkandesign.com

    I hope it can be dynamic but i dont think that is possible. Can you edit the scroller aswell?

    Please help

  2. #2
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    1.) You can use the SCROLL PANE component in Flash
    2.) I believe it can be dynamic, set up your movieClip loader or loadMovie call to lad into the scrollPane component...
    3.) You can skin the components, but its a PITA... but there are tuts on how to accomplish it.

    otherwise you are only allowed to STYLE it easily, (which doesnt let you do everything)

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    9
    Have you got a tutorial for using the scrollpane?

  4. #4
    Junior Member
    Join Date
    Jun 2007
    Posts
    9
    Ive figured out the usage of a scrollpane. How do i dynamically load from a folder that contains images and stop when its all loaded?

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    9
    no reply? How frustrating

  6. #6
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    well,- it seems you are a newby but want to create something rather advanced. If dynamic loading is to difficult for you why not just placing them inside flash without the need of preloading?

    For preloading youŽd first need some data that describes wich images need to be loaded like an array or a xml file, wich could look like this:
    PHP Code:
    files = new Array("folder/a.jpg","folder/b.jpg","folder/c.jpg");
    for (var 
    i=1;i<=files.length;i++){
        
    container.createEmptyMovieClip("subContainer"+i,i);//create sub- movieClip in Container MC on the stage
        
    container["subContainer"+i]._x = (i-1)*64;//arrange them in 64 pixel distances
        
    container["subContainer"+i].loadMovie(files[i-1]);//load the image


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center