Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web introducing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi Can anyone help me?
I´ve made a flash movie that is going to be my homepage.
I want tha flash to start im the middle of the window when someone enters my page. How do i do so that happens?

 
Do you mean play centered in the page? Or start playing in the middle of the movie?

Regards,
mywink2.gif
ldnewbie
 
Play centered in the window. I dont know how to get the movie into the page
 
what you could do, is publish the flash with your flash builder, and then open it in frontpage, and centre the flash movie object. But this is probably one of many solutions
 
Try this template I usually use:
Code:
<HTML>
<HEAD>
<TITLE>
TYPE YOUR WINDOW TITLE HERE! </TITLE>

</HEAD>
<BODY bgcolor=&quot;#999999&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;10&quot; RIGHTMARGIN=&quot;0&quot; BOTTOMMARGIN=&quot;0&quot; SCROLL=&quot;NO&quot;>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<LAYER NAME=&quot;TEST&quot; LEFT=&quot;25&quot; TOP=&quot;10&quot;> <!-- CENTERS FOR NS - NO EFFECT ON IE -->
<table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr bgcolor=&quot;#999999&quot;>
<td align=&quot;center&quot; valign=&quot;middle&quot;><OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot; WIDTH=720 HEIGHT=352>
<PARAM NAME=movie VALUE=&quot;your.swf&quot;> <PARAM NAME=menu VALUE=false> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#999999> <EMBED src=&quot;your.swf&quot; quality=high menu=false loop=false bgcolor=#999999 WIDTH=720 HEIGHT=352 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot; </OBJECT>
</td>
</tr>
</table>
</LAYER>
</BODY>
</HTML>

Change the highlighted red (with your movie's dimensions, for instance), and change all the different bgcolor parameters to suit your needs!
Also remove the &quot;;&quot; at the end of both links in blue, they shouldn't be there!

Regards,
mywink2.gif
ldnewbie
 
I believe in the publish movie settings, under the HTML tab you can select it to be centered...but for some reason it hasn't ever worked for me. Regards,
Anth:cool:ny
----------------------------------------
&quot;You say [red]insanity[/red] like it's a BAD THING!&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top