Accessing a specified page from HTML

Publishing Print2Flash Documents in HTML pages
Emmanuel
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

Hello,
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" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
    <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"/>
    <title>Carte_auvergne</title>             
    <script language="JavaScript">
<!--
        function GetDoc(movieName) {
        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];
    }
// -->
</script>             
</head>

<body>
<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);" />
</map>
</body>
</html>

Post Reply