I. Description
How to insert Flash animation into the cell of the report and display it on the B/S side to achieve the effect shown in the following figure?
II. Idea
By using the embed tag in HTML, and setting the corresponding cell to display content in HTML.
III. Example
Let's introduce how to insert a flash animation named myflash.swf into a cell.
1. Copy Flash file
Copy the myflash.swf file to the project directory, such as %FR_HOME%\webroot\help.
2. Insert label
Merge the cells of a region and fill in the cells:
<embed src="\webroot\help\myflash.swf" width="700" height="500"></embed>
The height and width attributes are the height and width of the embedded content, respectively.
3. Display by HTML
Right-click the cell to select Other attributes, and select Display by HTML, as shown in the figure below:
4. Effect preview
Click Pagination Preview, you can see that the Flash file is displayed in the corresponding cell, as shown in the above rendering.