On Mon, Sep 16, 2013 at 10:27 AM, Alex Harui <aha...@adobe.com> wrote:
> I don't know much about the rules for scaleGrid and skins. I haven't > spent any time in that area. > > But again, Path and Text are still vectors. You shouldn't need scaleGrid > to scale them. > > -Alex > Even though they are vectors, they are built for a particular form factor. When using it the user might want to use it in a different form factor but still expect it to scale correctly. We do that a lot in the Flex Mobile skins, ex. [1] Thanks, Om [1] https://fisheye6.atlassian.com/browse/~br=develop/flex-sdk/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/Button_down.fxg?hb=true > > On 9/16/13 10:17 AM, "Sebastian Mohr" <flex.masul...@gmail.com> wrote: > > >Thanks for your reply ... I wanted to use these attributes for a bunch of > >vector <s:Button /> skins like ... > > > ><s:SparkSkin scaleGridLeft="22" scaleGridRight="48" scaleGridTop="0" > >scaleGridBottom="47" /> > > > >Inside are a number of <s:Path /> and <s:Richtext /> that I have created > >with Flash Catalyst CS5.5. > > > >for the moment I get this error: > >Error: ScaleGrid properties can not be set on this Group since at least > >one > >child element is a DisplayObject. > > > >Wouldn't this be possible? Thanks. > > > >-- > >Sebastian (PPMC) > >Interaction Designer > > > >Looking for a Login Example with Apache Flex? Please check out this code: > >http://code.google.com/p/masuland/wiki/LoginExample > > > > > > > >On Mon, Sep 16, 2013 at 6:45 PM, Alex Harui <aha...@adobe.com> wrote: > > > >> Why do you want to scale vector graphics via scale9? > >> > >> On 9/16/13 5:09 AM, "Sebastian Mohr" <flex.masul...@gmail.com> wrote: > >> > >> >Just wanted to know if you have a recommendation what would be the > >> >quickest > >> >way to add scale-9 information to FXG files. For PNG files I usually > >>use > >> >Flex Builder 3 which has a "Edit Scale Grid" Button in the CSS file > >> >"Design > >> >View" [1], but, for FXG files there seems to be no quick solution. > >>Thanks > >> >in advance. > >> > > >> >[1] > >> > > >> > >> > https://cwiki.apache.org/confluence/display/FLEX/Designer+&+Developer+Too > >>l > >> >s#Designer%26DeveloperTools-AdobeFlexBuilder3 > >> > > >> >-- > >> >Sebastian (PPMC) > >> >Interaction Designer > >> > > >> >Looking for a Login Example with Apache Flex? Please check out this > >>code: > >> >http://code.google.com/p/masuland/wiki/LoginExample > >> > >> > >