Forum Topic: swf file as site index page?

(163 views • 10 replies)

This topic is 1 page long.

<< < > >>
None

djbdr248

Reply To Post Reply & Quote

Posted at: 10/7/09 09:21 PM

djbdr248 EVIL LEVEL 11

Sign-Up: 08/07/07

Posts: 879

Is there a way to make a swf the index page for a site so when they go to the site it gos to the swf but in the address window it still says for example www.stickitindetroit.com, not jump to an extention like www.stickitindetroit.com/swffile.swf ?

I cant use imbeding code because my buttons don't work when I use it so I need the index page for the site to be the actual swf.?


None

Radshift

Reply To Post Reply & Quote

Posted at: 10/7/09 09:35 PM

Radshift NEUTRAL LEVEL 07

Sign-Up: 04/09/07

Posts: 3

You could simply have the index page forward to the .swf, or embed the .swf into the index page.


None

djbdr248

Reply To Post Reply & Quote

Posted at: 10/7/09 09:38 PM

djbdr248 EVIL LEVEL 11

Sign-Up: 08/07/07

Posts: 879

At 10/7/09 09:35 PM, Radshift wrote: You could simply have the index page forward to the .swf, or embed the .swf into the index page.

I need the url to still say www.stickitindetroit.com and I cant use embeding code because when I embed the swf my buttons don't work.


None

Jessii

Reply To Post Reply & Quote

Posted at: 10/7/09 09:46 PM

Jessii DARK LEVEL 36

Sign-Up: 02/10/05

Posts: 9,183

It should work. You may have coded the buttons wrong.


None

djbdr248

Reply To Post Reply & Quote

Posted at: 10/7/09 10:01 PM

djbdr248 EVIL LEVEL 11

Sign-Up: 08/07/07

Posts: 879

At 10/7/09 09:46 PM, Jessii wrote: It should work. You may have coded the buttons wrong.

No everythibg works untill i embed it.


None

djbdr248

Reply To Post Reply & Quote

Posted at: 10/7/09 10:03 PM

djbdr248 EVIL LEVEL 11

Sign-Up: 08/07/07

Posts: 879

Here is more on that problem
http://www.newgrounds.com/bbs/topic/1111 721

But is there a way to make a swf file my index file for a site?


None

knugen

Reply To Post Reply & Quote

Posted at: 10/8/09 02:09 AM

knugen LIGHT LEVEL 35

Sign-Up: 02/07/05

Posts: 4,690

At 10/7/09 10:03 PM, djbdr248 wrote: But is there a way to make a swf file my index file for a site?

Not sure, but naming it index.swf should work.


None

adam2510

Reply To Post Reply & Quote

Posted at: 10/8/09 04:24 AM

adam2510 EVIL LEVEL 13

Sign-Up: 10/02/05

Posts: 3,726

what embed code are you using tho?

use this

<object type="application/x-shockwave-flash" data="index.swf" width="500" height="400">
<param name="movie" value="index.swf"><param name="wmode" value="transparent">
</object>

Web Hosting: Free! Premium!

BBS Signature

None

henke37

Reply To Post Reply & Quote

Posted at: 10/8/09 04:48 AM

henke37 NEUTRAL LEVEL 23

Sign-Up: 09/10/04

Posts: 3,647

Set the server to serve the swf file when someone requests the resource "/". This way, you don't even have any url hiding issues to worry about, because the visible url is the real url.

Just remember to send the correct content type for swf files, whatever that is.

Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.


None

djbdr248

Reply To Post Reply & Quote

Posted at: 10/8/09 02:24 PM

djbdr248 EVIL LEVEL 11

Sign-Up: 08/07/07

Posts: 879

At 10/8/09 04:48 AM, henke37 wrote: Set the server to serve the swf file when someone requests the resource "/". This way, you don't even have any url hiding issues to worry about, because the visible url is the real url.

Just remember to send the correct content type for swf files, whatever that is.

I've seen that done b4.How do you hide the url?


None

henke37

Reply To Post Reply & Quote

Posted at: 10/8/09 02:40 PM

henke37 NEUTRAL LEVEL 23

Sign-Up: 09/10/04

Posts: 3,647

As I said, you don't hide the url, you make the content appear for real on the url. Just tell the httpd server that if it gets a request for the resource "/", it should reply with the content of the swf file.

Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.


All times are Eastern Standard Time (GMT -5) | Current Time: 06:23 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!