Skip to main content
Participant
April 17, 2006
Answered

load image dimensions

  • April 17, 2006
  • 2 replies
  • 287 views
Hi,

I have a script where I load and scale different images in a single movie clip but it does not work correctly. The dimensions seem to "stay in memory" so every new image I load gets scaled according to the first scaling value. The scaling value stays the same until I load a larger image, then it gets modified but remains at the scale of the larger image.

Any ideas on what the problem is? I am attaching a sample of my code to this message.

Thank you,

-ez
This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Rothrock
I recently had a bit of a similar problem. The solution was at the start of the onLoadInit code I "reset" the x and y scales to 100 and then did my scaling.

2 replies

RothrockCorrect answer
Inspiring
April 18, 2006
I recently had a bit of a similar problem. The solution was at the start of the onLoadInit code I "reset" the x and y scales to 100 and then did my scaling.
Participant
April 18, 2006
great that did it!
thanks a lot