TinyPortal

Development => Block Codes => Topic started by: akulion on October 28, 2006, 06:30:44 PM

Title: Mind Reader - Really Awesome!
Post by: akulion on October 28, 2006, 06:30:44 PM
Hi,

Be amazed by this really awesome mind reader - woooooooo (creepy sounds)

Demo

To see live demo click here (http://path-to-peace.net/forum/index.php) (look next to the big flash slide show for a "mind reader" link)

Installation

well then lets begin...

Step 1: Download the file attatched to this post at the bottom, unzip it and upload the contents to a folder called psychic in your forum root!

Step 2: You can do this many ways:

Option A) in an article and link to it

for this use this code:


<script type="text/javascript" src="http://YOURSITE.COM/psychic/flashobject.js"></script>

<div id="flashcontent" style="width: 650px; height: 500px"></div>

<script type="text/javascript">
var fo = new FlashObject("http://YOURSITE.COM/psychic/psychic.swf", "animationName", "650", "500", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>

Replace http://YOURSITE.COM with your site addy the correct path to the psychic folder

Option B) In a popup (my preferred method)

for this u have to create a link either in your side menu or somewhere on your page with this code


<table><tr>
<td width="21">
<a href="http://YOURSITE.COM/psychic/" onclick="window.open('http://YOURSITE.COM/psychic/','dp','height=500,width=650'); return false;"><img border="0" src="http://YOURSITE.COM/psychic/3dglasses.gif"></a>
</td>
<td width="87%" colspan="2"><font face="Verdana" size="2">
<a href="http://YOURSITE.COM/psychic/" onclick="window.open('http://YOURSITE.COM/psychic/','dp','height=500,width=650'); return false;">Mind Reader</a>
</font></td>
</tr></table>

Replace http://YOURSITE.COM with your site addy the correct path to the psychic folder

Thats all folks!

enjoy!

PS: for those who may want a Tarot card flash thingie - click the link to the authors page in the flash, he has one there :D


Title: Re: Mind Reader - Really Awesome!
Post by: JPDeni on October 28, 2006, 07:05:28 PM
Oooooohhhhhhh!!!! LOL

It's nice to find some sort of mathematical trick and have fun with it. :)
Title: Re: Mind Reader - Really Awesome!
Post by: akulion on October 28, 2006, 07:16:39 PM
yea and the guys done a pretty nice job on that flash thingie too :D
Title: Re: Mind Reader - Really Awesome!
Post by: Nikki Sixx on October 28, 2006, 07:24:43 PM
Quote from: Aku on October 28, 2006, 06:30:44 PM
Be amazed by this really awesome mind reader - woooooooo (creepy sounds)

It said I was gay. >:(
Title: Re: Mind Reader - Really Awesome!
Post by: RoarinRow on October 28, 2006, 07:33:38 PM
That was freaky

Quote from: Nikki Sixx on October 28, 2006, 07:24:43 PM
Quote from: Aku on October 28, 2006, 06:30:44 PM
Be amazed by this really awesome mind reader - woooooooo (creepy sounds)

It said I was gay. >:(

:o
Title: Re: Mind Reader - Really Awesome!
Post by: daftdate on October 29, 2006, 01:08:47 AM
thats great Aku ive got that working a treat, thanx the students should have a blast with it.  :)
Title: Re: Mind Reader - Really Awesome!
Post by: rrasco on October 30, 2006, 08:01:54 PM
nice job.  i have seen it once before but in a different flash clip.  works off multiples of 9.
Title: Re: Mind Reader - Really Awesome!
Post by: kran1um on November 01, 2006, 07:15:11 PM
it was wrong. I had 92 as my original- which 11 > 81 .. it gave me a flag which was not the correct #...but good play.
Title: Re: Mind Reader - Really Awesome!
Post by: akulion on November 01, 2006, 07:24:26 PM
uumm well its based of mathematical calculations which run through the entire flash movie - so if one was wrong every single one would be wrong

try it out again and see
Title: Re: Mind Reader - Really Awesome!
Post by: rrasco on November 01, 2006, 08:08:57 PM
look at all the numbers and their symbols.  every multiple of 9 will have the same symbol.  any 2 digit number added together and subtracted from itself will leave you with a multiple of 9, hence your 81.  you had to have done it wrong, cause there is no way for it to be wrong.