Click to See Complete Forum and Search --> : Flash in Top Nav Bar


Jack73
07-27-2003, 01:32 PM
Hi

I am trying to get my flash buttons to sit in the center of my top navigation page and also you have to scroll down to see them (how would i make the page "shorter" in height?

Source for top nav:

<html>
<head>
</head>
<body bgcolor="darkgreen" align="right">

<align="right">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="500" height="250">
<PARAM name="movie" value="Spinner.swf">
<PARAM name="quality" value="high">
<PARAM name="menu" value="true">
<EMBED src="Spinner.swf" quality="high" menu="true" pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="500" height="250">
</EMBED>
</OBJECT>

</body>

source for index:

<HTML>
<FRAMESET ROWS="16%,*" FRAMEBORDER="0" scrollbar="0">
<FRAME NAME="TOP" SRC="TOP.HTM">

<FRAMESET COLS="25%,*" FRAMEBORDER="0">
<FRAME NAME="LEFT" SRC="LEFTNAV.HTM">
<FRAME NAME="RIGHT" SRC="MAIN.HTM">

</FRAMESET></FRAMESET>

</html>

Thanks!!

webHeretic
07-27-2003, 09:13 PM
Does your .swf really need to be height=250? Can you republish the .swf with a smaller height?

I don't know what your .swf looks like so I don't know where the buttons in your .swf are.

Jack73
07-28-2003, 03:11 AM
Hi

I am unable to attach the .swf as this forum doesnt allow it but if theres any info I could send you to help let me know.

This is the site I got the button from called the "spinner" - the third one down on your right which shows you an example.

The buttons are currently in the center of the frameand the frame is very large, even on reducing the size of the buttons (see below) it hasnt affected the frame size. Is there any html to reduce frame size? I thought taking scrolling "off" on Index would help but it hasnt made a difference (as theres still a scrollbar).

Thank you!!

http://www.flashbuttons.com/index.html

<html>
<head>

</head>
<body bgcolor="darkgreen" align="top">
<p align="center">
<EMBED SRC="Spinner.swf" WIDTH="450" HEIGHT="720">
<NOEMBED>Get Flash !</NOEMBED>
</EMBED>
</p>
</body>
</html>

webHeretic
07-28-2003, 11:27 AM
Hi Jack,

I just downloaded my own copy of the spinner swf - three spinning buttons stacked ontop of one another. I duplcated your problem. Decrease the TWO height statments in your embed statement until the scrollbar goes away and you are happy with the size of your buttons.

<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="115" height="65">
<PARAM name="movie" value="Spinner.swf">
<PARAM name="quality" value="high">
<PARAM name="menu" value="true">
<EMBED src="Spinner.swf" quality="high" menu="true" pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="115" height="65">
</EMBED>
</OBJECT>

I set both embed statements height parameter to 65 for my swf and it worked great.

webHeretic
07-28-2003, 11:30 AM
To center the buttons, just put a <CENTER> </CENTER> statement around your Object statement.

Jack73
07-29-2003, 03:06 AM
Its worked...thank you very much!!!!

webHeretic
07-29-2003, 10:25 AM
My Pleasure! Glad I could help.