2 Replies Latest reply on Oct 8, 2007 6:55 AM by Newsgroup_User

    Scaling Width but Not Height?

    Level 7
      Hi

      I am working on a chart for a hotel in Flash CS3 / AS 3.0. I have created a
      movie clip inside my main movie that I want to replicate to "fill in" the
      chart. What I want to do is scale the background of the clip to expand
      across the number of days for a reservation. However, when I scale the clip
      it scales both the width AND height. I don't want to make the height taller.
      How can I prevent the scaling of the height?

      Thanks

      Rich


        • 1. Re: Scaling Width but Not Height?
          clbeech Level 3
          wow, finally, I guess AS3 must have a scale function that scales both dimensions, great. I know that in AS2, we always have to scale each dimension independantly (pain). So there still must be a function in AS3 like the old:

          mc._xscale OR mc._yscale

          don't know for sure Rich, still using AS2, but try to look for these options.
          • 2. Re: Scaling Width but Not Height?
            Level 7
            Hi --

            What I have my code doing is changing the width of the clip. I will look
            into the "xscale" or equivilent.

            Thanks

            Rich

            "clbeech" <webforumsuser@macromedia.com> wrote in message
            news:febdc5$mr2$1@forums.macromedia.com...
            > wow, finally, I guess AS3 must have a scale function that scales both
            > dimensions, great. I know that in AS2, we always have to scale each
            > dimension
            > independantly (pain). So there still must be a function in AS3 like the
            > old:
            >
            > mc._xscale OR mc._yscale
            >
            > don't know for sure Rich, still using AS2, but try to look for these
            > options.
            >