Question:

WEB DEVELOPERS answer this please: my site is purely flash can i name the file index.swf and it will appear?

by  |  earlier

0 LIKES UnLike

My new portfolio site will be purely flash based, and i want it to expand to the size of the visitor's browser window.

i know that to get a page to show up on your page you name it index.html does that work if i do a index.swf? i know that if i just get an index.html and embed the swf file via html that it will only be a set size.... help me! thank you =)

 Tags:

   Report

5 ANSWERS


  1. Not by default, but if you're on an Apache web server you can create a file named ".htaccess" and put "DirectoryIndex index.swf" in it you can achieve the desired effect.

    Flash sites are kind of icky, though.


  2. No, you have to have the index.html file.

    There are numerous JavaScripts out there that you can can embed in your HTML file to allow you to make the layout and sizing of your Flash website flexible. With a bit of experience, you wouldn't even need those JavaScripts to make your Flash website look naturally laid out.

    As a general rule of thumb, just optimise your website for 800 x 600 resolutions. Set the flash to be about a maximum width of 768 pixels (I recommend 760 pixels) because the scrollbar in web browsers take up 22 pixels.

  3. Are you sure you want it to expand to the size of any viewer's screen? When making a graphic (including .swf) larger than it was originally created, it becomes pixellated.  

  4. You cant use index.swf it shoulf be index.html, index.php, or index.shtml. You can just embed the swf on the html file. Just control the dimensions to fill the entire screen of the viewer. Try to use javascripting to know the viewers screem dimension and adjust the dimensions of the swf accordingly through javascript.

  5. no way.

    browsers only accept those files with some specific extension(.html, .xml, .dhtml, .shtml, .php, .phtml, .aspx, .jsp etc). .swf is not included on that list. for showing ur flash u have to embed that flash in a .html or any other browser supported file. then only u can see it in ur browser.

    if u have any questions in this regard u can ask us without hesitation by emailing to this email id

    bizvizadvertising@gmail.com

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.