How do i completly center my swf in the middle of the page?

ok i made a flash, but it wont center to the middle of my page it centers horizontally on the top, but it wont vertically center to the middle of the page... what am i doing wrong? (please post a html fix for this problem with maybe a explaintaion with what i did wrong... sorry drunk)
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>intro2</title>
</head>
<body bgcolor="#000000">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
100%
-->
<!-- saved from url=(0013)about:internet -->
<p align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="281" id="intro2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="intro2.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="intro2.swf" quality="high" bgcolor="#000000" width="500" height="281" name="intro2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</p>
</body>
</html>

Read through this: http://www.ddg-designs.com/howTo/FlashInAWindow/controllingSize.html It will explain how you can control the positioning of the .swf inside the browser window.

Similar Messages

  • Please help me center an SWF on the page.

    Hello, I have a rather simple problem I think, but I can't seem to find the solution. I am trying to get the same
    effect found here at:
    http://osc.template-help.com/wt_25248/index.html
    I want to center an SWF that is larger than the browser window, and I need it to center on the center of the
    SWF without presenting a horizontal scroll bar (in other words just like the example link).
    Here is my code so far. I have tried a couple different methods, but my animation usually sticks on the left or
    the right.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <BODY style="margin:0;padding:0; background:url(images/tall.jpg) top left repeat-x">
    <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR>
            <TD style="line-height:0; font-size:0;">
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="480">
                    <param name="movie" value="Page2.swf">
                    <param name="quality" value="high">
                    <param name="wmode" value="transparent">
                    <param name="menu" value="false">
                    <param name="allowScriptAccess" value="never">
                    <param name="allowNetworking" value="none">
                    <param name="menu" value="false">
                    <embed src="Page2.swf" quality="high" wmode="transparent"  allowNetworking="none" allowScriptAccess="never" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="480"></embed>
                </object>
            </TD>
        </TR>
    </TABLE>
    </body>
    </html>
    I tried with CSS instead of tables, but it was pretty much the same effect. Also, if the example from the link is different than I am thinking, please
    let me know what they are doing and how I can do it. Thanks.

    Try this by pasting into a new, blank HTML document in Code View.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {width: 100%; margin:0 auto; text-align:center}
    </style>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0, 19,0" width="100%" height="480">
    <param name="movie" value="Page2.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent">
    <param name="menu" value="false">
    <param name="allowScriptAccess" value="never">
    <param name="allowNetworking" value="none">
    <param name="menu" value="false">
    <embed src="Page2.swf" quality="high" wmode="transparent"  allowNetworking="none" allowScriptAccess="never" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="480"></embed>
    </object>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to center a component on the page????

    Hi all
    i want to center a component on the page
    Sorry it may be some thing trivial ???
    but i ve a command button i want to center it on the page ????
    how???

    Hi,
    try this steps:
    1-surround the command button with panelGroupLayout with layout Horizontal.
    2-In panelGroupLayout property select Style tab.
    3-in the Text tab set horizontal Align with Center.
    4-in Box tab set width with 100 Percent
    if panelGroupLayout inside any other component make this palce width 100 percent and its Align Horizontal with Center.
    Sameh Nassar

  • My bookmark glasses icon is missing as well as the bookmark icon from preference pane.  The reading list is still there although completely grey colour and all the pages have the same blue icon. Can anyone advise how to fix this problem?  Mac os x 10.7 Sa

    My bookmark glasses icon is missing as well as the bookmark icon from preference pane. There is no + sign to add to the reading list.  The reading list is still there although completely grey colour and all the pages have the same blue icon. Can anyone advise how to fix this problem?  Mac os x 10.7.5  Safari 6.1.

    My bookmark glasses icon is missing as well as the bookmark icon from preference pane. There is no + sign to add to the reading list.  The reading list is still there although completely grey colour and all the pages have the same blue icon. Can anyone advise how to fix this problem?  Mac os x 10.7.5  Safari 6.1.

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • How do I add a drop shadow to the page in Muse?

    How can I apply a drop shadow to the page template in Muse? If I place a rectangle it will not change shape according to the page size. Is this a feature?

    Hello,
    You're most possibly referring to "Favicons", and they can be added in a Muse site from the "File -> Site Properties -> Layout" section. Check this screenshot: http://jingsite.businesscatalyst.com/jing/2013-09-05_2332.png
    Hope this helps.
    Cheers
    Parikshit

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How do I view templates in English in the Pages program?

    How do I view templates in English in the Pages program?

    tfromgranville wrote:
    How do I view templates in English in the Pages program?
    Most templates that include sample text will have "Lorem ipsum" Latin placeholder text, formatted as such. If you really need to know what it says, translated to English, you can copy it and use a service such as Google Translate.
    Don't expect to understand much of it, as it's not meant to be informative.
    Jerry

  • How do you in an easy way number the pages in a book your´e doing in LR4?

    How do you in an easy way number the pages in a book your´e doing in LR4?
    In Blurb´s BookSmart it´s quite easy to do it autoamtically.

    You might like to add your vote to this request - http://feedback.photoshop.com/photoshop_family/topics/lightroom_book_module_and_page_numbe ring_building_indexes_and_table_of_contents - oddly that was the only request I could fine, apart from one with a whole lot of requests.

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • With the new io5 on safari how do you get back to top of the page quickly

    With the new io5 on safari how do you get back to top of the page quickly?

    Same way as before - click on the top. But the area to click seems to be slightly lower ... aim for the touch of the grey and black instead of the black.

  • I have just completed a long document and the Pages application quit unexpectedly.  Is that it gone irretrievably?

    I have just completed a long document and the Pages application quit unexpectedly.  Is is lost irretrievably?

    Yes, unless you've saved manually or have autosave software for it installed, which is only preloaded when using the latest Pages version on Mac OS X 10.7.
    Save your work frequently.
    (59502)

  • How do i put a "draft" watermark across the page?

    how do i put a "draft" watermark across the page?

    You search for the keyword "watermark" in Pages User Guide !
    You will find it in pages 17, 41, 60, 262 and 263 (in the English version).
    Yvan KOENIG (VALLAURIS, France) mardi 12 juillet 2011 22:49:14
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to make session invalid when user refresh the page?

    How to make session invalid when user refresh the page?

    I have a <form> in a JSP file that has another JSP file as an action.
    I have main.jsp that has <form> with action.jsp file as an action.
    Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
    I want to prevent this.

  • How do I use Firebug with a website I created? I want to see how long each thing takes to load on the page. The server is very slow.

    I have created a website/blog with Wordpress. It appears to be on a slow server because it can't be opened or takes forever to open. A representative from Wordpress told me to download Firebug to find out how long each thing takes to load on the page. I downloaded Firebug but I can't figure out how to use it. Please advise.

    OK. You've kind of skipped over the reason why you want to go back five hours, but my assumption would be that you've made changes to a Pages file that you want to revert.
    There are two ways to tackle this. From Pages itself, open the current version of your document, and from the File menu, click Revert To, and Browse All Versions. You'll then be in the Time Machine interface for that file, and can browse back to the version you want.
    Or, outside of Pages, you can select the file (or the folder it was originally in, if you've since deleted it) and enter Time Machine from the TM menu (it sounds like you've already tried this?)
    best
    Matt

