Click to See Complete Forum and Search --> : Something Cool

10-17-2000, 05:28 PM
Two very Cool Things

First cool thing


This is a website that has SWF's and SVG's placed side by side. The SWF still looks a little sharper than the SVG but the SVG is giving it a run for its money. You will need the a SVG viewer Plug-In to veiw the SVG- Becuase your browser won't support it yet. One is available at http://www.adobe.com.

More Cool SVG links are here:


I wonder if Kool Moves will ever support SVG? It would be cool if it did.

The other Cool Thing

And this is way Cool. You can play pratical jokes on people, have some really cool effects, ETC....ETC....ETC

Add this to a GET URL action in KOOL MOVES

Javascript: var answe='<center><h1>I am a SWF Generated HTML</h1><br><br><h2>And I am Coool</h2><br><br><h3><a href="Javascript:history.back(1)">Press Here to go back</a></h3>';window.document.write(answe)

You can generate any HTML document with this little scriplet and have it shoot right out of your SWF. There are a couple of catches.

1. There is a size limit to the Number of characters that the Get URL can Handle- I've already tried another Kool Moves SWF page will not fit into that space.

2. You have to have it all on one line.

3. You could get around the Size thing by Defining the HTML in Vars in the Header and then calling them from the SWF.

4. You might have to nest quotes remember: "'&qt

Have Fun!

Edited becuase I'm a dork and put the wrong DOM call in there:
[Edited by johnie on 10-18-2000 at 01:55 PM]

10-18-2000, 11:29 AM
However funny this may or may not be, I'd like to suggest that we don't point any negative attention toward Koolmoves itself. If anyone's going to do this, please for Bob's sake consider removing Koolmoves from the descriptive text. Some people might not find this very funny, and those same people may take their uneasiness out by targeting Koolmoves as the source of a problem... :)

10-18-2000, 01:53 PM
I'll edit the text.

You do have to admit that it is really cool. You could use a SWF file to generate HTML- It would be an unique way to hide and protect your HTML and Java Script commands. The Example includes a Javascript command. This method of generating HTML out of a SWF has many many many aplications. Not only could you generate HTML but with XML and with browsers supporting XML (Netscape 6PR3 and IE 5.5 both claim to) makes the possibilities even more endless.

A side note is that this method is much faster than ASP, PHP, or even Downloading a linked HTML as far as generating HTML and sending HTML because it is on the client side. All the server has to do is send the SWF out.

Finally SWF's are compliled- so that means typically they are smaller than source code. That is why a 11k SWF is 85 K in SVG. This speeds things up even more becuase the server would not have top send as much info to your computer.

SVG is nothing more than uncompiled XML code in a HTML document. This is its chief downfall. It makes up for itself by bieng reusable. Some SVGs that use reapeated elements are Smaller than SWF's while other SVGs are Largwer than SWFs. SVG also allows more advanced features. The SVG recomendation is at http://www.w3c.org.

[Edited by johnie on 10-18-2000 at 02:07 PM]

10-18-2000, 01:58 PM
Also a side note here is that this trick will also work in Live Motion, Swish, Flash and any other SWF generator that allows the action Get URL.

The Artexer
10-18-2000, 02:23 PM
Nice One.....

Can you Give Us Some More Examples.....

10-18-2000, 03:31 PM
I'll whip a photo gallary up tonight.

What else do you want?

Do you want more javascript?

Or another example of a web doc?

You could show the contents of a Drive with such a script:

javascript: window.open('file:///A:/','','hieght=342,width=433,');window.document.refr esh

This one will show the contents of the A: Drive- I could have just as easily shown the contents of the C: drive

This is Useful if you have Burnt your own CD or Disk and are going to use a SWF to play another program- Yes if you put a programs pathway into that command IE and some versions of Netscape will open that program.

and no-I'm not gonna tell you how to change the contents of a drive from this command. There is a limit to what I will teach someone and that is where I draw the line.

10-18-2000, 09:32 PM
The example is gonna have to be put on hold till tomorrow or somtime.

I'll probably write another tut on this one- Using Kool Moves to generate a SWF Disk explorer, and starting external apps from Kool Moves generated SWFs.

The Artexer
10-19-2000, 02:11 PM
Originally posted by johnie
The example is gonna have to be put on hold till tomorrow or somtime.

I'll probably write another tut on this one- Using Kool Moves to generate a SWF Disk explorer, and starting external apps from Kool Moves generated SWFs.






10-19-2000, 02:48 PM
We can start by me not telling people how it is done.

IE 3.1 had a security issue and that was one of the issues with it.

Stopping Cybercrime:

1. Pay attention to what your computer is doing. If you notice that your E-mail program is sending out unwritten messages- disable it and then Scan for viruses. If you are running Windows hit ctrl-alt-delete every once in a while to see what programs are running. If you have a resource metter check for the amount of memory that is being used. If your computer prompts you to do something pay attention instead of blindly hitting yes.

2. Report incidents.

3. Change your Securitry settings on your Browser- AT least have it prompt for scripting.

10-19-2000, 04:34 PM
Adding a print button to your KM movie.

this script is for MS Explorer 4.0 and higher browsers.

Add this script to your get URL function.

javascript: var webBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';document.body.insertAdjacentHTML('beforeEnd', webBrowser);WebBrowser1.ExecWB(6,2);WebBrowser1.ou terHTML= "";window.document.refresh

this is for NS browsers:

javascript: window.print(0); window.document.refresh

[OOPS left something off]
[Edited by johnie on 10-19-2000 at 04:40 PM]

10-19-2000, 04:39 PM
I think that the NS version also works for MS IE 5.X and above. I'm not sure I tested it in MS IE 4.72X

10-20-2000, 10:59 AM
A side note here is that the print script as/is will print the whole page and not just the SWF. The other note is that it will only print the first frame of the SWF.

10-20-2000, 11:41 AM
The script for IE explorer will create a bad FUN file if saved. Your options will be either to repair the File or to delete it if you save with the IE 4.X-5.0 script.

I recommend printing pages this way:

Add this to the header of the HTML:

var NS=(navigator.appName=="Netscape");
var Version=parseInt(navigator.appVersion);
function printpg(){
if (NS){
}else{ var webBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';document.body.insertAdjacentHTML('beforeEnd', webBrowser);WebBrowser1.ExecWB(6,2);WebBrowser1.ou terHTML= ""

Then call the function from the Get URL section of the fun file by typing

Javascript: printpg(); window.document.refresh

This will both sniff the browser and not create unrecoverable FUN files.

Happy Printing

[edditted becuase I buggered something- Enjoy the Script)

[Edited by johnie on 10-20-2000 at 11:49 AM]