Flash refresh image every 10 seconds

Hi,

I`m really not good with flash, and seek some advice, I have a webcam sending a new image to the server each 10 seconds, and would like to create a flash file (Actionscript 3) to load and refresh the image each 10 seconds (might need to change).

Thanks!
Veyron
VeyronZAAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scooby_56Commented:
will you know the URL of the image on the server? will it remain static ?

how to load a dynamic image in flash...
http://blog.728media.com/2009/03/11/how-to-load-external-images-in-actionscript-30/

you could the request (that loads an image) into a timer to ask for the new image every 10 secs (10000 ms)

setTimeout(getMyImage, 10000);
VeyronZAAuthor Commented:
Hi,

The url will remain static, like: http://www.domain.com/app/atcam.png

Sorry, i am an total newby with flash, so i am looking into the provided link, but don't really understand what the user has done. (looking for an download link to see how he done the script so that i can learn from it)
scooby_56Commented:
The attached will make a url request every 10 seconds to a url that you specify.

Put both files in a directory to test it. Just replace the image URL with your own.
LoadImage.fla
myImage.GIF

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VeyronZAAuthor Commented:
Hi,

It seems that the app don`t refresh the image, it only constantly shows the same image from load.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.