Yeah, probably two pieces: some MOUSE_DOWN/MOUSE_MOVE/MOUSE_UP code that draws 
a selection rectangle, and code that walks the tree of display objects using 
getChildAt, checks to see if the child is contained in the rectangle, and sees 
if it has any text.


On 5/21/10 1:08 PM, "Baz" <li...@thinkloop.com> wrote:






I don't mind writing code, any clues on where to start? Perhaps something like 
a global selection manager that detects mousedown and secretly traverses all 
the components behind the scenes?



On Fri, May 21, 2010 at 11:14 AM, Alex Harui <aha...@adobe.com> wrote:





That’s not a feature of the framework, but if you write enough code I think it 
should be possible.




On 5/21/10 10:37 AM, "Baz" <li...@thinkloop.com <http://li...@thinkloop.com> > 
wrote:






If you have an item renderer with multiple labels like:

<s:Group>
    <s:Label text="abc" />
    <s:Label text="def" />
    <s:Label text="ghi" />
</s:Group>

Is it possible to make the text selectable across renderers and labels as one 
logical block exactly like in html?






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to