|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
loadMovie gets JPG via http each other time
I load JPGs into my movie using loadMovie command attached to a button.
If I press the button - the picture appears each other time. Click 1: pic appeared Click 2: pic disappeared! 8-( Click 3: pic appeared again. Click 4: disappeared. I wonder why is it disappearing? See attached example. Button action has commented out line to test same action for local files - it works fine for local JPG. The problem appears only when loading via HTTP protocol. Initially I found this problem when loading different JPG into the same one movie - same situation - each other time it gives empty clip. Have anyone met this problem? |
|
#2
|
|||
|
|||
|
Hi, I played with your source a bit. The attachment works. All I did was move the code that deals with making the blank movie etc into the button. I added an unloadMovie action as well to make sure you dont just load a new image on top of the last one. Dont think you need this but consider its usage for later on. Try removing it, I think this will still work as the image is loaded into the same depth as the old one.
-Tann |
|
#3
|
|||
|
|||
|
Thanks for answering, Tann!
I came to the same solution - PHP Code:
Seems to be the only thing that helps. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > loadMovie gets JPG via http each other time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|