Dear Community!
I load a jpeg on a movieClip with a MovieClipLoader. I get the size of the jpeg in the onLoadInit function and resize the movieClip to the wanted size. The problem is that I just the correct size of jpeg the first time I load a jpeg in this frame and this movieClip. The size of the following jpegs are wrong, I get the size which I set after loading the first jpeg.
If I unload the movieClip before loading the new jpeg I get the size 0, 0 for the new loaded jpeg (in the onLoadInit function).
Do you have any ideas which might be the problem?
Best regards and Thanks!
Walter
I load a jpeg on a movieClip with a MovieClipLoader. I get the size of the jpeg in the onLoadInit function and resize the movieClip to the wanted size. The problem is that I just the correct size of jpeg the first time I load a jpeg in this frame and this movieClip. The size of the following jpegs are wrong, I get the size which I set after loading the first jpeg.
If I unload the movieClip before loading the new jpeg I get the size 0, 0 for the new loaded jpeg (in the onLoadInit function).
Do you have any ideas which might be the problem?
Best regards and Thanks!
Walter