Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
It would be very beneficial if Flex/we could interact with all text in a particular view as a single, separate logical unit on its own *layer*.

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Alex Harui
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" wrote:

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
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 wrote: > > > That’s not a feature of the framework, but if

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Alex Harui
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" wrote: If you have an item renderer with multiple labels like: Is it possible to make the text selectable across renderers and labels as one lo

[flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
If you have an item renderer with multiple labels like: Is it possible to make the text selectable across renderers and labels as one logical block exactly like in html?