needs to look centered

Posted on 2005-05-16
Last Modified: 2010-04-03

my site is I've been trying to just center the frame of the movie but I can't figure it out for the life of me.  Can anyone simply center the frame of the flash movie...I'm so frustrated

you can check out the fla file by going to   scroll down to the bottom of the'll see a button flashing next...that button has the fla file...please help!!  please help!!
Question by:lefty1980
    LVL 18

    Assisted Solution

    your html should look more or less like this between the body tags - with your swf names and id in instead of these.

    Then it will display 100%.

    If, however, the borders in your swf are not the same size as the stage, you will have a problem with this.

    <body bgcolor="#999999" topmargin="0" leftmargin="0">

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="100%" height="100%" id="yoursite" align="left">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="yoursite.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#999999" />
    <embed src="yoursite.swf" quality="high" bgcolor="#999999" width="100%" height="100%" name="yoursite" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="" />

    LVL 27

    Assisted Solution

    LVL 18

    Expert Comment

    if the borders of your swf do not match the stage borders (ie, they are way out), then line them up. If you need to do it, make the stage bigger, with right click on empty part of work area, choose preferences, and change the no. pixel width and height. Be aware though it resizes from x position 0, y position 0 downwards and to the right, so you may need to move stuff to fit it - depnding on how complex your swf is.


    Author Comment

    i'm sorry I dont think I was being clear enough about what I am saying.  It is the border within the flash movie that is offcentered.  Not the movie within the borders of the html page that I am wanting to needs to move a little to the seems to be ok height and width wise.  the page is  
    LVL 39

    Accepted Solution

    if i understand correctly, u can't use the align to stage tool and that will most likely screw things up, why don't you just use the edit multiple frames option, select everything and shift it manually.
    you can use the rulers and grid lines if needed but i'd say that's ur best bet.
    LVL 18

    Expert Comment

    blu has it there - just one more thing - if anything is positioned with action script you will need to change the x and y positions too, to match it all up:)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now