0 Replies Latest reply on Jul 4, 2006 1:50 PM by Popeye the Sailorman

    scale9Grid and embedding

    Popeye the Sailorman Level 1
      Hi,

      I am using an embedded symbol (button) in Actionscript 3 in Flex. The symbol is in a swf file and has a scale-9 grid, defined in Flash 8. The size of the grid seems to grow after embedding it because when I add a trace the dimensions (left, rigt,..) have other values (larger) than expected (outside the dmensions of the symbol).\

      Furthermore it does not work to redefine the scale9Grid in Flex actionscript using the following statement:

      symbol.scale9Grid = new Rectangle (3,3,14,14). An errormessage is show: One of the parameters in invalid.

      Anyone any idea?

      regards