473,386 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

HELP, need to write an index.html and i'm stupid!

www.capitalthefilm.com needs an index page that'll redirect browser to
capitalholdingsite.swf without changing flash properties [ie site
appears correct proportion to window, irrespective of window size] can
someone tell me what the code should be? thanks!

May 16 '07 #1
2 2080
In article <11**********************@p77g2000hsh.googlegroups .com>,
tu****@gmail.com wrote:
www.capitalthefilm.com needs an index page that'll redirect browser to
capitalholdingsite.swf without changing flash properties [ie site
appears correct proportion to window, irrespective of window size] can
someone tell me what the code should be? thanks!
In Flash, set the publishing options to generate an html page along
with the .swf file.

This will automatically include the bits and pieces to make your
flash object appear in the web page, which you can rename if needed.

The html/script will look ugly as all get out because of certain
IE idiosyncrasies, but it will work for all those who visit your
site with javascript enabled.

Oh, and be prepared to get flamed if your web site is basically
built using Flash.
May 16 '07 #2
On May 16, 7:22 am, David Stone <no.em...@domain.invalidwrote:
In article <1179274612.757947.122...@p77g2000hsh.googlegroups .com>,

tup...@gmail.com wrote:
www.capitalthefilm.comneeds an index page that'll redirect browser to
capitalholdingsite.swf without changing flash properties [ie site
appears correct proportion to window, irrespective of window size] can
someone tell me what the code should be? thanks!

In Flash, set the publishing options to generate an html page along
with the .swf file.

This will automatically include the bits and pieces to make your
flash object appear in the web page, which you can rename if needed.

The html/script will look ugly as all get out because of certain
IE idiosyncrasies, but it will work for all those who visit your
site with javascript enabled.

Oh, and be prepared to get flamed if your web site is basically
built using Flash.
If you are using Apache, you should be able to create a file
called .htaccess where capitolholdingsite.swf is with these contents:

RewriteEngine On
RewriteCond ^/(index.html)?$ [NC]
RewriteRule - /capitolholdingsite.swf

This will physically redirect the browser to your swf file, if you
want that.

Jun 9 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anna K. | last post by:
Hi Experts, I'm new to JavaScript and web-based apps development, so I'll tell you right off that I don't really know my way around it as of yet. I'm trying to create a code library set with...
3
by: P Wolpert | last post by:
This is my first post. I hope I don't sound stupid. I have a script conflict when I put two scripts on one page. Both scripts will work if I use one at a time but the menu button script will not...
33
by: Martin Jørgensen | last post by:
Hi, In continuation of the thread I made "perhaps a stack problem? Long calculations - strange error?", I think I now got a "stable" error, meaning that the error always seem to come here now...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
5
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
5
by: weidongtom | last post by:
Hi, I tried to implement the Universal Machine as described in http://www.boundvariable.org/task.shtml, and I managed to get one implemented (After looking at what other's have done.) But when I...
7
by: jrb22250 | last post by:
I have the Dual Drop down in same page, my problem is the second drop down I can not figure out how to right an ORDER BY EPN asc or desc in there <html> <head> <meta name="GENERATOR"...
2
by: registry | last post by:
<%@Language="VBSCRIPT" CODEPAGE="1252"%> <html> <head> <title>Registry Network Hospital Detail</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.