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
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
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)
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
It seems that the app don`t refresh the image, it only constantly shows the same image from load.
It seems that the app don`t refresh the image, it only constantly shows the same image from load.
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);