gopo
06-09-2005, 03:16 PM
Hi guys
I hope someone can help me. My problem might be simple, but since I only have flash basics…
What I need is to load a picture (wathever format is appropriate for flash, jpg, png, gif…) into a box continuously (maybe a loop). I know, trough php the location and the name of the picture. My only problem is that on that page I have an upload function, trough which the user can at any time change the picture with another one (trough a pop up upload). Since php or html can’t reload the picture without reloading the page itself, I need to the flash to do it.
As it is now I’m using an iframe which refreshes every second, but it’s an ugly solution. Could someone provide me with instructions on how to do it? It will be really appreciated.
I’ve tried to do it myself, by making a flash movie with a movieclip inside it, using this method
myMovieClip.loadImage(“path/to/image”); and it does load the image, but it dosen’t refresh it.
Once again: I only need to load trough flash ONE picture!
Thank you
I hope someone can help me. My problem might be simple, but since I only have flash basics…
What I need is to load a picture (wathever format is appropriate for flash, jpg, png, gif…) into a box continuously (maybe a loop). I know, trough php the location and the name of the picture. My only problem is that on that page I have an upload function, trough which the user can at any time change the picture with another one (trough a pop up upload). Since php or html can’t reload the picture without reloading the page itself, I need to the flash to do it.
As it is now I’m using an iframe which refreshes every second, but it’s an ugly solution. Could someone provide me with instructions on how to do it? It will be really appreciated.
I’ve tried to do it myself, by making a flash movie with a movieclip inside it, using this method
myMovieClip.loadImage(“path/to/image”); and it does load the image, but it dosen’t refresh it.
Once again: I only need to load trough flash ONE picture!
Thank you