1 Reply Latest reply on May 26, 2008 8:34 PM by slaingod

    flex size dimensions

      When you accessed a swf in Flash, you saw the whole flash movie fitting in the window.
      But now i Flex, you have to give your components a dimension.

      But how can you make this dynamic?
      If i want to use 1 control in 2 applications.
      Both applications have different sizes and i want to fit the flex control in a html table.

      Should i make the control dimensions flashvars?
        • 1. Re: flex size dimensions
          slaingod Level 1
          You can use relative control placement, use scaleX and scaleY, scroll bars, etc. to deal with embed size issues. You can detect the embed size using javascript/ExternalInterface. Should be a number of ways to solve this.