Centering flash embedded with swfobject 2.0?

Hi,
Im trying to switch over to using swfobject 2 to display my
flash. I seem to have everything in place apart from having my site
centered. I only want it horizontally centered.
Here's my current code.
Any help is very much apreciated.
<!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>Title</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script type="text/javascript"
src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("index.swf", "myContent", "800", "600",
"8.0.0", "expressInstall.swf");
</script>
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures)
{ newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body bgcolor="#000000">
<div align="center" id="myContent">
<h1 class="style1">Alternative content</h1>
<p><a href="
http://www.adobe.com/go/getflashplayer"><img
src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
alt="Get Adobe Flash player" /></a></p>
</div>
</body>
</html>
Thanks
Alan

It would work fine, but you're using SWFObject incorrectly.
The way you have
it you're just placing it right where your code is - and not
within the
<div>.
Your SWFObject should look more like this:
var fo = new SWFObject("index.swf", "myContent", "800",
"600", "8.0.0",
"expressInstall.swf");
fo.write("myContent");
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Can't Use Dreamweaver Flash Embedding with ExternalInterface

    I've been trying to use ExtermalInterface to call ActionScript 3 functions from JavaScript and have been having a problem when embedding SWF files using Dreamweaver. When I use the sample code at the bottom of the ExternalInterface docs page (http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/external/ExternalInterface.html) the JavaScript/ActionScript function calls work fine. But when I insert a SWF with Dreamweaver CS4 they don't. They do actually work in Internet Explorer 8 but not in Firefox 3.5, Safari 4, or Chrome 3.
    The problem has to do with the the way the SWF embedding is done. On the ExternalInterface page mentioned above a different form of the <object/embed> tags is used than in DW. Here's the sample code from the docs page:
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                 id="ExternalInterfaceExample" width="500" height="375"
                 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
             <param name="movie" value="ExternalInterfaceExample.swf" />
             <param name="quality" value="high" />
             <param name="bgcolor" value="#869ca7" />
             <param name="allowScriptAccess" value="sameDomain" />
             <embed src="ExternalInterfaceExample.swf" quality="high" bgcolor="#869ca7"
                 width="500" height="375" name="ExternalInterfaceExample" align="middle"
                 play="true" loop="false" quality="high" allowScriptAccess="sameDomain"
                 type="application/x-shockwave-flash"
                 pluginspage="http://www.macromedia.com/go/getflashplayer">
             </embed>
         </object>
    In DW, instead of an <embed> tag a second object tag is inserted. I did find that by manually giving the second <object> tag its own ID (a different ID from the one given the first tag by DW I could make the function call work in FF. But you would then have to choose the ID based on the browser. And, worse, that technique doesn't work in Chrome or Safari.
    So, the workaround seems to be to use the style of embedding used on the ExternalInterface page. But, I don't like that approach for several reasons. First, the page  won't tell the user they need to upgrade their FlashPlayer if that's a problem. Second, you have to manually copy/past the embedding code instead of using DW's nice menu option. And I suspect there may be other benefits to the DW approach,
    So, is there a way to make the DW embedding style work with ExternalInterface in all the major browsers??
    David Salahi

    Very interesting, thanks for your insight. Dreamweaver does seem to be a black sheep in this regard. Curiously, one of the reasons I wanted to stick with DW is because it highlights the <embed> tag in yellow—which normally means an HTML error. Not being entirely up on the ins and outs of the embed tag I thought maybe it's deprecated or something so wanted to avoid it. But now, I've found that it's apparently the right way to do things.
    I did a little testing; here are my results...
    My SWF was originally generated in FlexBuilder (as an ActionScript project) so I copied over the Flex-generated HTML page and modified it for use with ExternalInterface. That works fine in all four of the browsers I mentioned in my original post.
    Next, I grabbed an HTML page generated by Flash's Publish menu option and made the same modifications. Again, everything was copacetic.
    Each of the three tools (Flash, Flex & Dreamweaver) generate different HTML code for embedding a SWF file and only two of them work with ExternalInterface. I guess I'll steer clear of Dreamweaver's Insert-> Media -> SWF menu option in the future. This cost me an entire day of hair-pulling.
    But thanks for your tip!
    David Salahi

  • Centered flash site with no margins

    I was wondering if any one could help me in "coding" my site
    to have my flash page be centered and have NO margins.... I know
    Kirupa.com had a code on his site in regards to some code to be
    placed in the "head" tag of the .html "page" but it has since been
    removed. Could anyone here please help?
    the ultimate goal is to have the site fill up the entire
    screen.
    Thanks in advance

    if you're using a flash 9 player you can use the Stage's
    "displayState" property to go fullscreen. otherwise, none of the
    old javascript tricks work with the ie security fixes.

  • Flash content (embedded using SWFObject or using other methods) won't print

    All Flash content embedded using SWFObject or using other methods won't print anymore, since version 3.6.4.
    There is a blank square on the printed page instead of the object.
    There was no trouble with previous firefox version.
    I've got the issue with version 3.6.4, 3.6.6 & 3.6.7
    I'm using Adobe flash player version 10,1,53,64 ; I've tried to downgrade to Adobe flash player version 9, I'd got the same issue.
    I've tried from multiple computer and still had the same blank square.
    Thanks for your help !
    == URL of affected sites ==
    http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test.html

    Having the same problem with our flash based design tool. For now we're recommending that our users use IE as it prints the flash objects fine. Would prefer to use Firefox, but that won't be an option until flash objects can be printed again (as they used to be).
    example:
    [http://webblox.libertycable.com/print_fl.asp?partid=202531&checksum=5523020.37&rand=728201062255PM]

  • Can I bundle flash player with a free downlodable gaming service that requires flash? Or can I download it for the user without making users to step out  from my product to a completely different flow?

    We have a free downloadable gaming service that requires flash player in order to operate properly.
    I am trying to figure our how can I make users who don't have flash to download it, but I don't want these users to leave my service and start a different download flow in a different website (adobe's) .
    I thought about several different options but don't know what would be considered legal or legit:
    1. download flash along with my product- this means I will have to add another offer screen to my installation? if so, it will damage my conversion.
    2. downloading flash for the user without consent- probably will result with AV alerts
    3. open an iframe for users who don't have flash where I'll ask users to download flash--> that still will redirect users to adobe website to complete the process, which will damage my usage...
    any comments on the above or additional ideas?
    Thanks
    Tom

    Unfortunately, I don't think that our license currently grants the rights that you're looking for.  We do allow for the inclusion of original installers on physical media to address the situation of installation where an Internet connection is not guaranteed to be available; however, the Adobe download center serves an important role in the cost-recovery efforts for the continued development, maintenance and distribution of Flash Player, which is a tremendously expensive undertaking. I think it's unlikely that we would agree to allow the inclusion of Flash Player installers in scenarios where the host installer requires an internet connection.
    Here is a brief summary of the rights granted by this license:
    Licensee is permitted to distribute Adobe Web Players to multiple clients in a closed intranet environment.
    Licensee is permitted to distribute Adobe Web Players to multiple end-users by including the Player installers on CDs, DVDs or other physical media.
    Usage of Adobe Web Players is only permitted for supported platforms; usage rights on non-PC devices or embedded systems are not granted by this license.
    Licensee must use the installers as-is without modification.
    Licensees, at their discretion, are entitled to display the Flash Enabled and/or Shockwave logos on products or intranet sites according to the Style Guide.
    On the plus side, you don't have to worry about serving your users outdated or vulnerable Flash Player versions, and keeping those embedded copies constantly updated would be a lot of overhead.
    Chrome and Internet Explorer on Win8+ always have Flash Player built-in, so those users are generally going to be in good shape (and you shouldn't redirect them to the download anyway, because we'll just give them a message about it already being installed).  IE11 eliminates JavaScript support for conditional comments and various other methods for fingerprinting and targeting IE with IE-specific logic, so you'll want to pay attention to that experience, particularly on Win8+ (i.e. your detection logic might need to be tweaked on this config, if it's depending on isMSIE to do the correct thing... there is a lot of busted Flash detection in the world on this target at the moment...)
    For NPAPI browsers (Safari, Firefox), users are going to have to close the browser to complete the install process, so I don't think that offering the download in an iframe is going to buy you much, and would probably make it more difficult to complete the installation steps, ultimately doing more harm than good. 
    In the case of Safari, the installer re-launches Safari at the end of the installation process, and it does so without reopening all of the previously opened tabs.  I'm hoping that we won't have to live with that issue much longer, but I want to be transparent about the impact to your user experience.  Safari users are going to lose the tab with your site in it during the installation process no matter what. 
    There's also an install mechanism called Express Install, which you can invoke automatically when you detect that Flash Player is not installed, or is below the version that you require.  Off the top of my head, I don't know exactly what happens in every possible install scenario (patch update vs. feature update, by OS and browser).  I think some configs require you to restart and others like IE on Windows don't.  It's all dictated by browser limitations, which are constantly moving targets. 
    In short, we recommend that everyone use SWFObject2 for detecting Flash from JavaScript, and they make it pretty easy to invoke upgrades via ExpressInstall.
    SWFObject: Javascript Flash Player detection and embed script | deconcept

  • Cross-browser compatible flash embedding in html5

    I am a newbie with flash with less than a year of experience and this is my first post in this forum.
    I recntly converted my web site from xhtml1.1 to html5 and when it came to flash I was a bit stumped.
    Then the light came on, why not use html5's new and powerful JavaScript engine and I did.
    I was able to use JavaScript to embed the flash object which tested with IE8, FF3.6.4, Safari 5.0, Opera 10.53, SeaMonkey 2.4, Chrome 5,6 and maxthin 2.5 & 3.0.
    I wanted also to keep away from making a http call for swfobject and use the html5 enviornment.
    Therefore, I used the following and placing the JavaScript function within the <head>..</head> tags just above the <body> tag.
    My web site is multi-lingual currently with/for English and German with French and Spanish to follow; the html5 used is simple and it W3C validates it as html5.
    Using the english version this was placed within the head tags
    <script>
           //<![CDATA[
         document.write('<object width="100%" height="100%"  type="application/x-shockwave-flash" data="english.swf"  >');
         document.write('<param name="classid"  value="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" />');
         document.write('<param name="pluginurl" value="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"  />');
         document.write('<param name="movie" value="english.swf"  />');
         document.write('<param name="quality" value="best" />');
         document.write('<param name="menu" value="false" />');
         document.write('<param name="allowFullScreen" value="true"  />');
         document.write('<param name="allowScriptAccess" value="sameDomain"  />');
         document.write('<param name="bgcolor" value="#000000"  />');
         document.write('<param name="scale" value="noscale"  />');
         document.write('<param name="wmode" value="window" />');
         document.write('</object>');
            //]]>
    </script>
    I have also noticed that an iPAD visited my wbe site indicatingn to me that it works on an iPAD and by virtue that this method of flash embedding works with the above borwser types; it is I think a cross-browser method.
    To see this in action feel free to visit my web site and look at the index.html, english.html or the german.html code to see this implemented; the web site is www.mirana.net
    Now my questions is:
    1. is this a good method and why? or why not?
    2. can this be placed mainstream ?
    Thank you for reading this and be merciful in responses

    Hi
    Thanks for replying, I appreciate that.
    I do agree that that an initial view may appear as the 'standard flash embed' but in this case it is not by virtue of its location being between the head tags.
    There is IMHO considerable difference placing this method between the head tags as compared to placing in/on the body.  Try it out yourself in html5.
    1. it valdiates
    2. reduces http calls
    3. appears to load faster but that can be purely dependent upon the visitor's internet connectivity
    4. fundamentally works with all browser that I tested it with
    Traditionally with flash embedding there was an issue with/in validation of the html document and this goes back to 2002 when the 'Satay' method corrected this. As I now understand it with the release of CS5 html that is published uses the object method of embedding.
    The fact that an iPAD was on my web site and viewing pages certainly was a surprise, I only wish I had an iPAD.

  • Hi. I use Adobe Acrobat XI pro to make a PDF ebook embedded with audio. It works really well on my computer-I can read the book and hear the auto play mp3. The problem is, when I send it to my customers, they have difficulty hearing the audio. A few of th

    Hi. I use Adobe Acrobat XI pro to make a PDF ebook embedded with audio. It works really well on my computer-I can read the book and hear the auto play mp3. The problem is, when I send it to my customers, they have difficulty hearing the audio. A few of them say they have Flash player on their PC and somehow they still can't hear, some say their Google Chrome browser tells them they've already got one flash player while they try to download one. For me, I had to download two versions of Flash player to be able to access to the audio. I don't know what the problem is, is it because it's the latest version of Adobe Acrobat XI pro that people with older version of Adobe reader or flash player can't open it properly? Or is it something else? How can I make sure every customer with different system can access to my books? Hope to hear from you ASAP! Thank you very much.

    And how are the customers accessing the PDFs?
    What devices are they using?
    What program or apps with versions are they using?
    I this age of other then PDF eBooks formats and reader program and apss for computers and mobile devices for these formats I would look at creating the books in one or more of the eBook formats.
    Google Chrome and FireFox both have their own version of a PDF reader plug-in and they are well known to be less capable than Adobe Reader. It is possible to configure these products to use Adobe Reader.

  • Why Ctrl+Tab stops working when opening a flash embedded page?

    This a huge pet peeve I have. Everytime I watch a video in youtube.com or megavideo.com, I can't just Ctrl+Tab to change tabs. I'll have to clic in some portion of the page without video to get it to work, but even that, isn't always the case.
    - jtbandes
    http://superuser.com/questions/12601/why-ctrltab-stops-working-when-opening-a-flash-embedded-page

    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.1 r53
    See:
    *http://www.mozilla.com/plugincheck/
    Update the Flash plugin to the latest version.
    *https://support.mozilla.com/kb/Managing+the+Flash+plugin
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    Update the Adobe Reader plugin to the latest version.
    *https://support.mozilla.com/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    *http://kb.mozillazine.org/Adobe_Reader
    *http://get.adobe.com/reader/otherversions/

  • Odd Flash Embedding Problem

    I am using Flash with SlideShowPro (component) installed, no
    actionscript.
    My XML file and my images are in a sub folder. The Flash is
    not working. I copied the swf into the subfolder the XML is in.
    When I open the root level page which has the flash embedded on it,
    it pulls up the flash SWF, but does not recognize the xml file
    that's in the sub directory. It tries to get an XML file from the
    root level, instead.
    If I run a page from the subdirectory, it works correctly,
    which tells me that the XML file is properly configured when
    sitting in that directory.
    What do I have to do with the embed statements (or anything
    else) to make sure it takes the XML file that is in the same
    subdirectory as the swf file, rather than trying to find an xml
    file on the root level?
    I don't think I can have the swf on the root level, because
    it asks for an XML file and there are many different subfolders for
    which this has to work. If there is a way, I'd be glad to hear of
    it.
    The subfolders are all dynamically created, so I can't
    preconfigure with separate names for the swf or xml files. At time
    of dynamic subfolder creation, I copy in the SWF file and the XML
    file is created into that folder.
    I appreciate your help.

    I'm really desperate for help here.
    My problem lies that I'm trying to use a dynamic situation
    and PHP.
    The PHP creates a folder in images/pictures, copies the swf
    file into it, and creates an XML file in it...so, we'll use the
    example of 10.
    So now we have the houseInfo.php page on the root level with
    the swf on it, and the images, actual swf file, and xml sheet are
    in images/pictures/10
    (remember, it's dynamic. So the number could be 14 or
    24...depending on which houseID is in the database)
    I can't use a php statement in flash, so I can't make the
    flash dynamically grab the correct xml sheet from
    images/pictures/10...
    So I tried using this method:
    http://components.earthscienceagency.com/support/slideshow/examples/dynamic_xml/
    By this method, the SlideShowPro doesn't have an xml file
    path declared in the component, but rather I have this in the
    actionscript:
    mySlideshow.loadXML(playlist);
    and the component is ID'd as mySlideshow
    The embedding on the page uses a php id and it seems to read
    it right...this is what a view source will show:
    <object height="270" width="250" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="slide_frame.swf" name="movie"/>
    <param value="playlist=images/pictures/10/slideshow.xml"
    name="FlashVars"/>
    <param value="high" name="quality"/>
    <embed height="270" width="250"
    type="application/x-shockwave-flash" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    quality="high"
    flashvars="playlist=images/pictures/10/slideshow.xml"
    src="slide_frame.swf"/>
    </object>
    You will notice in the flash the playlist is showing the
    correct path to where the XML sheet would reside.
    But it still doesn't work.
    Please, help?
    Thanks,
    Denise

  • How to change flash size with ac3?

    I want to change flash size with xml. Sample config.xml
    <genGenis>300</genGenis>
    <genYuksek>100</genYuksek>
    My flash read xml and change size to 300 * 100
    After working in a flash I want to change the default values. Is this possible?

    Have you worked with XML before? You're going to need to load that XML file and wait for it to complete. After you do that, are you using layout logic based on these values to create your content? Meaning do you have code in place to realize you have (as you said) 500x200 space so your code is able to use the space available effectively? Or do you just expect the content of the SWF to scale automagically?
    As for the loader, you can use a simple URLLoader to load the external XML file. Here's a quick Adobe code snippit and explaination on how to load it:
    http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e6a.html
    Once you have the XML in an XML object you can just access the value via the XML variable name you make (e.g. myXML) with the name of the node while getting its text value. In your case you'll need to convert it to a Number because you may want the flexibility of using fractions (e.g. 1.5, 500.25, etc). So you'd need to case the value to a number. So to get the width it'd be like: var myWidth:Number = Number(myXML.genGenis.text()); and same for height just changing the variable and node name as needed.
    Now that you have your values you can write layout code to use the numbers and handle the content creation yourself.
    If you don't do that, as Andrei1 mentioned you'll need to affect the object embedded directly using ExternalInterface (Flash AS3 talking to the webpages JavaScript) requesting the object be resized to the new size.
    You'll want to make sure your stage.scaleMode = StageScaleMode.EXACT_FIT; or stage.scaleMode = StageScaleMode.NO_BORDER; so your SWF content is "stretched" to the size you request. Exact fit will allow the content to distort if necessary to fill the width and height. No border will scale the content to the size specified but will maintain the aspect ratio. It's up to you whichever you want.
    If you have any specific questions on any of this just ask.

  • For 4 hours..."Flashing embedded controller.Do not power off." -- on my screen for 4 hours...

    On a Thinkpad X1 Carbon,  I did a Lenovo System Update.  
    One of the updates included the BIOS.   The system shutdown and rebooted.
    The message on the bottom left of the reboot splash screen has been:
    "Flashing embedded controller.  Do not power off."
    for the past 4 hours. 
    Any suggestions? 

      Remove Sophos.
    https://discussions.apple.com/message/21069437#21069437
    Upgrading RAM may help.
    If your Mac runs slowly:
    http://support.apple.com/kb/PH19031?viewlocale=en_US&locale=en_US
      Start up in Safe Mode.  http://support.apple.com/en-us/HT1564
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Repair Disk
    Steps 1 through 7
    http://support.apple.com/kb/PH5836
    Best.

  • I got a flashing folder with a question mark. I got a new hard drive and upgraded to 4 gigs and can't open anything or reload the operating system? Help?

    I got a flashing folder with a question mark. I got a new hard drive and upgraded to 4 gigs and can't open anything or reload the operating system? Help? FYI: I have been using boot camp with windows 7 and started getting a kernal_data_Page_error and it would reboot windows, i was trying to do a chkdsk on the next reboot, but thats when i started getting this issue. I have put in a new hard drive and went from 2 gigs to 4. I can not get the computer to do anything, even the monitor does not show anything now????

    Prep your new drive:
    Drive Preparation
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs,) then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    After formatting has completed quit DU and return to the installer. Install OS X.

  • How do i use a flash gallery with xml file

    Hi there....
    I am trying to include a flash banner template i have downloaded into my webpage using dreamweaver CS5.
    the template comes with an XML file with it in which you can reference your own images etc..
    I understand how to inclued the Flash object into my webpage by insert-swf- and then navigating to the .swf file...
    what i am having trouble with is understanding how this refereces the XML file in the download pack as i cant find any references to it in the code??
    I am just getting the grey flash box with no images appearing when i hit play etc..
    sorry if this is a really silly question!!
    mart

    If you are using DW to insert the Flash, that could be the problem.  It is not reliable resource in that respect (my opinion, but a shared one). I normally only use Flash to create the code and copy/paste it into my html page.  Did you get an fla file with the set, and do you have Flash?
    What you should do is test the swf file by itself to make sure it works.   Normally you can link directly to the swf file to check that out.  Just type in the url to the swf file and see if it plays.  There may be some other setup required that maybe an accompanying set of instructions might explain.
    Also, if you have a link to the html file you uploaded, providing it here may help in getting things resolved.

  • Grey Screen with Flashing Folder with Question Mark

    Hi,
    I need some help with an issue I'm having on my Mid-2012 Macbook Pro (13"; OSX 10.9.2; 8GB RAM).  I've had issues with this Macbook for the past year.  I've worked with Apple Support and had it into the Mac Store prior to the warranty expiring (Dec 2013).  I have the exact same model with all of the same specs that my employer purchased at the same time for work as my work computer, and I haven't had any issues with that one.
    Previously, the system would slow down excessively and eventually start hanging. Occasionally the screen would start flashing.  Apple phone support had me wipe the hard drive and re-install the OS and all of my file, apps, and setting from my Time Machine backup.  That worked for about four months, and then it started again. Since it was getting close to the warranty expiration, I took it to an Apple Store. They ran a bunch of diagnostics, said the hardware was all fine but the OS needed to be re-installed.  They did that in early Dec, and everything was cool again until about three days ago.  Three days ago, it started slowing down and freezing again (even when doing non-memory intensive tasks such as broswing the web with only a couple of tabs open and no other applications open).  Last night, it froze hard and wouldn't shut down, so I had to cold boot it.  When I tried to power it back on, it came to the grey screen with the flashing folder with the question mark (which I know means it can't find the boot sector).  I waited until this morning, and it stil wouldn't boot. I then rebooted into Startup Manager, and the HDD was there. I selected the HDD, and it booted fine and ran fine for a couple of hours (I was able to do a Time Machine backup).  Then it froze up solid again. I waited for an hour or so before cold booting (don't like doing that), and when I tried rebooting, I got the flashing folder with the question mark. I tried booting into the Startup Manager again, but this time, my HDD wasn't listed. I then booted into the OSX Recovery utility (CMD R on boot), went into the Disk Utility hoping to do a disk repair, but my HDD wasn't listed. I have an external SATA to USB adapter, so I pulled the HDD, hooked it to a USB port on my other (identical except it doesn't have problems) Macbook Pro.  Once my other Macbook booted, the HDD from the bad Macbook Pro showed up fine.  I ran a verify and repair disk on the HDD from the bad Macbook, and it didn't show any issues.
    So I figured I'd be really brave. I took the HDD from the bad Macbook Pro and put it in my work (good) Macbook Pro (I took the HDD out of my working work Macbook Pro).  It booted fine.  I then did the verify and repair disk (again no errors) and verify and repair permissions (it found a few, but no more than it has in the past). I ran it that way for about an hour with no issues. That led me to believe that the HDD for my personal Macbook was fine, and it must be an issue with the SATA cable or the mainboard. 
    Here's where it gets odd.  I put the HDD from my work Macbook Pro into the bad Macbook Pro thinking it wouldn't even recognize it.  It did recognize it, and it booted fine.  I ran it like that for about 30 minutes.  It did have a couple of short freeze ups, but it didn't lock up solid. I didn't want to push my luck and possibly damage the HDD for my work Macbook, so I shut down the bad Macbook Pro ended the experiment at that point.
    I put the original HDD back in the Macbooks where they originally came from. I then ran the Apple Hardware Test (press and hold D on startup) on the bad Macbook Pro; I did the extended testing option. It ran for about an hour, but it didn't find any issues with the bad Macbook Pro. 
    I put the HDD from the bad Macbook back in my working Macbook and wiped the disk and reinstalled OSX from a Time Machine Backup from last week (before the problems occured).  Put it back in the bad Macbook and still no luck. Finally I tried resetting the PRAM because I saw that as one of the options on this discussion board. 
    I've searched and read everything I can find related to this, but I can't find anything that works, and I'm at my wits end.  Can anyone point me in a direction of what might be wrong and what else to try?
    Thanks!
    Mike

    You performed thorough and methodical troubleshooting, and this appears to be the most important result:
    I put the HDD from my work Macbook Pro into the bad Macbook Pro thinking it wouldn't even recognize it.  It did recognize it, and it booted fine.  I ran it like that for about 30 minutes.  It did have a couple of short freeze ups, but it didn't lock up solid.
    Given compatible hardware, you ought to be able to swap hard disk drives in exactly that manner, so it shouldn't surprise you that it worked. However, installing the "known good" HDD in the problem machine should not have resulted in any freeze-ups at all.
    You can conclude the hard disks (both of them) are serviceable and whatever fault exists probably lies elsewhere. Often the SATA cable is damaged or not seated properly, and is likely to fail more than anything on the logic board. Inspect the logic board's SATA connections and make sure there are no contaminants or damage. The two drives and two logic boards are going to have slightly different component tolerances, so perhaps the defective one is simply exceeding some limit.
    Apple Hardware Test is very cursory and essentially tests for the presence of operable hardware. It is far from an exhaustive test, and only a report of a failure can be relied upon for accuracy. For a more thorough test you would need to have Apple evaluate it using the time-consuming Apple Service Diagnostics. Even then, they may come up without a clue, and eventually someone will suggest a logic board replacement which can be expensive.
    It is an unusual problem, and I don't know how much time Apple would invest in diagnosing it before they conclude you really ought to buy a new Mac instead. They might surprise you though in that a "depot repair", if yours is eligible, is a very cost effective option so consider it.
    Given your ability you might also consider purchasing a replacement logic board from PowerbookMedic, or even sending it to them for a flat rate repair.

  • How to set up a pdf embeded with different code so that people can get different excess code after they paid on-line?

    For example, I want to set up a pdf embeded with code, and send it on-line. People who want it should pay for it first and get the access code. I need to set different access code in order to avoid people A give the access to people B.

    Unless you use a very expensive DRM protection measure, I don't see how it's possible. How can you prevent someone from sending a file with the password to someone else?

Maybe you are looking for

  • Posting not possible in Purchase Order created for Asset.

    Hi All I have created a Purchase Order for Asset. While making down payment for the same through f-48, I am not able to post the same. How I will take care of this? Please guide how to make the posting..... Thanks Ruby

  • 6m long ethernet cable from TC to Modem?

    I'm just re-arranging my front room and it would be aesthetically pleasing if I could relocate my TC into a media cabinet about 6m from the modem. At present they are right next to each other on a short ethernet cable. Will a 6m ethernet cable (Cat 6

  • LSMW  with recording VB01

    Hi, My requirement is LSMW recording conversion process to bring all the data for Listing and Exclusion (VB01) from legacy system to SAP.There are 5 custom condition types for listing and exclusion and 20 scenarios. What I can do is create lsmw recor

  • BDOC Error : "BDoc stored before update task (intermediate state)"

    Hi Experts, I have stuck BDOCs under BDOC type "BUS_TRANS_MSG" and the error msg as "BDoc stored before update task (intermediate state)". The error occurs when BDoc Message was not written to qRFC queue. I checked the update tasks in transaction SM1

  • How to show only phone contacts on Nokia 1650

    I bought Nokia 1650 yesterday and have been trying figure out how I can have only contacts in the phone memory to show in contact list view. Presently it shows both SIM and phone contacts. In my other phone I have opportunity of deciding on which one