Thanks for offering to help. We could use all the help we can get.
I don't know what your areas of expertise are and how much time you have,
and I don't quite know how you want to organize the list, but you might be
able to write code to build out the list of components.
If you know Java, you could write a custom ASDoc emitter. I've written
one that outputs ASDoc information in JSON format. Or you could write a
Flex or FlexJS app to read the JSON files and generate the MXML you want.
One thing to keep in mind is that styles work a bit differently in FlexJS
than in Flex. FlexJS currently doesn't document style properties because
on the JS-side the components are pretty much going to respond to every
CSS style that the browser knows about. I suppose we could document which
of those styles are currently implemented for SWF, but I haven't heard too
many folks ask for that.
Looking forward to your contributions,
On 12/1/16, 8:49 PM, "Christian Gotschim" <m...@vulcansoft.com> wrote:
>I've been thinking about the complaints I’ve read on this list about the
>missing documentation for FlexJS and I’d like to do something to help
>out. I’ve used AS3/Flex for many years, and I’m now trying to get a hang
>So I thought it might be a good starting point for FlexJS newbies (like
>me) to have snippets for most or all components that FlexJS has to offer,
>and make them useable in Josh’s NextGenAS VSCode extension.
>I’d be happy to create the snippets, but I would need someone experienced
>to write a list of FlexJS components as a starting point.
>The list would have to be in MXML format and the components could have
>multiple lines, include beads and strands, and useful/common properties
>and styles like x, y, width, height, color, fontsize, paddings,
>alignments, etc. Something like this:
><s:VGroup id="vg" x="10" y="20" gap="10"
> paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0"
> horizontalAlign="left" verticalAlign="top" ....... />
><s:Label id="lbl" color=“0xff0000” fontSize=“20” fontWeight=“bold”
>fontStyle=“italic" textAlign=“center” text=“some text" ........ />
>IMO, that would go a long way to make up for the missing docs and allow
>newbies to get started much faster.