Databases Reference
In-Depth Information
Figure 2-15. The chart displayed on the page
Understanding the Chart Region
When editing the chart region (double-click the region or right-click and select Edit) and looking at the
region definition, you might be surprised at first as there is only some HTML code in the Region Source
(Figure 2-16). But remember, APEX has to include a Flash object in the page, and the way you do that is
to use exactly that HTML code.
The region source consists of an object tag and an embed tag, which both have some parameters. If
you look a bit deeper in that code you see the parameters of the object and embed tag are almost the
same. When I first saw this code I wondered why you would want to include the same code twice. The
answer is browser compatibility. In the knowledge base of Adobe (owner of Flash) it is explained well.
The OBJECT tag is used by Internet Explorer on Windows and the EMBED is used by Netscape-like browsers
(Macintosh and Windows) and Internet Explorer (Macintosh) to direct the browser to load the Flash
Player. Internet Explorer on Windows uses an ActiveX control to play Flash content while all other
browser and platform combinations use the Netscape plug-in technology to play Flash content. This
explains the need for the two tags.
Search WWH ::




Custom Search