.
component categoriescomponent categories
overview
features
samples
help & support
downloads
buy now

Awaiting 3 votes.

Report this file
Posted by : Flashtuning 18 purchases
Package includes: MXP,FLA
Opens with: Flash CS3, Adobe Air, Flex, Flash CS4
AS Version: ActionScript 3.0
Viewable with: Flash Player 9 and above
Flash knowledge required: Advanced
Documentation: Excellent documented


Use CSS, library fonts and custom AS functions



The HTML Table Renderer component provides an advanced XML / HTML table rendering engine for Flash, complete with CSS support and advanced features such as row and column spans.

FREE trial download for the HTML table component available in the Downloads tab.

The component can render all common types of content (text, SWF files, images and Flash library objects) and allows embedding custom fonts and offers advanced text rendering controls.

This component is available for:
Flash CS3, Flash CS4 / ActionScript 3.0 ( AS3 )

If you already purchased the Table Renderer AS 2.0 ( AS2 ) version, you are eligible for the SPECIAL $4 UPGRADE PRICE! ((just login, go to BUY NOW tab and you will see the Buy Upgrade option).


You can also download the HTML Help Books from the following location: DOWNLOAD HELP BOOKS


Check also other great FlashTuning.net products such as 3D XML Carousels, 2D & 3D XML Menus, XML Banner Rotators, XML Galleries & Slideshows, Video Lists & FLV Players, HTML News Readers by clicking the image below:




Tagstags
Please « login » to add tags.
« Previous 1 2 Next »

Flashtuning Flashtuning Component author
 

Hi,


Thanks for your feedback but this product is used successfully by many customer and:


1. There is an online example on how to correctly create a table from a given string, and here it is again:


var xmlStr = '<html><head><link href="css/style.css" /></head><body><table width="350" border="5" cellpadding="5" cellspacing="5" bordercolor="#b0e46f" bgcolor="#7c8bd5"><tr><td width="4" bgcolor="#F4EEC2" /><td width="342" align="center" bgcolor="#2c2929"><font color="#bbbbbb">table renderer</font></td><td width="4" bgcolor="#F4EEC2" /></tr></table></body></html>'; 
var table = new FtTableRenderer(); 
table.name = "table"; 
this.addChild(table); 
var tb = this.getChildByName("table"); 
tb.createFromString(xmlStr); 
// For ActionScript 2.0 you'll only use the attachMovie to create a component instance and call the createFromString() method with your newly created component reference 


Make sure the style.css is included in the css folder.


2. The width and height are correctly reported after the table is rendered. So implement the onTableRended event handler to get this information and perform other various actions.


FT

rrawlins rrawlins
 
Has bought the file

The idea is good, but this has caused me more work than it’s worth. Unfortunately, it is too late to rip this out.


The parsing seems to be whitespace sensitve. for example, if i convert the example into literal XML, then use XML.toXMLString() to create the table, it fails. Don’t add uncessary spaces between elements! Most of the time I fight hard to decipher null errors within the component or worse, which I still can’t figure out:


Error #2004: One of the parameters is invalid. at flash.display::Graphics/drawRect()


I gave up using it. Very buggy. Another problem is the component doesn’t report the correct width and height so don’t try to use in a scrolling pane. Needless to say, I would not recommend this for other than very trivial tasks and be prepared to work around its quirks.

Actually I just noticed that the linebreak issue only happens when the content is also wrapped inside a span tag. So here is some info for anyone that might encounter the same issue:


Will not wrap properly

<tr><td><span class="text">Hello<br/>there</span></td></tr>


Workaround

<tr><td><span class="text">Hello</span><br/><span class="text">there</span></td></tr>
|

Thanks for the reply. I am actually aware of the tags that are not supported but I was hoping it could just be ignored instead of breaking the table…I guess I’ll just strip out the tag.


On that note, there is another behaviour that I was hoping you could help with. When using <br/> tags in a cell it gets additional spacing on the left side and two blank lines between text.


E.g.:

<tr><td>Hello<br>there</td></tr>


Comes out as:


|      Hello
|
|
|      There


The paragraph tag on the other hand works like I would expect the linebreak to work…text is displayed on the next line without an extra line between paragraphs.


Thanks,
Tom

Flashtuning Flashtuning Component author
 

Hi,


tbody tag is not supported. You can check the list of the most common questions and answers related to tags and attributes available for the AS 2.0 version (are also mostly the same for the AS 3.0 version) here:


http://www.flashcomponents.net/component/flash_tuning_table_renderer/help.html


Best regards,
Flashtuning

My tables are dynamically generated and include the tbody tag. This causes the table to render incorrectly. Looks like the columns get wrapped into one cell and the rows become columns. When I strip out the tbody tag the table displays fine. Here is an illustration:


Without tbody:

| row1cell1 | row1cell2 |
| row2cell1 | row2cell2 |
| row3cell1 | row3cell2 |


With tbody

| row1cell1row1cell2 | row2cell1row2cell2 | row3cell1row3cell2 |


Is there a work around to this other than stripping out tbody?


Other than that this is GREAT!


Thanks,
Tom

Flashtuning Flashtuning Component author
 

@Tsab:


I don’ really understand what you are trying to do.


If you want to dynamically ad the component to the stage using ActionScript do somethig similar to this:


var myTable = new FTTableRenderer(); 
myTable.sourceFile = "yourtable.html"; 
this.addChild(myTable); 


Best regards,
Flashtuning

Flashtuning Flashtuning Component author
 

@ paul.sijpkes:


The Help Book is automatically installed and you can find the book as described in the most common questions and answers area of the AS 2.0 version.


If you are using Flash CS4 you will not find any help book for any component either made by Adobe or custom since all Flash documentation is online in CS4.


If you’re using CS4 you can send us an email at contact [at] flashtuning,net and we’ll send you back the HTML Help Book. We have also included the book in a separate folder inside the download package and you can also login and try downloading again the new archive.


Best regards,
Flashtuning

Hi!


I’ve downloaded the trial version and it works well on a plain flash movie
But if I put the component in a MovieClip (Symbol1) and call it from the stage:
var mc:MovieClip = new Symbol1()


it says:


TypeError: Error #1009: Cannot access a property or method of a null object reference. at FtTableRenderer/VmZghRulvfnc() at FtTableRenderer/C2D1xIx3wJM() at FtTableRenderer/onComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete()


Can you help me? I would buy it if it fit to my project…
Thx.

paul.sijpkes paul.sijpkes
 
Has bought the file

I bought this too and the help files are not included in the package like you mentioned. With all due respect this is very poor, The most common questions are obvious, I need a detailed description of all the functions and properties of this component.

I would expect documentation for a component if I'm paying for it.

« Previous 1 2 Next »

 
featured componentsfeatured components