On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

BIRT Flash Map Example

rmurphy
edited 2013 15 in DevShare Downloads #1
This example was created with the Actuate BIRT Report Designer Professional version 11 SP1.<br />
<br />
This example plots product sales by state on a Flash map of the USA. It colors the states that have data based on the data value. <br />
<br />
Steps used to create this sample
    <br />
  1. Create a data source connection to classic models<br />
    <br />
  2. Create a data set that returns a sum of product sales for each customer state.<br />
    <br />
  3. Create a report variable containing an empty string used to build a string of entries to be embedded in the XML passed to the Flash.<br />
    <br />
  4. Insert a table into the report.<br />
    <br />
  5. Create bindings on the table to the state and value<br />
    <br />
  6. On the row of the table use the onCreate script method to add the XML to the report variable for each row in the table.<br />
    <br />
  7. Insert a flash object into the report from the Flash Object Library, and select the Flash Maps/FCMap_USA.swf<br />
    <br />
  8. In the properties view of the Flash Object just inserted, select the Flash variable tab.<br />
    <br />
  9. Create a new flash variable. This variable will be passed to the SWF file and needs to be in the format specified by the object. For more details, see the FusionCharts documentation.<br />
    <br />
  10. Prevent the table from being displayed in the report by setting the Advanced Property -> Section -> Display to No Display.<br />