Accessing a specified page from HTML

Publishing Flash documents in HTML pages
Post Reply
Posts: 1
Joined: Sat Nov 14, 2009 10:35 am

Accessing a specified page from HTML

Post by Emmanuel » Sat Nov 14, 2009 10:46 am

So sorry for my bad English !!
I built a multipage print2flash SWF document.
Within HTML, I would like to open the SWF document at a specified page.
But it does not work at all. Could you help me ?

Thanks a lot.
Best Regards

Here is my HTML code source :

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
    <meta name="author" content="xxx"/>
    <link rel="stylesheet" type="text/css" href="style.css" media="screen"/>
    <script language="JavaScript">
        function GetDoc(movieName) {
        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];
// -->

<img src="images/Auvergne.jpg" width="420" height="500" border="0" usemap="#map" />
<map name="map">
      <area shape="rect" coords="110,33,134,43" target="fiche" href="javascript:GetDoc("test.swf").setCurrentPage(5);" />

Post Reply