Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Embed a flash intro



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
lloyd



Joined: 29 Aug 2005
Posts: 3

PostPosted: Mon Aug 29, 2005 6:54 am    Post subject: Embed a flash intro Reply with quote

Hello
I have just made a flash intro to my site with a program called SWF Text. It produced the movie for me just fine. When I open it it works just fine. The problem I have is I dont know where to add it to my website. My home page will open after the intro finishes playing. It gave me some code but I dont know what to do with it. Here is the code.........<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="600" HEIGHT="800" id="flash intro" ALIGN="">
<PARAM NAME=movie VALUE="flash intro.swf"><PARAM NAME=quality VALUE=high>
<EMBED src="flash intro.swf" quality=high WIDTH="600" HEIGHT="800" NAME="flash intro" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED></OBJECT>
Back to top
View user's profile Send private message
lalalogic
100+ Club


Joined: 16 Aug 2005
Posts: 200

PostPosted: Mon Aug 29, 2005 12:38 pm    Post subject: Re: Embed a flash intro Reply with quote

hello lloyd Smile

You should rename your homepage to home or page etc and embed your intro in your index page.

In case you're using html and working with tables your index.htm should look like that :


Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<table width="600" height="800" cellpadding="0" cellspacing="0" border="0" align="center">

<tr>

<td width="600" height="800" align="center" valign="middle">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="800">

 <param name="movie" value="flash_intro.swf">

 <param name="quality" value="high">

 <embed src="flash_intro.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="800" name="flash intro"></embed>

</object>
 
</td></tr>
 
</table>

</body>

</html>


try not to use blanks in your .swf filename "flash_intro.swf" and use these " " everywhere.

Is your homepage loading automatically after the intro is finished or do you have an 'enter' link?

oh and try to decrease the height of the intro so you don't get any scrollbars.
Back to top
View user's profile Send private message
lloyd



Joined: 29 Aug 2005
Posts: 3

PostPosted: Tue Aug 30, 2005 4:56 am    Post subject: Re: Embed a flash intro Reply with quote

Thanks for your reply. My homepage does load automaticaly after the intro. I am a bit confused about renaming the home page though. If i rename it will my othert pages link to it and i tried putting the intro in my index page and it was loading both the intro and my homepage , is this because i havn't renamed it? When the intro finished it linked back to itself and played again. Thanks for your help
Back to top
View user's profile Send private message
lalalogic
100+ Club


Joined: 16 Aug 2005
Posts: 200

PostPosted: Wed Aug 31, 2005 2:07 am    Post subject: Re: Embed a flash intro Reply with quote

Yup the homepage and the intro should be on different pages, otherwise the intro will load over and over again.. And you will need to update the links on the other pages too, so they link to the homepage and not to the index.
Back to top
View user's profile Send private message
lloyd



Joined: 29 Aug 2005
Posts: 3

PostPosted: Wed Aug 31, 2005 6:03 am    Post subject: Re: Embed a flash intro Reply with quote

Thanks so much for your help, every thing worked out fine.

lloyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap