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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Rotating flash "news" box

    I was thinking of just making this custom unless there are canned solutions available.. it seems pretty simple.

    I want a little 400x300 screen that just rotates through 5 images and has buttons so you can choose the one you want to view. See nhl.com for example.

    My question is... is there an easy way to link the images to a folder so that I could just drop them in there and then replace them periodically with "image1.jpg" "image2.jpg" etc... so I don't have to constantly edit a flash file? How would I do this?

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Its possible if you load the images externally, meaning don't embed them directly into your file but load them dynamically.

    http://flashexplained.com/actionscri...ain-swf-movie/

    Here is an example that loads 3, which you can expand to 5 easily.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

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