Maybe you are looking for

  • Itunes is slow, possibly spinning wheel of death?

    I don't really know how it happened but whenever I try to play songs on iTunes it'll freeze at various points and the spinning wheel pops up constantly.  I get freezes as well when Im trying to purchase songs or sync my iPod.  The download time for m

  • BED(14%) not appearing at the time of creation of Export Sales Excise Inv

    Dear All, While creation of excise invoice for export sales the BED(14%) is not appearing in the excise invoice however Sec Cess (2%)and Higher Sec cess (1%) are appearing. If I create an excise invoice for normal sales then all the 3 Values are comi

  • Two marks in corners of pages

    Hi.  Fairly new to reader and everytime that I print something there are two lines in every corner of the printed page.  They look almost like 2 lines from a crosshair.  How do I get rid of those in printed pages!? Thanks for your help.

  • Open in a new window using Firefox

    Howdy, my site is http://www.makelikeanoctopusandeatyourselfmusic.com/ and if you click on the last 'button 2' and then the 'Stigma' link you'll notice if you're using Internet Explorer that the when clicked the link opens up in a window as intended

  • Cannot see the system in sld

    Hi I just installed Web AS 7.0 and EP7.0 (NW2004s). The SLD is located in another system. While installing I choose the option <b>'conntect to the existing SDL'</b> but now after the installation I do not see the system I just installed in the SLD. A