Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
What does your index file need to contain for a flash site?
Old 07-20-2009, 07:06 PM What does your index file need to contain for a flash site?
Snot's Avatar
Super Talker

Posts: 132
Name: Chase
Trades: 0
I mostly need the code to link the swf and js files. I'd also like to know if anyone has an index template that has all the meta data and anything else you can use in your index file.

Thanks
__________________

Please login or register to view this content. Registration is FREE
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
 
Register now for full access!
Old 07-20-2009, 11:23 PM Re: What does your index file need to contain for a flash site?
Skilled Talker

Posts: 54
Trades: 0
This is the usual structure of my flash websites, all you really need is the *.swf file to be embedded somewhere in the page.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Your Flash Website</title>
</head>
<body>
<div align="center" class="websiteFlash" style="padding:10px">
  <object classid="clsid:CLASS-ID-GOES-HERE"
           codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
           width="800" height="700">
    <param name="movie" value="websiteFlash.swf?button=1">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <!--[if !IE]> <-->
    <object data="websiteFlash.swf?button=1"
            width="800" height="700" type="application/x-shockwave-flash">
      <param name="quality" value="high">
      <param name="menu" value="false">
      <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
      FAIL (the browser should render some flash content, not this).
    </object>
    <!--> <![endif]-->
  </object>
</div>
</body>
</html>
EDIT: There is a sticky in this board covering this exact subject. I think you should go check it out!
KellyAX is offline
Reply With Quote
View Public Profile
 
Old 08-29-2009, 11:59 PM Re: What does your index file need to contain for a flash site?
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Quote:
Originally Posted by KellyAX View Post
This is the usual structure of my flash websites, all you really need is the *.swf file to be embedded somewhere in the page.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Your Flash Website</title>
</head>
<body>
<div align="center" class="websiteFlash" style="padding:10px">
  <object classid="clsid:CLASS-ID-GOES-HERE"
           codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
           width="800" height="700">
    <param name="movie" value="websiteFlash.swf?button=1">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <!--[if !IE]> <-->
    <object data="websiteFlash.swf?button=1"
            width="800" height="700" type="application/x-shockwave-flash">
      <param name="quality" value="high">
      <param name="menu" value="false">
      <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
      FAIL (the browser should render some flash content, not this).
    </object>
    <!--> <![endif]-->
  </object>
</div>
</body>
</html>
EDIT: There is a sticky in this board covering this exact subject. I think you should go check it out!
You should have just posted the link to the sticky, but it's answered so, not needed.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What does your index file need to contain for a flash site?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.88168 seconds with 12 queries