Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Scrolling Banner

    Hey all,

    Could anyone possibly help me? I'm at a complete loss at how I'm going to do this.

    I want to create a banner with images scrolling from either right to left or left to right.

    Total flash area size 458 x 106 pixels.
    I want roughly 3 images displayed at a time. All images are 106px high.
    I also want to have a 2mm gap between photos.

    If possible, I want to have flash read the pictures from a folder and have the order sorted by a naming convention. And, again, if possible, I would like the speed and direction configurable from a config file of some sort.

    Thankyou so much!

    ~Playgear

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Well Flash can't read from a folder without the help of something like PHP to offer it that ability. Flash is client side. Do you have Flash knowledge now? If you do a couple searches there are plenty of tutorials that do similar things. You might have to put a few things together in the end...

    Idea: set up an xml config file that loads with the list of images and any parameters for the file.

    We can help you more if you find something you want to use and try to set it up, then when you have problems we can help troubleshoot.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    Regular Coder
    Join Date
    Mar 2008
    Posts
    118
    Thanks
    3
    Thanked 9 Times in 9 Posts
    You could pull the image filenames from a mySQL database using PHP, then create the image tags and pull all of that between two html marquee tags.


  •  

    Posting Permissions

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