Skip to main content
April 25, 2007
Question

loadClip: size problem - SOLVED

  • April 25, 2007
  • 1 reply
  • 236 views
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
This topic has been closed for replies.

1 reply

April 25, 2007
Solved the problem!

You have to set _xscale and _yscale to 100 before loading the new jpeg.