<HTML>
<HEAD>
<TITLE>My first Comic</TITLE>
</HEAD>
<BODY BGCOLOR=#ffffff TEXT=#666666>
<CENTER>
<br><h1>My first Comic</h1><br>
<APPLET archive="InfiniteCanvasApplet.jar" codebase="." code="InfiniteCanvasApplet.class" width=400 height=440>
<PARAM name="document" value="ic-ressources">
<PARAM name="SplashImage" value="splash.jpg">
<PARAM name="R" value="255">
<PARAM name="G" value="255">
<PARAM name="B" value="255">
<PARAM name="NavigationButtons" value="YES">
<b>Your browser does not support Java, so nothing is displayed.</b>
</APPLET>
</CENTER>
</BODY>
</HTML>
Finally you can influence the applets behavior by manipulating its parameters. Currently the applet supports the following parameters:
- document: with this parameter you specify the folder containing the comic.xml. This is the only required parameter. The applet won't load without it. (Note: In older versions document specified the path to the *.ic document. In this version there is a new, smaller export format. You create this formate by using Export!)
- SplashImage: the relative path to the splash image
- R: the red component of the background color while loading (values between 0-255)
- G: the green component of the background color while loading (values between 0-255)
- B: the blue component of the background color while loading (values between 0-255)
- navigationButtons: show navigation buttons (back, forward, zoome, rotate, ...) (values: YES or NO)
The Infinite Canvas Flash Viewer
Integrating the Flash Viewer into a existing website is pretty easy. Just copy the OBJECT-section of content.html into you website. I'm using the object and the embed tag to achieve broad compatibility. If you change a parameter, please make sure that you change the parameter in the object AND the embed tag!!!
Example Website
<HTML>
<HEAD>
<TITLE>My first Comic</TITLE>
</HEAD>
<BODY BGCOLOR=#ffffff TEXT=#666666>
<CENTER>
<br><h1>My first Comic</h1><br>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="440" id="ICViewer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="ICViewer.swf" />
<param name="FlashVars" value="comic=ressources&navigationbar=true" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="ICViewer.swf" FlashVars="comic=ressources&navigationbar=true" quality="high" bgcolor="#ffffff" width="400" height="440" name="ICViewer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</CENTER>
</BODY>
</HTML>
|