delfick / flex-htmlfilter

Automatically exported from code.google.com/p/flex-htmlfilter
0 stars 0 forks source link

Please help! How to use flex-htmlfilter with Adobe Flash CS5? #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to create html-table in my flash project and don't know how to use 
flex-htmlfilter with Adobe Flash CS5. What should I do with *.swc file? And how 
to write html text in the AS 3.0?

Please help me, I'm a beginner in flash and don't know many things about it...

Original issue reported on code.google.com by ride...@gmail.com on 10 Aug 2011 at 5:02

GoogleCodeExporter commented 9 years ago
I replied to you about this in the email you sent me.
For the benefit of others who might find the bug report, I'll state the answer 
below.

Essentially boils down to the fact that I haven't used the flash IDE since it 
was Macromedia MX, so unfortunately I don't actually know the answer....

Original comment by delfick...@gmail.com on 10 Aug 2011 at 10:13

GoogleCodeExporter commented 9 years ago
How to use htmlTable on the flex mxml page, I am trying to use it the same way 
htmlText, but I am not able to add any table in it, can you please help me a 
bit.

I have tried lots of things now:

<fx:Script>
        <![CDATA[
            import com.htmlFilter.htmlFilter;
            private var theHtmlFilter:htmlFilter = new htmlFilter();      

            [Bindable]
            private var theText:String = theHtmlFilter.filterContent("<table border='1'><tr><td>FIRST COLUMN</td></tr></table><p>nothing important</p><ol><li>item</li><li>item</li><li>item</li></ol>");
        ]]>
    </fx:Script>
    <html:htmlTable >{theText}</html:htmlTable>

not working

Then tried to add html code of a table in the tag the same way as in the 
htmlText but not working at all..

Can you please provide some thing how to add a html table text on the mxml page 
and get a table on the page.

:)

Original comment by saurabh....@gmail.com on 20 Sep 2013 at 9:29

GoogleCodeExporter commented 9 years ago
I tried to reply to this by replying to the notification email, but it seems 
googlecode isn't cool enough for that to work :(

Anyway,

It should work by using the htmlText component rather than the htmltable 
directly.

(the htmltext component should see the <table> and make the htmltable component 
for you)

Original comment by delfick...@gmail.com on 26 Sep 2013 at 6:15