Reloading a picture at a set amount of time

is there a way to have a picture refresh every 3 seconds?
i’m trying to make a flash page for my desktop background, and i want a webcam on it… i went through their source and found out that it’s actually just a picture that’s resaved and reloaded every 3 seconds, but they did it with java…
thanks

your problem is that flash needs to take the picture from outside the swf file itself

anyway for the timer search the forum for these functions: getTimer or setInterval. another way to do is to place AS code at a certain frame calculated using your fps rate (if it’s 12 frames per second you would set your as on the 12*3 = 36th frame)
although it will sometime work with bugs if you use it…