Search code examples
actionscript-3flash-cs5flickr

Flash AS3: Dynamic Photo height being stretched?


I'm loading in a small thumbnail into a MovieClip as part of my Thumb class... but when I add it to the stage, the height of the thumbnail is stretched dramatically.

I've got my height and width set not only in the Thumb Class, but on the instance of the Thumb that is being added to the stage.

Any ideas?


Solution

  • It seems that the MovieClip was being sized before there was any content in it. There was no clear indication as to the boundaries, so when the photo finally loaded in, it was trying to occupy a massive area.