Sometimes I like to put flash movies or games in my profile, and sometimes I see other people doing it too, so here's a tutorial!
[b]Media Box Preview:[/b]
[img]http://h1.ripway.com/shakiro214/images/1help.jpg[/img]
1. 1st go find a flash game or movie you want to put on your profile.
[quote][b]Finding the source code for a flash game or movie:[/b]
a. go to newgrounds.com or any flash game site.
b. find the game or movie.
c. view the page source - click [b]View[/b] from the menu,
then [b]Source[/b] from the dropdown list
d. click [b]Edit[/b] from the menu, then [b]Find[/b] from the dropdown list
e. search for [b]swf[/b], until you've found the source url for the flash[/quote]
2. Copy the following code to notepad
[quote]<embed src='[b]URL_OF_SWF_FILE[/b]' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='500' height='370'></embed>[/quote]
3. Replace [b]URL_OF_SWF_FILE[/b] with the source to your flash game or movie
[b]-example-[/b]
[quote]<embed src='http://www.gameshandbook.com/swf/7deadlysins.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='500' height='370'></embed>[/quote]
4. Paste to media box
That's it!
[align=center][b]** for a sidebar try using a width of 300px and height of 222 **[/b][/align]
[b]Sidebar Preview:[/b]
[img]http://h1.ripway.com/shakiro214/images/12help.jpg[/img]
this sidebar code example is [b]copy & paste[/b] friendly for js files
[quote]//this is a shakiro214 production
//In cooperation with friendsterTalk forum
//some rights reserved
function flashy(){
var flasher="<div align='center' id='flasherdiv'>"+
"<embed src='[b]URL_OF_SWF_FILE[/b]' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='300' height='222'></embed>"+
"</div>";
addflashBox("<center>-= FLASH MOVIE/GAME =-</center>",flasher,"flasher","8");
}setTimeout("flashy()",900);
function addflashBox(header,cont,id,target) {
var tb = document.getElementById(target);
var divid="<div id='"+id+"' class='commonbox "+id+"' style='filter:alpha(opacity=70);-moz-opacity:0.5'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+
cont+
"</div>"+
"</div>";
var obj = document.createElement("li");
obj.innerHTML=divid;
tb.parentNode.insertBefore(obj,tb);
}[/quote]
[img]http://img486.imageshack.us/img486/5404/7155668qt1.gif[/img][b]+rep me[/b] if you like this idea...
Last edited by shakiro214 (2007-12-28 01:23:06)