Adventure Game Studio

Community => General Discussion => Topic started by: Squinky on Fri 05/09/2003 21:45:17

Title: Flash help please...
Post by: Squinky on Fri 05/09/2003 21:45:17
Okay, This is probably in the wrong forum, but here goes...

I can make a neat-o little flash web page, but I cannot for the life of me get it to work on the internet? So my question to all you flash guys is, how (and what) do you upload and where do you place it in your internet directorys and whatnot... I'm sure I'll have to elaborate on this as I'm probably being unclear...
Title: Re:Flash help please...
Post by: Evil on Fri 05/09/2003 21:54:07
I belive that you put the flash "product" onto a webpage as an html page...
Title: Re:Flash help please...
Post by: Squinky on Fri 05/09/2003 22:07:56
yeah, but when I do that it dosen't display the page, it prompts the user to download the entire swf onto their computer....now thats not what I'm going for believe it or not...
Title: Re:Flash help please...
Post by: Evil on Fri 05/09/2003 22:09:36
Is there options to save it as something else? Or maybe options for a website?
Title: Re:Flash help please...
Post by: Hobbes on Fri 05/09/2003 22:15:47
Be sure to use the following code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%">
       <param name=movie value="URL OF FILE HERE">
       <param name=quality value=high><param name="LOOP" value="false">
       <embed src="URL OF FILE HERE" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" loop="false">
       </embed>

You can change the LOOP value from "false" to "true", of course.
     </object>
Title: Re:Flash help please...
Post by: Squinky on Fri 05/09/2003 22:26:15
Yikes, hobbes....

Where do I put this code ? and what does it do?
Title: Re:Flash help please...
Post by: Evil on Fri 05/09/2003 22:27:50
Are you using geocities Squinky?
Title: Re:Flash help please...
Post by: Squinky on Fri 05/09/2003 22:31:33
No, I've got some space from sylpher and I ftp crap....
Title: Re:Flash help please...
Post by: Darth Mandarb on Fri 05/09/2003 22:45:08
Squinky - Use Hobbe's code in the HTML of the page.  So for instance:

< html >
< head >
< title > Title of Page < /title >
< /head >
< body bgcolor="EFEFEF" >

< hobbe's code >

< /body >
< /html >

Save the file as something like flashmovie.html (or .htm) or something like that.  
If you link directly to a .swf it'll just ask you to DL it.  You have to use the object code (from Hobbes).

hope that helps!
dm
Title: Re:Flash help please...
Post by: TheYak on Sat 06/09/2003 02:57:16
Off topic but, Darth, Walter rocks.  ;)
Title: Re:Flash help please...
Post by: Squinky on Sat 06/09/2003 03:30:35
Man, I appreciate all the help so far....

But heres what I get when I threw up a test page....dosen't work for me:

http://sylpher.com/squinkyproductions/flashsite.html
Title: Re:Flash help please...
Post by: Darth Mandarb on Sat 06/09/2003 04:13:07
Sorry man I forgot to mention that you need to remove the spaces ... which I don't think I needed to put in there.  Like this:

<html>
<head><title>Title of Page</title></head>
<body bgcolor="efefef">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%">
<param name=movie value="URL OF FILE HERE">
<param name=quality value=high><param name="LOOP" value="false">
<embed src="URL OF FILE HERE" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" loop="false">
</embed>
</body>
</html>

The HTML parser in browsers isn't recognizing those tags 'cause of the spaces!  Sorry, I didn't realize I could include html code directly in these forums so I added the spaces to 'trick' the system!  If that still doesn't work, let me know and you can e-mail me the swf file and I'll create the page for you and e-mail it back!

YakSpit - Sobchak is a hero of mine :)  One of my favorite movie characters of all time!!

cheers,
dm
Title: Re:Flash help please...
Post by: Squinky on Sat 06/09/2003 04:35:24
M'kay, so I changed it around a bit like you said and I still am not seeing my flash stuff, or maybe it's just taking to long to load?

Anyway, I appreciate the offer to set up the site for me, but this is just a crap test site. I'm hopeing to figure this out...

anymore tips out there guys?
Title: Re:Flash help please...
Post by: Darth Mandarb on Sat 06/09/2003 05:19:00
It looks, to me, like it's loading something ... how big is the swf file?

dm
Title: Re:Flash help please...
Post by: Squinky on Sat 06/09/2003 05:22:29
I think its like 170k...maybe I named the url wrong....
Title: Re:Flash help please...
Post by: Trapezoid on Sat 06/09/2003 05:27:20
I think you did. The HTML file is trying to load "http://sylpher.com/squinkyproductions/sylpher.com/squinksite.swf". Get rid of the "sylpher.com/" part in the HTML file.

Edit: By the way, when you make buttons in Flash, use the "Hit" frame to draw the clickable-area of the button, it makes it less irritating to click them.
Title: Re:Flash help please...
Post by: Hobbes on Sat 06/09/2003 08:43:45
Slight modification on DarthMandarb's code:

<html>
<head><title>Title of Page</title></head>
<body bgcolor="efefef">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%">
<param name=movie value="http://sylpher.com/squinkyproductions/squinksite.swf">
<param name=quality value=high><param name="LOOP" value="false">
<embed src="http://sylpher.com/squinkyproductions/squinksite.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" loop="false">
</embed>
</object>
</body>
</html>

This should work!
Title: Re:Flash help please...
Post by: remixor on Sat 06/09/2003 09:12:41
Donnie, you're out of your element!


Sorry, that's all I have to say.
Title: Re:Flash help please...
Post by: on Sat 06/09/2003 11:26:16
get a copy of dreamweaver and create the page in that, you can add flash button etc.
i've got a copy you could download, its 80meg tho :-\ PM if you want it
Title: Re:Flash help please...
Post by: Squinky on Sat 06/09/2003 15:41:09
Thanks everybody, it was just the simple problem of an incorrect url...
Now to make a real website as that one was just a half assed test thingy....
Title: Re:Flash help please...
Post by: Scummbuddy on Sat 06/09/2003 15:51:44
Oh, shoot, im too late.  I think I found a good pdf tutorial for you anyways.

http://virtual-fx.net/vfx/tutorial/pdf/aftershock.pdf