hi,
I am creting a flash image in a <td>. The width and height of the td is not specified since my flash image has a size and it is rendered in that cell with its specified dimension. Flash resizes itself when the browser size is changed (which is quite natural and is intended to work that way). But the same flash image is not occupying the complete cell. It leaves out 5 to 10 mm on all the sides of the <td>. Depending on the number of images I divide the page into different cells say for example there are 4 images and I want to arrange them in 2 rows, the first row has 2 images in 2 <td>'s and the same with the second row.
Except for there is another issue. The whole page is not occupied by these <tr>'s which will have flash images. I mean there is some more information and I dont know how much space that information occupies. Here is an example dipiction.
say this is an html page divided into 3 sections top is the heading left is the table of contents and the middle piece is the place which gets divided into cells.
---------------
|------------- |
| | flash |
| | images |
| | area |
---|------------
The area which is marked as flash image area can be divided as I intend to. But I do not know whatz the size of other information around it. This is the reason why I cannot get the flash image occupy the whole cell. Is there any way that I can get the cell size as interpreted by the DOM? I have a way to redraw the flash (I mean the page is processed twice). And so the first time I can get the size of the cell in which the flash has to be drawn and set the size the second time.
By the way I tried to set the size of <td> this obviously does not work.
regards.
I am creting a flash image in a <td>. The width and height of the td is not specified since my flash image has a size and it is rendered in that cell with its specified dimension. Flash resizes itself when the browser size is changed (which is quite natural and is intended to work that way). But the same flash image is not occupying the complete cell. It leaves out 5 to 10 mm on all the sides of the <td>. Depending on the number of images I divide the page into different cells say for example there are 4 images and I want to arrange them in 2 rows, the first row has 2 images in 2 <td>'s and the same with the second row.
Except for there is another issue. The whole page is not occupied by these <tr>'s which will have flash images. I mean there is some more information and I dont know how much space that information occupies. Here is an example dipiction.
say this is an html page divided into 3 sections top is the heading left is the table of contents and the middle piece is the place which gets divided into cells.
---------------
|------------- |
| | flash |
| | images |
| | area |
---|------------
The area which is marked as flash image area can be divided as I intend to. But I do not know whatz the size of other information around it. This is the reason why I cannot get the flash image occupy the whole cell. Is there any way that I can get the cell size as interpreted by the DOM? I have a way to redraw the flash (I mean the page is processed twice). And so the first time I can get the size of the cell in which the flash has to be drawn and set the size the second time.
By the way I tried to set the size of <td> this obviously does not work.
regards.