Base Directory parameter

When My Coloring Book needs to access files, such as coloring pages, configuration etc, it accesses these relative to the current directory.  If you are directly embedding "mcb.swf" into your HTML page, then the current directory is the directory of the HTML page.

In some cases this will be different from where you have installed My Coloring Book.  To tell My Coloring Book where to find all its files you can use the "base" parameter.

Example 1:

You have an HTML file in the root directory of your site with My Coloring Book directly embedded, and My Coloring Book is in its own folder "/mcb".

In this case you pass "base=mcb" to the swf file.

REMEMBER to include your parameters in BOTH  the "<param name="movie"..." and the "<embed name="mcb"...".

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="mcb" 
width="100%" height="100%">
  <param name="movie" value="mcb/mcb.swf?base=mcb&amp;p=monkey.gif"/>
  <embed name="mcb" src="/mcb/mcb.swf?base=mcb&amp;p=monkey.gif"
width="100%" height="100%" type="application/x-shockwave-flash"></embed>
</object>

Example 2:

You have an HTML file in the /games directory of your site with My Coloring Book directly embedded, and My Coloring Book is in its own folder "/mcb".

In this case you pass "base=../mcb" to the swf file.

REMEMBER to include your parameters in BOTH  the "<param name="movie"..." and the "<embed name="mcb"...".

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="mcb" 
width="100%" height="100%">
  <param name="movie" value="../mcb/mcb.swf?base=../mcb&amp;p=monkey.gif"/>
  <embed name="mcb" src="/../mcb/mcb.swf?base=../mcb&amp;p=monkey.gif"
width="100%" height="100%" type="application/x-shockwave-flash"></embed>
</object>