Link to home
Start Free TrialLog in
Avatar of VeyronZA
VeyronZA

asked on

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
Avatar of scooby_56
scooby_56
Flag of United Kingdom of Great Britain and Northern Ireland image

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);
Avatar of VeyronZA
VeyronZA

ASKER

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)
ASKER CERTIFIED SOLUTION
Avatar of scooby_56
scooby_56
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

It seems that the app don`t refresh the image, it only constantly shows the same image from load.