Re: [ASDoc] TextFlow

2013-03-19 Thread Harbs
Okay. Done. On Mar 19, 2013, at 1:51 PM, Justin Mclean wrote: > HI, > >> I think the docs should be clearer on what to specify here. I propose the >> following: >> >> Instead of: Returns all elements that have typeName set to typeNameValue. >> >> Returns all elements that have typeName as the

Re: [ASDoc] TextFlow

2013-03-19 Thread Justin Mclean
HI, > I think the docs should be clearer on what to specify here. I propose the > following: > > Instead of: Returns all elements that have typeName set to typeNameValue. > > Returns all elements that have typeName as the TextFlow markup tag set to > typeNameValue. The docs are generate from

Re: [ASDoc] TextFlow

2013-03-19 Thread Gavriel Harbater
> Also, I'd think that flow.getElementsByTypeName("ParagraphElement") should > return an array of the ParagraphElements in the flow. This does not seem to > work. It retruns an empty array in my tests. Am I going about it wrong, or is > this a bug? Okay. This was my error. This: flow.getElemen

[ASDoc] TextFlow

2013-03-19 Thread Harbs
I'm pretty sure that the docs here are wrong: https://flex.apache.org/asdoc/flashx/textLayout/elements/TextFlow.html It says: A TextFlow object can have ParagraphElement and DivElement objects as children. If I'm not mistaken, a TextFlow can have a ListElement as a child as well, so that should