Hi Jagan,

You can check the api of the components 
here:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/RichEditableText.html
RichEditableText is a low-level UIComponent for displaying, scrolling, 
selecting, and editing richly-formatted text.The rich text can contain 
clickable hyperlinks and inline graphics that are either embedded or loaded 
from URLs.RichEditableText does not have scrollbars, but it implements the 
IViewport interface for programmatic scrolling so that it can be controlled by 
a Scroller, which does provide scrollbars. It also supports vertical scrolling 
with the mouse wheel.It does not include any user interface for changing the 
formatting of the text. But it offers APIs which can do this programmatically; 
these make it possible, for example, for you to create a Bold button that makes 
the selected text bold......

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/RichText.html
RichText is a low-level UIComponent that can display one or more lines of 
richly-formatted text and embedded images.For performance reasons, it does not 
support scrolling, selection, editing, clickable hyperlinks, or images loaded 
from URLs. If you need those capabilities, please see the RichEditableText 
class.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Label.html
Label is a low-level UIComponent that can render one or more lines of 
uniformly-formatted text. The text to be displayed is determined by the text 
property inherited from TextBase. The formatting of the text is specified by 
the element's CSS styles, such as fontFamily and fontSize.Label uses of the 
Flash Text Engine (FTE) in Flash Player to provide high-quality international 
typography. Because Label is fast and lightweight, it is especially suitable 
for use cases that involve rendering many small pieces of non-interactive text, 
such as item renderers and labels in Button skins.

The order of the links is from the "big mama" to the light weight component.
So is always a decision of performance vs api. We have to adjust to the needs 
of the system.In the last years i am working in web-to-print and only for edit 
i use the *RichEditableText* to present the text the other components are more 
suitable. Just when the user click on the text then the system switch to 
another component that permit the user to scroll, edit, select and etc...
About your question, i think IMHO that is a false question.
When we want/need to create a custom component that extends the 
*RichEditableText * and implements the *IDisplayText *, you can make it. Just 
create a class the extend that class and implement that interface. By language 
specification you can implement N interfaces that suits your needs while 
extending then you can only extend one class.
Just my 2 cts.
Regards,Miguel Ferreira

> Date: Fri, 5 Jul 2013 13:01:43 +0530
> Subject: Re: [SUGGESTION] reg. Implementation of IDisplayText in 
> RichEditableText class
> From: jaga...@sybrant.com
> To: dev@flex.apache.org
> 
> I believe user cannot select the text in the RichText.
> 
> 
> On Fri, Jul 5, 2013 at 12:14 AM, jude <flexcapaci...@gmail.com> wrote:
> 
> > I don't believe RichText supports hyperlinks.
> >
> > On Thu, Jul 4, 2013 at 1:06 PM, Alex Harui <aha...@adobe.com> wrote:
> >
> > >
> > >
> > > On 7/4/13 4:45 AM, "Jagan Langa Sami Durai" <jaga...@sybrant.com> wrote:
> > >
> > > >Hi All
> > > >
> > > >if the *RichEditableText *also implements *IDisplayText *interface as *
> > > >TextBase* class, It will be very handy while creating a custom component
> > > >(which may have any kind of text based controls ) for skinning.
> > > >
> > > >P.S. RichEditableText class have all the method definitions for the
> > method
> > > >declarations found in the IDisplayText  interface.
> > > >
> > > >
> > > >can we expect this change in the upcoming sdk version ?
> > > Can I ask about the use case?  IDisplayText was intended for non-editable
> > > text display. Is there something RichEditableText can do that RichText
> > > cannot?
> > >
> > >
> >
> 
> 
> 
> -- 
> *
> Regards,
> S. Jagan  Langa* *|* *Team Lead*
> *Sybrant Technologies Pvt Ltd*
> *--------------------------------
> *
> ‘Shriram The Gateway (SEZ)’, Block A1,
> 3rd Floor, 16 GST Road, Perungalathur,
> Chennai - 600 063, India
> India | USA | Germany | China
> 
> Mobile: +91 98430 50897
> Skype: seesamjagan
                                                                                
  

Reply via email to