How to align flash content to the middle of the screen in browser?

I am currently building a website in flash cs5.5 using AS2.0. One of the pages is 1024px wide by 1536 height. I want the screen to show only the first half of the screen and then the user has to scroll down using the browser scrollbar to see the second half of the screen.
Below is the html code. I have changed the 'overflow' from hidden to auto so that the website is scrollable. However when i preview the website in the browser, it is aligned to the left. Even though below (highlighted in red) it says 'middle'. This is not what i want, i want the website to me aligned in the middle so that there is a border on either side of the website.I have tried numerous things to fix it but all to no avail. Could someone please help. Let me know if you need anymore info.
Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <title>aboutus</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style type="text/css" media="screen">
  html, body { height:100%; background-color: #333333;}
  body { margin:0; padding:0; overflow:auto; }
  #flashContent { width:100%; height:100%; }
  </style>
</head>
<body>
  <div id="flashContent">
   <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1024" height="1536" id="aboutus" align="middle">
    <param name="movie" value="aboutus.swf" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#333333" />
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="wmode" value="window" />
    <param name="scale" value="showall" />
    <param name="menu" value="true" />
    <param name="devicefont" value="false" />
    <param name="salign" value="" />
    <param name="allowScriptAccess" value="sameDomain" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="aboutus.swf" width="1024" height="1536">
     <param name="movie" value="aboutus.swf" />
     <param name="quality" value="best" />
     <param name="bgcolor" value="#333333" />
     <param name="play" value="true" />
     <param name="loop" value="true" />
     <param name="wmode" value="window" />
     <param name="scale" value="showall" />
     <param name="menu" value="true" />
     <param name="devicefont" value="false" />
     <param name="salign" value="" />
     <param name="allowScriptAccess" value="sameDomain" />
    <!--<![endif]-->
     <a href="http://www.adobe.com/go/getflash">
      <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
     </a>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
   </object>
  </div>
</body>
</html>

#flashContent {    
width: 1024px;
margin-left: auto;
margin-right: auto;
Get rid of the 100% w/h and give flashContent a set width (1024).
Then you can give the right and left an auto margin... centering the <div id="flashContent">.
Best wishes,
Adninjastrator

Similar Messages

  • How to display Flash Content uploaded in Admin Console

    HI All ,
    I have created a flash content in the admin console.Flash file is uploaded to a binary property.
    I have to display that flash file in the JSP.
    Normally , a Image can be displayed in the JSP , with following tag,
    *<img src="<%=request.getContextPath() + "/ShowProperty" + node.getPath()+"//Brochure-Image"%>" />*
    But how to display a flash content uploaded in the admin console.
    Pls suggest me in this regard,
    Srinivas

    There is no wlp tag to display flash image. You have to use HTML object tag for this. Just google it and you will find lot of answer how to include flash file in your JSP.
    Either you pass a path to your repository or save the file somewhere on you local drive and use that path.
    <object width="968" height="209" id="mymoviename">
                        <param name="movie" value="../flash/abcd.swf"/>
                        <param name="quality" value="high"/>
                        <embed src="../flash/abcd.swf" quality="high"
                        pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                        type="application/x-shockwave-flash" width="774" height="204"></embed>
    </object>

  • How to open flash content

    How to open flash content on Apple I Pad 4.3.5

    You don't.  Adobe was never able to provide a version of Flash for iOS that Apple would accept, and is no longer trying.  There are some web browsers that can be found on the App Store that will run some Flash sites, but with limited success.  See More Like This to the right for more information.

  • Flash Content on the BBC in Safari 5.0.6

    This question applies to my G5 2.5 gHz Tower running Safari 5.0.6. and an issue with Flash content on the BBC News website.
    I often the BBC News website, and until a few months ago was able to play all of their video content.  For some inexplicable reason their website now tells me I do not have the minimum Flash version (10.1.0) for playback.  However, I do have the minimum Flash installation (v.10.1.102.64) as confirmed by the Adobe web site, and, seconded by the simple fact that Firefox 3.6.25 on the very same computer does play all the content at the BBC News web site and fails to generate any warnings.
    So, Mac gurus and assorted experts who have earned my depest respect... what's going on?  I have written to those in charge of the BBC News web site and indications are they probably didn't read my message past the subject line as they proceeded to ask me all the questions they'd have had answers to by reading my message in the first place.  In short, they asked me to upgrade to Flash 10.1.0... so that route is not going solve my problem.
    Any help or insight would be greatly appreciated.
    Many thanks...

    BBC iPlayer relies on Adobe Air. AIR 1.5.3 is the last version of AIR that supports Mac PowerPC and Windows 2000. AIR applications that require AIR 2 or later cannot be installed or used on a Macintosh PowerPC or a computer running the Windows 2000 operating system.
    http://kb2.adobe.com/cps/853/cpsid_85304.html
    I am in the same boat. I cannot watch flash videos on the BBC website or on BBC iPlayer, although all other flash videos (YouTube for example) are fine.
    For reasons that passeth all understanding, they work with the PPC version of Firefox, called TenFourFoxG5.app, once you have anabled plug-ins, as it does not natively support Flash.
    You can download TenFourFoxG5 from here:
    http://www.floodgap.com/software/tenfourfox/
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    I am using Flash 10.1.102.64 in TenFourFox and it works just fine.

  • How can i Flash and restore the firmware ( EFI ) from a Macbook pro ( late 2008 , 5.1 ) ??

    How can i Flash and restore the firmware ( EFI ) from a Macbook pro ( late 2008 , 5.1 ) ??
    Please help me !!

    The Seagate backup drive I bought doesn't support 10.5.8
    The only reason I can see for that is it's formatted NTFS, which would likely be Read Only in 10.5.x, if you can reformat it MacOS extended, which would erase everything on it now, then that should work for your purposes.

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • How to install flash player for the gaming app "raptr"?

    how to install flash player for the gaming app "raptr"?

    Hi,
    If you wants to install flash for any browser just visit http://get.adobe.com/flashplayer/ from that browser and click on "Install Now" button to install flash player for that browser.
    But since i have found that raptr is a standalone game so raptr support team would be the right contact who can guide you well that which Flash player plugin they are using in their game. And this is what i have found on there support page Raptr wants me to download "Flash for Other Browsers". Where do I get that? : Raptr Support
    You can follow the steps on that link, I hope it will solve your problem.
    -Varun

  • How do i fix my itouch. the screen is black but it still responds to touch

    How do i fix my itouch. the screen is black but it still responds to touch

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Question : is it possible to save the contents of the screen in a graphic object ?

    Assume i asked the machine to plot something (for example within the Function application).Is it possible to save the contents of the screen in a graphic variable (GROB ?) for later reference ?

    Hi!, EmileG: From connectivity kit, connected to HP PRIME, you can ... Copy Screen opens the Screen Shot dialog box from where you copy or, save an image of  the virtual calculator screen.You can leave this dialog box open as you prepare instructional materials and reports that require screen captures  from the calculator.The Screen Shot  dialog box has the following options and buttons:• Border: A slider bar to give the image a boarder and change the thickness, of the border.• Size: A slider bar that changes the size, of the image.• Capture:  Update  the image, to reflect the current state of the  virtual calculator display.• Copy: save  a copy  of  the  current  image to  the clipboard.• Save: save  a copy  of  the  image to  a file. In  this case, you  can specify a name and location  for the saved  file.• Close: close the Copy  Screen  dialog box.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Hey Dears, I was working with my Macbook pro 2011, then i have some flash light in the screen, so i shutdown the computer, when i try to open it again i had a black screen, so any one of you have any idea about what should i have to do ?

    Hey Dears, I was working with my Macbook pro 2011, then i have some flash light in the screen, so i shutdown the computer, when i try to open it again i had a black screen, so any one of you have any idea about what should i have to do ?

    Can you start Firefox in [[Safe mode]] ?
    You can also do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can initially skip the step to create a new profile, that may not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Hi how much is it to replace the screen on the 5c?

    hi how much is it to replace the screen on the 5c?
    Also what does my warranty look like if I bough the phone in October 2013?
    How long would it take to fix?

    Not apple store repair broken screens.
    no warranty for accidental damage, you would have to buy an out of warranty 5C, not sure on the price.

  • How to set default values on the screen painter parameters?

    Hello ABAP Gurus,
    I would just want to ask how to set default values on the screen painter parameters.
    Thank you for your replies.

    Hi,
    To set default values for screen painter parameters initialize the field names with default values in the PBO module....
    say u have the field name as f_field1....
    in the PBO of that screen initialize it....
    f_field1 = '100'  "here 100 is the default value.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • Please tell me how to go back to a long text I wrote and then i must have accidentally swiped the screen one way or another.  How do I go back to the screen so I don't have to re-write the whole text?

    Please tell me how to go back to a long text I wrote and then i must have accidentally swiped the screen one way or another.  How do I go back to the screen so I don't have to re-write the whole text?

    Cloud takes over https://forums.adobe.com/thread/1584746 may help

  • How much it costs to fix the screen of an ipad starry

    how much it costs to fix the screen of an ipad starry??????

    Apple's Limited Warranty http://www.apple.com/legal/warranty/ for iPad excludes coverage for damage resulting from accident, disassembly, unauthorized service and unauthorized modifications. 
    Out-of-Warranty Service
         If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace (Apple doesn't repair) your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below. (The replacement will most likely be a refurbished iPad in a brown box, however, it has a new screen, back and battery.)   
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad 3rd, 4th generation
    $299
    iPad 2, iPad
    $249
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service. See http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You may can get the iPad repaired at 3rd party repair sources for less $, however, any remaining Apple warranty will be voided.
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
     Cheers, Tom

Maybe you are looking for

  • 'Connection to Audio Device failed' - constant Bluetooth message

    I have a Blackberry Torch and keep getting the above message, despite there only being 3 paired devices, each of which works fine when on. The message repeats every 3-5 seconds whenever I'm in the house, but no other device can be found on search. An

  • Which is the best monitor for macbook pro 2012 with retina?

    I would like to connect a larger monitor to my retina macbook pro late 2012. It will be only for office use but I would like the best ppi. Thanks

  • Do..Vary in Obsolete statements

    Hi, I wnat to know the DOu2026VARYING in 46c to be changed to ASSIGNu2026INCREMENT in Ecc6.0 with clear example. Chandra

  • Can't Finish Previewing...

    I have Illustrator CS6 running on a 2011 iMac, 4GB RAM. Error message states it cannot finish previewing file and reverts to outline mode. I've read that this issue should have been fixed with the 64 bit upgrade in CS6. How can I improve the performa

  • Want a XI installation and configuration guide

    Hi, Can anybody send me the XI installation and configuration guide which has all the installation steps and post configuration steps explained in detail. Please send it to me on [email protected] Thanks n Regards Chirag Gohil