PDA

Click to See Complete Forum and Search --> : loadMovie not resetting size



gainesay
11-05-2002, 03:19 PM
If you have a moment, you math geniuses, please check out this dwcombined file. Why oh why does the clear button NOT reload the movie at it's original size? Every time the clear button is clicked the movie alternates from getting bigger to getting smaller. I am really stumped. Why doesn't it reload the swf at the size it was made?

HELP!!!!!!!!!!!!!!!!!

Jayhoo
11-07-2002, 08:19 AM
is you remove these 2 lines of code

//_root.plan._xscale=mscale;
//_root.plan._yscale=mscale;

from your file it loads the same size.

the problem is your working in scale,as your initial heights change the ratio of the percentage changes.

set your scale once only, as the swf is not fully loaded the mScale var relates to the current loaded swf ( although they are the same swf they have diffent scale values)

Hope that makes sense ( i know what i mean anyway)