oh, btw,

If you want a link to any livedocs page, the URL for the current page is usually right at the bottom in the center below the comments. Something like this:

Current page: http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001851.html

Spike

On 10/27/05, Spike <[EMAIL PROTECTED]> wrote:
Thanks, found it in the livedocs...

Hey, I managed to achieve something on my own today :-)

Unfortunately I'm getting 0 for this.textSnapshot.charCount in the top level displayObjectContainer for my app (Flex 2).

I'm thinking this is probably not a good sign, but I'll hack around with it just to make sure I am actually in the top level and that it's not playing hide and seek with the thing that actually contains the text.


Spike


On 10/27/05, JesterXL <[EMAIL PROTECTED] > wrote:
Sorry G, I don't know how to link to places in LiveDocs.
 
Basically Flash MX 2004 > ActionScript Language Reference > T > TextSnapshot.  It's what FlashPaper uses for static text.  I'm thinking you could possibly either utilize that with Text, or emulate your own selection like FlashPaper does.
 
 
----- Original Message -----
From: Spike
Sent: Thursday, October 27, 2005 4:08 PM
Subject: Re: [flexcoders] HTML Text in TextArea

That sounds promising. FlashPaper has the exact behaviour I'm after.

Any references you can point me to other than the livedocs which I'm off to check now.

Spike

On 10/27/05, JesterXL <[EMAIL PROTECTED]> wrote:
Another idea is to do what FlashPaper does, and use the Flash Player 7 Selection & TextSnapshot features to select multiple text areas.
 
----- Original Message -----
From: JesterXL
Sent: Thursday, October 27, 2005 3:44 PM
Subject: Re: [flexcoders] HTML Text in TextArea

System.setClipboard(topLeft_ti.text + middle_ti.text + right_ti.text);
 
----- Original Message -----
From: Spike
Sent: Thursday, October 27, 2005 2:02 PM
Subject: Re: [flexcoders] HTML Text in TextArea

You can do that, but I still haven't found any way to do drag-select of text across multiple table cells.

Any ideas?

Spike

On 10/27/05, JesterXL <[EMAIL PROTECTED] > wrote:
Use MXML instead.
 
You can use Grid, VBox, HBox, etc. to do what a table tag does, and more.
 
----- Original Message -----
Sent: Thursday, October 27, 2005 1:43 PM
Subject: RE: [flexcoders] HTML Text in TextArea

Wow, that sucks. I can use any other control that will help do that sort of thing. If Flash player can not render <table><tr><td> what tags can I use to give the html a grid look? Actually, the html is a result of CHTTP call to a remote server and I parse the whole document to extract the piece I want. I can replace all my TABLE related tags with anything that will help.

 

Thanks

Agha Mehdi
IDT - eBusiness Program Manager


From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Spike
Sent: Thursday, October 27, 2005 1:33 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTML Text in TextArea

 

Yeah,

The TextArea doesn't render table tags. I don't think the flash player HTML capabilities support table tags, but I really could use this sort of functionality.

Has anyone got an example of rendering a table in Flash?

I've seen a few examples, but one of the requirements for me is to be able to drag select inside the cells and across multiple cells. FlashPaper allows you to do this, so I know it's technically possible, but I haven't seen anything else that does it.

Spike

On 10/27/05, Matt Chotin < [EMAIL PROTECTED]> wrote:

I don't think the TextArea is capable of rendering <table> tags.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Wednesday, October 26, 2005 3:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTML Text in TextArea

 

Hi All,

How can I show HTML in TextArea so that instead of spitting out html tags, it actually renders html? I am replacing "<" and ">" with "&lt;" and "&gt;" respectively before I send it to Flash Client. If I don't replace that it does render HTML but doesn't show data in html table format and I have table in my html.

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



YAHOO! GROUPS LINKS

 

 





--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org




--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to