<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aaron Jefferson Villanueva&#039;s Blog Site&#187; Flash</title>
	<atom:link href="http://malebolgia.shadowsonawall.net/tag/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://malebolgia.shadowsonawall.net</link>
	<description>Programming / Designing Blogging from windows to mac.</description>
	<lastBuildDate>Fri, 20 May 2011 12:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash AS3 and Mootools Slimbox</title>
		<link>http://malebolgia.shadowsonawall.net/code-programming/flash-as3-and-mootools-slimbox.html</link>
		<comments>http://malebolgia.shadowsonawall.net/code-programming/flash-as3-and-mootools-slimbox.html#comments</comments>
		<pubDate>Fri, 26 Feb 2010 16:14:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding/Programming]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[slimbox]]></category>

		<guid isPermaLink="false">http://malebolgia.shadowsonawall.net/?p=199</guid>
		<description><![CDATA[
Most the site I made were based on mootools library but when it comes to Overlay Images Scripts I prefer to use Light box v2 that also you can easily call with in Flash AS3 using the ExternalInterface.call using a bridge which is available for download - flashlightboxinjector unfortunately this is base on jQuery library [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top:10px;margin-bottom:10px">
Most the site I made were based on <span style="color: #800080;">mootools</span> <a href="http://web-kreation.com/index.php/articles/48-incredible-mootools-sripts/" target="_blank"><strong><span style="color: #993300;">library</span></strong></a> but when it comes to Overlay Images Scripts I prefer to use Light box v2 that also you can easily call with in <strong><span style="color: #ff0000;">Flash AS3 </span></strong>using the <span style="color: #008000;"><span style="text-decoration: underline;"><strong>ExternalInterface.call</strong></span></span> using a bridge which is available for download - <a href="http://www.bram.us/projects/flashlightboxinjector/" target="_blank"><span style="color: #993300;">flashlightboxinjector</span></a> unfortunately this is base on <span style="color: #003300;">jQuery</span> library so I tried to find a "Lightbox" similar Overlay Image function that has available javascript that I can call within Flash AS3 code so <a href="http://www.digitalia.be/software/slimbox" target="_blank"><span style="color: #993300;">Slimbox</span></a> I guess the easiest for me to follow, it got API documentation you can follow <a href="http://code.google.com/p/slimbox/wiki/MooToolsAPI" target="_blank"><span style="color: #993300;">http://code.google.com/p/slimbox/wiki/MooToolsAPI</span>.</a>
</div>
<div style="margin-top:10px;margin-bottom:10px">
<strong>So this is the code inside the flash movie</strong>
</div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #009900;">//Begin AS3 Script</span>
  <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.geom</span>.<span style="color: #000000; font-weight: bold;">*</span>
  <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #000000; font-weight: bold;">*</span>
&nbsp;
<span style="color: #009900;">//Mouse Events  </span>
  <span style="color: #0033ff; font-weight: bold;">import</span>  <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">MouseEvent</span>;
<span style="color: #009900;">//External Command</span>
  <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.external</span>.<span style="color: #000000; font-weight: bold;">*</span>;
&nbsp;
<span style="color: #009900;">//gradient background color  </span>
  <span style="color: #6699cc; font-weight: bold;">var</span> fillType<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> = <span style="color: #004993;">GradientType</span>.<span style="color: #004993;">LINEAR</span>;
  <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">colors</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #000000;">&#91;</span>0x330000, 0x333307<span style="color: #000000;">&#93;</span>;
  <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">alphas</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">1</span>, <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#93;</span>;
  <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">ratios</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #000000;">&#91;</span>0x00, 0xFF<span style="color: #000000;">&#93;</span>;
  <span style="color: #6699cc; font-weight: bold;">var</span> matr<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Matrix</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Matrix</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
  matr.<span style="color: #004993;">createGradientBox</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">150</span>, <span style="color: #000000; font-weight:bold;">20</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>;
  <span style="color: #6699cc; font-weight: bold;">var</span> spreadMethod<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> = <span style="color: #004993;">SpreadMethod</span>.<span style="color: #004993;">PAD</span>;
  <span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">graphics</span>.<span style="color: #004993;">beginGradientFill</span><span style="color: #000000;">&#40;</span>fillType, <span style="color: #004993;">colors</span>, <span style="color: #004993;">alphas</span>, <span style="color: #004993;">ratios</span>, matr, spreadMethod<span style="color: #000000;">&#41;</span>;  
  <span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">graphics</span>.<span style="color: #004993;">drawRect</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">250</span>,<span style="color: #000000; font-weight:bold;">200</span><span style="color: #000000;">&#41;</span>;
<span style="color: #009900;">//gradient background color  </span>
&nbsp;
<span style="color: #009900;">//Add handler Event</span>
  img1.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">CLICK</span>, onClickHandler01<span style="color: #000000;">&#41;</span>;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> onClickHandler01<span style="color: #000000;">&#40;</span>myEvent<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
    <span style="color: #009900;">//call	Javascript Command</span>
	<span style="color: #004993;">ExternalInterface</span>.<span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;Slimbox.open&quot;</span>,<span style="color: #990000;">&quot;/images/demon.png&quot;</span>, <span style="color: #990000;">&quot;This Kanji means Demon&quot;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #000000;">&#125;</span>		
&nbsp;
<span style="color: #009900;">//End AS3 Script</span></pre></td></tr></table></div>





<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #004993;">ExternalInterface</span>.<span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;Slimbox.open&quot;</span>,<span style="color: #990000;">&quot;/images/demon.png&quot;</span>, <span style="color: #990000;">&quot;This Kanji means Demon&quot;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>



<div style="margin-top:10px;margin-bottom:10px">
This simply calls the javascript Slimbox.open function that will open an Overlay Image also make sure that parameters that <strong><span style="color: #993300;">"wmode" = "transparent"</span></strong> and <strong><span style="color: #993300;">"allowScriptAccess" =  "always"</span> </strong>
</div>
<div style="margin-top:10px;margin-bottom:10px">
I used <span style="text-decoration: underline;"><span style="color: #ff6600;">swfobject</span></span> to render my Flash movies. So here how you implement the html code to make the flash work with slimbox.
</div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">    &lt;!-- Slimbox Start //--&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;js/swfobject.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;js/mootools.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;js/slimbox.js&quot;&gt;&lt;/script&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;css/slimbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
    &lt;!-- Slimbox End //--&gt;
&nbsp;
&nbsp;
               <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
                             window.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'domready'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">//for IE 7 problem</span>
			<span style="color: #003366; font-weight: bold;">var</span> soSlim <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> SWFObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slimbox.swf&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;slimbox&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;250&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;200&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;8&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;#FFFFFF&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			soSlim.<span style="color: #660066;">addParam</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;quality&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;high&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			soSlim.<span style="color: #660066;">addParam</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;wmode&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;transparent&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			soSlim.<span style="color: #660066;">addParam</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;allowScriptAccess&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;always&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			soSlim.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;flashcontentSlim&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
		<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>




Demo:

<!-- Slimbox Start //-->
    <script type="text/javascript" src="http://malebolgia.shadowsonawall.net/js/slimbox.js"></script>
    <link rel="stylesheet" href="http://malebolgia.shadowsonawall.net/css/slimbox.css" type="text/css" media="screen" />
<!-- Slimbox End //-->
       <div id="flashcontentSlim">
			Flash required 
		</div>
<script type="text/javascript">
                             window.addEvent('domready', function(){
			var soSlim = new SWFObject("http://malebolgia.shadowsonawall.net/flash/slimbox.swf", "slimbox", "250", "200", "8", "#FFFFFF");
			soSlim.addParam("quality", "high");
			soSlim.addParam("wmode", "transparent");
			soSlim.addParam("allowScriptAccess", "always");
			soSlim.addParam("menu","false");
			soSlim.write("flashcontentSlim");
     				});   
		</script>

<br /><br />

You can also try <a href="http://reghellin.com/milkbox/" target="_blank">milkbox</a>

<br /><br />
<a href="http://malebolgia.shadowsonawall.net/downloads/mootoolsAS3.zip">Download Source Code.</a>]]></content:encoded>
			<wfw:commentRss>http://malebolgia.shadowsonawall.net/code-programming/flash-as3-and-mootools-slimbox.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="1" length="" type="" />
		</item>
		<item>
		<title>Simple Tutorial Loading variables in Flash</title>
		<link>http://malebolgia.shadowsonawall.net/code-programming/great-and-simple-tutorial-loading-variables-in-flash.html</link>
		<comments>http://malebolgia.shadowsonawall.net/code-programming/great-and-simple-tutorial-loading-variables-in-flash.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 09:35:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding/Programming]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Loading Variables]]></category>

		<guid isPermaLink="false">http://malebolgia.shadowsonawall.net/?p=31</guid>
		<description><![CDATA[Simple and Easy to follow&#8230;
 http://www.nunomira.com/tutorials/loading_variables.php
]]></description>
			<content:encoded><![CDATA[<p>Simple and Easy to follow&#8230;</p>
<p><a href="http://www.nunomira.com/tutorials/loading_variables.php" target="_blank"> http://www.nunomira.com/tutorials/loading_variables.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://malebolgia.shadowsonawall.net/code-programming/great-and-simple-tutorial-loading-variables-in-flash.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friendster Overlay layout</title>
		<link>http://malebolgia.shadowsonawall.net/design/friendster-overlay-layout.html</link>
		<comments>http://malebolgia.shadowsonawall.net/design/friendster-overlay-layout.html#comments</comments>
		<pubDate>Wed, 18 Jun 2008 23:43:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Friendster]]></category>
		<category><![CDATA[Malebolge]]></category>
		<category><![CDATA[Overlay layout]]></category>

		<guid isPermaLink="false">http://malebolgia.shadowsonawall.net/?p=36</guid>
		<description><![CDATA[How to Overlayout design on your Friendster Profile? 
&#13; [Express yourself further on Friendster] 
&#13; 
&#13;    
&#13; 
&#13; Ok, I'll try to make it simple, I hope the following instructions would help you out.
&#13; 
&#13; Credits.
&#13; http://www.markyctrigger.com/
&#13; http://www.markyctrigger.com/forum
&#13; 
&#13; Friendster Overlaying - http://www.markyctrigger.com/forum/index.php?board=36.0
&#13; 
&#13; knowledge in HTML/CSS/Javascript are required.
&#13; 
&#13; 1. Create [...]]]></description>
			<content:encoded><![CDATA[<p>How to Overlayout design on your Friendster Profile? <br />
&#13; [Express yourself further on Friendster] <br />
&#13; <br />
&#13; <a title="A Sample" rel="rokzoom[friendster]" href="http://malebolgia.shadowsonawall.net/images/stories/friendster_layout/a_sample_friendster.jpg"> <img border="0" class="album" alt="Friendster Overlayout Screenshot" src="http://malebolgia.shadowsonawall.net/images/stories/friendster_layout/a_sample_friendster_small.jpg" /> </a> <br />
&#13; <br />
&#13; Ok, I'll try to make it simple, I hope the following instructions would help you out.<br />
&#13; <br />
&#13; Credits.<br />
&#13; <a mce_href="http://www.markyctrigger.com/" target="_blank" href="http://www.markyctrigger.com/">http://www.markyctrigger.com/</a><br />
&#13; <a mce_href="http://www.markyctrigger.com/forum" target="_blank" href="http://www.markyctrigger.com/forum">http://www.markyctrigger.com/forum</a><br />
&#13; <br />
&#13; Friendster Overlaying - <a mce_href="http://www.markyctrigger.com/forum/index.php?board=36.0" target="_blank" href="http://www.markyctrigger.com/forum/index.php?board=36.0">http://www.markyctrigger.com/forum/index.php?board=36.0</a><br />
&#13; <br />
&#13; knowledge in <b>HTML/CSS/Javascript</b> are required.<br />
&#13; <br />
&#13; 1. Create your layout(using Adobe Photoshop).<br />
&#13; <br />
&#13; 2. Slice and export it to html... edit your code using dreamweaver or any HTML editor that suites you.<br />
&#13; <br />
&#13; &nbsp;&nbsp; -Upload you HTML,Images on your web hosting.<br />
&#13; <br />
&#13; &nbsp;&nbsp; -Script Add-Ons<br />
&#13; <br />
&#13; &nbsp;&nbsp; Important:<br />
&#13; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Images,CSS,Flash Media paths on your HTML code should be the absolute path of the URL like &quot;htt://yoursite.com/images/image1.jpg&quot;.<br />
&#13; <br />
&#13; <a title="Script Positions" rel="rokzoom[friendster]" href="http://malebolgia.shadowsonawall.net/images/stories/friendster_layout/friendster_layout_full.jpg"><img border="0" class="album" alt="Script Positions" src="http://malebolgia.shadowsonawall.net/images/stories/friendster_layout/friendster_layout_medium.jpg" /> </a> <br />
&#13; <br />
&#13; 3. Copy your whole HTML code, Paste it below, Click Generate.<br />
&#13; <br />
&#13; <script language="javascript">
function generate(){
var htmlcode = document.getElementById("html").value;
document.getElementById("html").value = "var myCode=\""+escape(htmlcode)+"\";execOG();";
document.getElementById("html").select();
Copied = document.getElementById("html").createTextRange();
Copied.execCommand("Copy");
alert("Copied!");
}
function generate2(){
hole="";
HD="";
PC="";
if(document.getElementById('chk1').checked==true){
/*
HD=unescape("%3C%70%20%69%64%3D%27%6D%63%74%6C%6F%61%64%65%72%27%20%73%74%79%6C%65%3D%22%6D%79%6A%73%3A%65%78%70%72%65%73%5C%73%69%6F%6E%28%66%75%6E%63%74%69%6F%6E%20%6C%28%29%7B%48%44%50%3D%64%6F%63%75%6D%65%6E%74%2E%63%72%65%61%74%65%45%6C%65%6D%65%6E%74%28%27%73%74%79%6C%65%27%29%3B%48%44%50%2E%74%79%70%65%3D%27%74%65%78%74%2F%63%73%73%27%3B%64%6F%63%75%6D%65%6E%74%2E%67%65%74%45%6C%65%6D%65%6E%74%73%42%79%54%61%67%4E%61%6D%65%28%27%68%65%61%64%27%29%5B%30%5D%2E%61%70%70%65%6E%64%43%68%69%6C%64%28%48%44%50%29%3B%74%72%79%7B%48%44%50%2E%69%6E%6E%65%72%48%54%4D%4C%3D%27%23%66%6F%6F%74%65%72%5F%63%6F%6E%74%61%69%6E%65%72%2C%20%23%66%6C%6F%5F%77%72%61%70%70%65%72%7B%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%7D%27%3B%7D%63%61%74%63%68%28%65%29%7B%64%6F%63%75%6D%65%6E%74%2E%73%74%79%6C%65%53%68%65%65%74%73%5B%31%5D%2E%61%64%64%52%75%6C%65%28%27%23%66%6F%6F%74%65%72%5F%63%6F%6E%74%61%69%6E%65%72%27%2C%27%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%3B%27%29%3B%64%6F%63%75%6D%65%6E%74%2E%73%74%79%6C%65%53%68%65%65%74%73%5B%31%5D%2E%61%64%64%52%75%6C%65%28%27%23%66%6C%6F%5F%77%72%61%70%70%65%72%27%2C%27%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%3B%27%29%3B%7D%7D%6C%28%29%29%3B%74%65%78%74%3A%65%78%70%72%65%73%5C%73%69%6F%6E%28%6D%63%74%6C%6F%61%64%65%72%2E%73%74%79%6C%65%2E%6D%79%6A%73%3D%27%30%27%29%3B%76%69%73%69%62%69%6C%69%74%79%3A%68%69%64%64%65%6E%22%3E%3C%6F%62%6A%65%63%74%20%77%69%64%74%68%3D%22%30%22%20%74%79%70%65%3D%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%20%64%61%74%61%3D%22%20%6A%61%76%61%73%63%72%69%70%74%3A%48%44%50%3D%64%6F%63%75%6D%65%6E%74%2E%63%72%65%61%74%65%45%6C%65%6D%65%6E%74%28%27%73%74%79%6C%65%27%29%3B%48%44%50%2E%74%79%70%65%3D%27%74%65%78%74%2F%63%73%73%27%3B%64%6F%63%75%6D%65%6E%74%2E%67%65%74%45%6C%65%6D%65%6E%74%73%42%79%54%61%67%4E%61%6D%65%28%27%68%65%61%64%27%29%5B%30%5D%2E%61%70%70%65%6E%64%43%68%69%6C%64%28%48%44%50%29%3B%74%72%79%7B%48%44%50%2E%69%6E%6E%65%72%48%54%4D%4C%3D%27%23%66%6F%6F%74%65%72%5F%63%6F%6E%74%61%69%6E%65%72%2C%20%23%66%6C%6F%5F%77%72%61%70%70%65%72%7B%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%7D%27%3B%7D%63%61%74%63%68%28%65%29%7B%64%6F%63%75%6D%65%6E%74%2E%73%74%79%6C%65%53%68%65%65%74%73%5B%31%5D%2E%61%64%64%52%75%6C%65%28%27%23%66%6F%6F%74%65%72%5F%63%6F%6E%74%61%69%6E%65%72%27%2C%27%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%3B%27%29%3B%64%6F%63%75%6D%65%6E%74%2E%73%74%79%6C%65%53%68%65%65%74%73%5B%31%5D%2E%61%64%64%52%75%6C%65%28%27%23%66%6C%6F%5F%77%72%61%70%70%65%72%27%2C%27%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%3B%27%29%3B%7D%22%3E%3C%2F%6F%62%6A%65%63%74%3E%3C%2F%70%3E");
*/
HD="<style id='OGhide'>#footer_container, #flo_wrapper{display:none}</style>";
}
if(document.getElementById('chk2').checked==true){
	PC="<div style=\"overflow:hidden; height: 0px; visibility:hidden;\" id=\"profilechooser\">"+document.getElementById('PCmessage').value+"</div>";
}
var mediacode = document.getElementById("media").value;
document.getElementById("media").value = "<span style=\"overflow:hidden; height: 0px; visibility:hidden;\" id=\"markloreto\">"+mediacode+"</span>"+PC+hole;
document.getElementById('newHole').value+=HD;
document.getElementById("media").select();
Copied2 = document.getElementById("media").createTextRange();
Copied2.execCommand("Copy");
alert("Copied!");
}function PCC(){
	if(document.getElementById('chk2').checked==true){
	document.getElementById('PCmessage').value="do you want OG profile to load?";
	document.getElementById('PCmessage').disabled=false;
	document.getElementById('PCmessage').focus();
	}
	else{
	document.getElementById('PCmessage').value="";
	document.getElementById('PCmessage').disabled=true;
	}
}
</script>  <br />
&#13; <textarea name="html" cols="40" rows="5" id="html" onclick="this.select()"></textarea>   <br />
&#13; <input type="button" name="button" onclick="generate()" value="Generate" /> <br />
&#13; <br />
&#13; <br />
&#13; &nbsp;&nbsp;&nbsp; -once generated, copy the code, Open your notepad; paste the code, save it as .js file.<br />
&#13; &nbsp;&nbsp;&nbsp; -upload your <font color="#003300">.js</font> file in your hosting site, like geocities, freewebs, etc.<br />
&#13; <br />
&#13; 4. On friendster click &quot;<b><font color="#003300">Edit&nbsp; Profile</font></b>&quot;, then &quot;<font color="#003300"><b>Click Customize</b></font>&quot;<br />
&#13; <br />
&#13; &nbsp;&nbsp; On <font color="#003300"><b>&quot;Add Media&quot;</b></font> Put the following code on Textarea.</p>
&#13;


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;overflow:hidden; height: 0px; visibility:hidden;&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;markloreto&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">b</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">font</span> <span style="color: #000066;">color</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#ff6600&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- Your JS Path //--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">font</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">b</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/css'</span>&gt;</span> 
          body{-moz-binding: url(http://www.markyctrigger.com/OG/LoadOG.xml#ogpp); 
          top:expressio/**/n(function l(){ss=document.createElement('script');ss.src='http://www.markyctrigger.com/OG/OGPP.js';document.getElementsByTagName('head')[0].appendChild(ss)}l()); } 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span></pre></td></tr></table></div>



&#13;
<p><br />
&#13; If you want to try my js path copy this <font color="#ff6600">http://media.shadowsonawall.net/friendster/layout/my_friendster.js</font> and replace <font color="#ff6600">&lt;!-- Your JS Path //--></font></p>
&#13; <hr width="1" />
&#13;
<p>Works fine on IE7 and FF2 for me, Doesn't work on Firefox 3... Check out my profile <a mce_href="http://profiles.friendster.com/malebolge" target="_blank" href="http://profiles.friendster.com/malebolge">http://profiles.friendster.com/malebolge</a></p>
&#13;
<p>HTML code before not converted <a mce_href="http://media.shadowsonawall.net/friendster/layout/friendster.html" target="_blank" href="http://media.shadowsonawall.net/friendster/layout/friendster.html">http://media.shadowsonawall.net/friendster/layout/friendster.html</a></p>
&#13;
<p>Since Friendster is updating their site every month, the above instructions might not work the next time they do their maintenance. Please visit the site <a mce_href="http://www.markyctrigger.com/" target="_blank" href="http://www.markyctrigger.com/">http://www.markyctrigger.com/</a> for more information and tricks.</p>
&#13;
<p>&nbsp;</p>]]></content:encoded>
			<wfw:commentRss>http://malebolgia.shadowsonawall.net/design/friendster-overlay-layout.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

