-
Getting the same file repeatedly
Hi All,
Is there a way to repeatedly download a file with the same file name?
I use that before:
function img()
{
image = new Array()
image[0]=new Image()
image[0].src="Cam01.jpg"
document.video1.src=image[0].src
setTimeout("img()",100)
}
but after it got the file once, it stopped. What I need is something like a webcam effect. Can anybody help?
Many thanks in advance.
-
I think what you should be able to do is create a seperate thread which will sleep for 5 seconds or whatever and then call an interupt to your main thread. Whenever the interrupt occurs you can then load the picture.
Hope that helps.
Meethoss
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks