Thanks Om & Alex ... I'll consider your advices when working on the issue
tomorrow :)


On Mon, Sep 16, 2013 at 7:51 PM, OmPrakash Muppirala
<bigosma...@gmail.com>wrote:

> Here is a very good set of instructions on how to build and use FXG skins
> [1].  Apparently you can edit FXG using the design view of Flash Builder
> (not sure which version you tried)
>
> From the article, here are the restrictions when using scalegrids in FXG.
> Do you have any of these in your skins?
>
> =============================================
> Scale grid
>
> Scale grids have some limitations that must be considered when designing
> graphics using FXG.
>
> Scale grid values must be inside the boundaries of the graphic and must not
> overlap (that is, left boundary < scaleGridLeft < scaleGridRight < right
> boundary).
>
> Scale grids will not work if the graphic contains any Group elements.
>
> Scale grids will not work if elements have alpha applied. Instead, apply
> alpha to the stroke and fill elements.
> =============================================
>
>
> [1] http://www.adobe.com/devnet/flex/articles/mobile-skinning-part1.html
>
>
> On Mon, Sep 16, 2013 at 10:43 AM, OmPrakash Muppirala
> <bigosma...@gmail.com>wrote:
>
> > 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
> >> >>
> >> >>
> >>
> >>
> >
>



-- 
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

Reply via email to