PDA

View Full Version : What is this code? No Parameters...


wownflutter
10-11-2002, 09:12 AM
Copied from the source of a cool flashed website:

<script LANGUAGE="JavaScript"><!--
// for NN4/IE4
if (self.screen)
{
width = screen.width
height = screen.height
}

// for NN3 w/Java
else if (self.java)
{
var javakit = java.awt.Toolkit.getDefaultToolkit();
var scrsize = javakit.getScreenSize();
width = scrsize.width;
height = scrsize.height;
}
else
{
// N2, E3, N3 w/o Java (Opera and WebTV)
width = height = '?'
}

mBackgroundImage ="images/back.gif";
mFlashFile = "RootMovie.swf";
addFlashArg( window.location.search);
if ( mFlashArg == null)
{
addFlashArg( "mBookmark=false");
}
addFlashArg( "Version=1.1");
// addFlashArg( "CanConnect=true");

// addFlashArg( "JhtmlDir=../");
// addFlashArg( "MediaDir=/BoltPresentation");
// addFlashArg( "ServerIp=dev.boltcreative.com");
addFlashArg( "StartFirewallBusterUrl=http://chat.bolttools.com/FirewallBuster/StartFirewallBuster.html");
addFlashArg( "StopFirewallBusterUrl=http://chat.bolttools.com/FirewallBuster/StopFirewallBuster.html");
addFlashArg( "ChatServerIp=chat.bolttools.com");
addFlashArg( "RemoteChannel=BoltRemote");

flashWidth = 792;
flashHeight = 600;
mbStaticSize = true;

mContentWidth = 792;
mContentHeight = 600;



So, this has no parameters or anything...what is it?

wownflutter
10-12-2002, 05:28 AM
and nobody can identify what this code is???

ScratUAD
10-12-2002, 02:39 PM
try pasting it into an HTML page...
it's javascript...we know that...
once you have it in the body of the page...
open the page to see what it does.
if it does nothing...
try the head of the page
if it still does nothing...
then it needs more code, and in my standards is "incomplete and should be round filed"

wownflutter
10-12-2002, 08:19 PM
www.boltcreative.com

Ive seen it at other sites as welll...I think it generates flash layout via jsp???

It is getting more common...so I need to learn how this is done...and why?

Thanks