72dpi
12-12-2007, 03:34 AM
Ok,
So, you want to use a flash header into your template.. Sure, no problems. Firstly, you're gonna need to head on over to: http://www.bobbyvandersluis.com/ufo/ and download the zip. This contains all the tool neccesary, and a sample bit of code.
Now, we are going to do this using the Wiicked (http://www.subdreamer.com/sd_skins/p13_sectionid/2/p13_fileid/155) template as an example.
Now, open up the ufo.zip, and save the file ufo.js to your wiicked folder. It should be in the same level as your menu.css, styles.css etc...
Create your Flash Movie. In this case, to replicate the original header, make it: 900px wide by 300px high. Once saved out, make sure your swf file is called wiicked.swf
now,
Ok, open up: wiicked > wiicked_1.php
find:
<link rel="stylesheet" type="text/css" href="skins/wiicked/menu.css" />
Underneath, paste:
<script type="text/javascript" src="skins/wiicked/ufo.js"></script>
<script type="text/javascript" language="javascript">
<!--
var FO = { movie:"skins/wiicked/wiicked.swf", width:"900", height:"300", majorversion:"8", build:"0", xi:"true" };
UFO.create(FO, "WiickedFlash");
-->
</script>
Now, in the same file: wiicked > wiicked_1.php
Find:
<td class="banner"></td>
Replace with:
<td class="banner">
<div id="WiickedFlash">
<p>Flash not detected, or Flash error</p>
<p><a href="<A href="http://www.macromedia.com/go/getflashplayer"><img">http://www.macromedia.com/go/getflashplayer"><img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" alt="Get macromedia Flash Player" style="border: none;" /></a></p>
</div>
</td>
Now, just modify the file: wiicked > images > wii_banner.jpg
to suit what you want, and that's it! Obviously, if you use more than one template page, you'll need to do this in each one... You could even make it a php include, and include that in your page, if you have many templates...
Play, test, try, it's too easy.
Please note, this is untested, but should have no problems. Have fun!
So, you want to use a flash header into your template.. Sure, no problems. Firstly, you're gonna need to head on over to: http://www.bobbyvandersluis.com/ufo/ and download the zip. This contains all the tool neccesary, and a sample bit of code.
Now, we are going to do this using the Wiicked (http://www.subdreamer.com/sd_skins/p13_sectionid/2/p13_fileid/155) template as an example.
Now, open up the ufo.zip, and save the file ufo.js to your wiicked folder. It should be in the same level as your menu.css, styles.css etc...
Create your Flash Movie. In this case, to replicate the original header, make it: 900px wide by 300px high. Once saved out, make sure your swf file is called wiicked.swf
now,
Ok, open up: wiicked > wiicked_1.php
find:
<link rel="stylesheet" type="text/css" href="skins/wiicked/menu.css" />
Underneath, paste:
<script type="text/javascript" src="skins/wiicked/ufo.js"></script>
<script type="text/javascript" language="javascript">
<!--
var FO = { movie:"skins/wiicked/wiicked.swf", width:"900", height:"300", majorversion:"8", build:"0", xi:"true" };
UFO.create(FO, "WiickedFlash");
-->
</script>
Now, in the same file: wiicked > wiicked_1.php
Find:
<td class="banner"></td>
Replace with:
<td class="banner">
<div id="WiickedFlash">
<p>Flash not detected, or Flash error</p>
<p><a href="<A href="http://www.macromedia.com/go/getflashplayer"><img">http://www.macromedia.com/go/getflashplayer"><img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" alt="Get macromedia Flash Player" style="border: none;" /></a></p>
</div>
</td>
Now, just modify the file: wiicked > images > wii_banner.jpg
to suit what you want, and that's it! Obviously, if you use more than one template page, you'll need to do this in each one... You could even make it a php include, and include that in your page, if you have many templates...
Play, test, try, it's too easy.
Please note, this is untested, but should have no problems. Have fun!