Window.print() not working for swf file in webpage?

I have used the javascript window.print() function to print a webpage. But when i click a button to invoke this function the swf file stops then the screenshot is taken and then it resumes playing,, thus resulting in a blank page to be printed... What to do??

Since it is not clear what your intentions are for wanting to print the screen, you could try just using the Print Screen of your keyboard (pc) and then paste the resulting screen capture into an image using Photoshop or Fireworks.

Similar Messages

  • ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.

    ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.
    It seems that flash movie is identifed as 'undefined' inside document.
    //a statically placed div
    var staticdiv=document.getElementById('PropDiv');
    //dynamically placed div with object tag
    var dynDiv =staticdiv.cloneNode( true );
    var xD=50;
    var yD=50;
    if(dynDiv)
    dynDiv.style.display  = "block";
    dynDiv.innerHTML="<object classid=" + "\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"" + "codebase=" +
    "\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\"" + "width=" + xD + "height=" + yD +
    "id=" + "\"external\"" + "align=" + "\"middle\"" + ">" +
                    "<param name=" + "\"allowScriptAccess\"" + "value=" + "\"sameDomain\"" + "/>" +
                    "<param name=" + "\"movie\"" + "value=" + "\"external.swf\"" + "/>" +
                    "<param name=" + "\"quality\"" + "value=" + "\"high\"" + "/>" +
                    "<param name=" + "\"wmode\"" + "value=" + "\"transparent\"" + "/>" +
                    "<param name=" + "\"bgcolor\"" + "value=" + "\"#ffffff\"" + "/>" +
                    "<embed src=" + "\"external.swf\"" + "quality=" + "\"high\"" + "wmode=" + "\"transparent\"" +"bgcolor=" + "\"#ffffff\""
    + "width=" + xD + "height=" + yD + "name=" + "\"external\"" + "align=" + "\"middle\"" + "allowScriptAccess=" + "\"sameDomain\"" +
    "type=" + "\"application/x-shockwave-flash\"" + "pluginspage=" + "\"http://www.macromedia.com/go/getflashplayer\"" + "/>" +
                    "</object>";
       dynDiv.style.top=50;
       dynDiv.style.left=100;
    document.body.appendChild(dynDiv);
    In above situation communication is not establised when a  funtion which is retruning boolean is called from flash using
    ExternalInterfcae.call.The return value of this function is getting as false inside flash.But the value is true in javascript.
    if (navigator.appName.indexOf("Microsoft") != -1) {
       return window[movieName];
      } else {
       return document[movieName];
    window["external"] is returning as 'undefined'.
    Please give a  solution to solve this.

    Note that you have different file names for the object (images/banner.swf) and the embed (images/banner1.swf)
    You also placed the embed in the middle of a param tag and nested all param tags.
    Because you didn't include a MIME type and the object doesn't have a classid for an ActiveX control for IE, I'm not sure what Firefox will be using.<br />
    The object doesn't have a data attribute to specify the file.<br />
    A separate embed is only needed when you specify a classid in the object.
    <pre><nowiki><div class="bannercontainer">
    <object width="940" height="445" type="application/x-shockwave-flash" data="images/banner.swf" >
    <param name="wmode" value="transparent" />
    <param name="movie" value="images/banner.swf" />
    </object>
    </div></nowiki></pre>

  • "Open with" in Windows does not work for Bridge CS5

    When I right click on a picture to open it with Bridge CS5 nothing happens. Does anybody know how to fix this?
    It worked with older version of Bridge and it stopped once I installed the CS5.
    I have Windows Vista.

    salwaph wrote:
    I found out that you can "Browse with Adobe Bridge CS5" when you right click on a folder. However this option is not available for single files. So problem is kind of solved. But if anyone knows how to open single file in Bridge please let me know.
    So have you opened the fly out menu that lists the open wiht programs?  It has a option down on the bottom to set other "open with" options such as open with Bridge.  Does this not work? 
    It works one single files on my machine.

  • Encode Video Files not working for avi files

    Hi,
    I've been trying to convert some .avi files to apple format using Lion's native 'Encode video files' function however keep getting a 'avconvert: source file not found for source file://fileparthhere avconvert: failed to create an export session. Check setup
    I can't work out why as this has worked before in Lion and works fine for other video formats. The only thing I've done is remove Final Cut Express HD and can't add it again as I don't own it anymore
    Suggestions? Is there a encoder to make this work or should it work anyway?
    Thanks

    If you click Yes the project file will be updated when you save it. That has nothing to do with the media.
    Are the Lesson and Media folders still in the Book Files folder (or whatever it's called)?
    Select one of the clips in the browser and use Edit>Item Properties. One of the first lines is Source. That gives you the file path for where your media is supposed to be located. What does it say? If nothing is there, use the File>Reconnect function and point the application to where the media is located.

  • Oracle text search not working for  WSDL files

    I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
    I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
    Please advise me whether oracle text can work for WSDL files also ?
    Query details
    ===========
    create index myIndex on resources (xml_data) indextype is ctxsys.context;
    select * from resources where contains(xml_data, 'searchword') > 0
    Thanks a lot,
    Santhi

    Even though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
    Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
    Long term you might want to consider using section groups so that you can search "within" tags.
    -Ron

  • Outlook 2013 Quick Print not working for HTML attachments.

    I have to print multiple orders that are received as attached HTML files (Sometimes 20+ attachments).  In Outlook 2007 (On XP) this worked fine I could print the email with attachments and everything would be waiting for me in the printer. 
    I just got a  new computer running windows 7 and Outlook 2013 and I can no longer print the attachments.
    I printed through File, Print, Printer Options, Print Attached Files - Email prints, no attachments.
    I tested with an attached DOCX and PDF - Both print the email and attachment.
    Quick Print HTML attachment - Nothing Prints.
    Open Attachment in Internet Explorer - Prints fine.
    Changed Default Program for HTML files to Firefox and tested quick Print - Nothing Prints
    Changed Default Program for HTML files to Word and test quick Print - Prompts for program to use when opening (for every attachment), I choose Word, it opens but does not print.
    I've been searching for anything else to try but I'm running out of ideas  Any help would be appreciated!
    Thanks!

    To resolved this issue i tried below trouble shooting:
    1) Repair MS office 2013
    2)Uninstall and install office 2013
    3)Rename the Outlprnt file  to Outlprnt old  from C:\Users\%Username%\AppData\Roaming\Microsoft\Outlook\ 
    4) 2 times Re install printer drivers 
    5) Creat new outlook profile 
    if you Unable to print from Outlook 2013 without receiving the "Printer not ready" message (32/64 Win 7 Pro).
    This changed worked for us, by selecting the Advanced properties on the printer and changing the default setting "Start printing immediately" to "Start printing after last page spooled".
    I hope it works for you, good luck in your quest!
    Tzuri Ben Ezra | My Certifications A Plus, MCP, MCSA, MCITP | FaceBook:
    Tzuri FaceBook

  • "Automatically Write Changes Into XMP" Not Working for DNG Files

    Hello,
    I am needing to update DNG/JPG file pairs with keywords that I add  in lightroom.  The following is the problem that I am encountering. 
    When the image consists of only a JPEG file (ie. I had my DSLR only snap a jpeg and not an associated DNG), and I add one or more keywords to the file in Lightroom, these are written / saved immediately in Lightroom and are visible immediately in the 'tags' column for that image in windows explorer.  Very useful and important functionality for my workflow.
    However, when the image consists of both a JPEG and a sister DNG (i.e.,snapped simultaneously by my DSLR), and I try to add keywords to these (treated at this point as a single image by lightroom) then Lightroom does not record the keywords into either of the two files and consequently no tags are visible in windows explorer.  I have confirmed this apparent problem with a seperate image metadata utility software, and am hoping that it's just something simple that I am missing.
    Also "Automatically Write Changes Into XMP" is selected and I have also  tried manually both: "right click," "metadata," "write metadata to file;"  and  "right click" "update DNG preview and metadata" and the problem  persists.
    Hopefully someone has encountered something similar and can point me in the right direction.
    Thanks in advance.

    @Eric: hitting cntrl+s works but can be tedeous on large galleries. I've been doing this but it can be a pain.
    @Jeannine: different topic than this thread but to answer anyways... Lightroom automatically saves all changes into your catalogue. You never need to dave your changes (here's the kicker though) as long as you do not move the original file. If you
    move the file than lightroom won't know that it's the same image as the one you've edited. Once you are done editing your image you will need to "export" the image to a new file (you don't wan to overwrite the original). If you don't export than only lightroom will have your edits. Lightroom is "non-destructive" Which means that it doesn't touch your original photo. Lightroom keeps a text file containing the instructions on what you did to make the edited version. Since your changes are just text inatryxtions you have to "export" the image to get your final image in a version you can put online, print, etc. But to answer your original question, I think you prob moves the original image. If not, could you give us more info?

  • File.execute() not working for bat file

    Dear all,
    The purpose of my function copyToWinClipboard (text) is to get a string directly into the Windows Clipboard. The purpose is to allow the user of my project just to paste into the open-dialog of the application EndNote. I’m not certain whether the FM clipboard (supported by the copy/cut/paste methods for Doc) really fills into the Windows Clipboard also.
    In the PhotoShop script forum I found the idea how to do this.
    #target framemaker
    // note the blank in the path
    copyToWinClipboard ("E:\\_DDDprojects\\FM+EN escript\\FM-11-testfiles\\BibFM-collected.rtf");
    function copyToWinClipboard (text) {
      var theCmd, clipFile = new File(Folder.temp + "\\ClipBoardW.bat");
      clipFile.open('w');
    //  theCmd = "echo \"" + text + "\" | clip"; // this doesn’t help either
      theCmd = "echo " + text + " | clip";
      clipFile.writeln (theCmd);
      clipFile.close ();
      clipFile.execute ();
    Running this script provides a short flicker (the command prompt), but the clipboard does not contain the expected string. However, when double clicking on the generated I:\!_temp\ClipBoardW.bat the clipboard is filled correctly.
    IMHO the execute method does not work correctly for bat files. In another area of my project-script i run an exe file with this method correctly.

    Hi Klaus,
    sorry for my late response.
    execute definitely works witch batch-files
    Here's a "batch" - example you can test.
    There are two methods to prevent window from closing:
    "|more" - kind of pagebreak
    "pause"
    var oTemp = app.UserSettingsDir + "\\tmp";
        var MyDosCommand = "ipconfig.exe /a|more";
        var MyPath = new Folder (oTemp);
        if (!oTemp.exists)
            var MyPath = new Folder (oTemp);
            var lFehler = MyPath.create();
        oTemp = oTemp + "\\" +"nw.bat";
        var MyFile = new File (oTemp);
             MyFile.open ('w');
               if (MyFile.error > "")
                    alert("ERROR");
            MyFile.writeln(MyDosCommand);
            MyFile.writeln("pause");
            MyFile.close();
            MyFile.execute();

  • "Open With"  CS3 not working for JPEG file

    Operating system is XP. I am trying to get CS3 to automatically open all JPEG files when I double click on them in windows explorer.
    I open windows explorer, right click on the image that I want to open, then click "open with" ....
    ...at this point CS3 is not one of the choices on the "open with" menu so I already smell a problem ....
    ..... so I click "choose program" and navigate to the adobe photoshop cs3 folder and point to photoshop.exe, then click the "always use the selected program" box, click open, and bada-boom, bada-bing, the image opens in photoshop CS3, right? WRONG.
    The image opens in the Quicktime Picture Viewer program and NOT IN PHOTOSHOP CS3.
    I feel that I have entered the Twilight Zone, otherwise known as The Adobe Messed Up Someting In The Registry Upon CS3 Install Zone. Does anyone have any hints on how to get PS CS3 working as the default program for JPEGs when I double click them from explorer on my XP computer?
    Thanks,
    Mark

    After a long search I found the answer:
    To associate all jpeg files with Photoshop CS3 so that they will open into CS3 when double clicked:
    Click Start, Run and type in: Control Folders.
    Click the file Types Tab.
    Wait for the list of file types to populate.
    Single click on the jpeg file type.
    Click the Advanced button.
    Highlight open and click the edit button.
    Browse to the location of photoshop.exe in the CS3 folder.
    A few OK's and you are done.
    AND ANOTHER THING .........
    After the change above was made, jpg files would open directly to photoshop cs3 when doubleclicked, but the maintained the same goofy quicktime pictureviewer icon when viewed in windows explorer. To change the icon for jpeg files displayed in all folders to the photoshop icon, do this:
    Start / My Computer
    Click Tools at the top of the screen.
    Click folder options .... then the file types tab
    Click on jpeg in the list and click the advanced button
    Click change icon and browse to the photoshop.exe for CS3
    A list of ocon choices will appear .... I chose the second row first icon
    A couple of OKs and you are done

  • I'm using the latest version of Firefox V29.0.1 Firefox cache settings no longer working for SWF files. can you help on

    Firefox caching on SWF files (Adobe Flash files) are not caching at browser level. But the same SWF Files are caching at other browsers like Google Chrome and IE.
    But when i see the about:cache service information, I can see SWF Files are there in the disk cache device. When ever i hit the same page, the SWF files are downloaded from the server not from the browser, but the fetch count for that SWF file will get increase in disk cache device. So it's taking time to load the SWF files every time when i hit the page.
    I'm requesting your help on this SWF File caching.

    <i>Moderator Comment<br>
    (Duplicate thread closed. Continue at [/questions/1000178]) -m) </i>

  • Preview is not working for MEdia files

    Suddenly whenever I would like to have a quick look for any video file via (Space bottom) its not working, keep giving that "Loading preview" but never show the video.
    i am using quick time X.
    any help
    mohammad

    There are quite a few different settings that you can choose from when converting a RAW file to a DNG. Without knowing what settings you set up in LightRoom there's no way to tell why your images aren't importing properly.
    Roughly speaking, a linear DNG is one where the first part of the RAW conversion process (called debayerising or demosaicing) has already been done by Adobe.
    Ian

  • I cannot get my thunderbird box to work since upgrade. addons not working for larger files

    When I try to use box for larger attachments ,it is not working and just keeps trying to load . I have checked my box account and spoken to there tech and he said it is not on their end ?

    I don't have any direct experience with D-Link equipment, but I may be able to provide some general advice. See if you can use a Web browser to connect to the D-Link's configuration screen. This probably involves visiting a URL such as http://www.192.168.0.1 . If you haven't changed the sign-on parameters, a quick Google search should find them for you.
    Once there, note as many configuration details as you can find. You'll need those to configure your Time Capsule.
    Use the AirPort Utility to configure the Time Capsule.
    One last thing: It's quite possible that the Verizon network will have locked onto the "MAC" address of your D-Link router. Something needs to be done to reset this. If there's a separate box at your house that came with the FIOS equipment that's "upstream" from the D-Link router, I'd cycle power on it to see if that does the job. Otherwise you'll probably need to call Verizon to ask them to reset things once your Time Capsule is installed in place of the D-Link router.

  • Quick look not working for office files from mail

    I installed the new Microsoft Powerpoint on my ipad to check it out.  I didn't really like it so I uninstalled it.  Now when I am in mail and try to view a Powerpoint presention (or any other office file), quick look opens with just the name and size of the file rather than letting me view the file.  I am assuming installing Powerpoint somehow disabled Quick View for those files.  How do I fix this?  I really need to be able to read office files from Mail on my ipad!!

    It sounds like you may have 2 different programs that support quicklook differently. I suspect the .doc files are different formats that are using one or the other application.
    A quick test - select a file with the full preview. Get info on it in the Finder (File > Get Info) see what application it is set to open with by default. I suspect this will be TextEdit or MS Word. Compare this to a file that has no preview in quicklook. Change over the default application to the other application and see if the preview appears.
    My understanding is that the software has to be aware of quick look to parse the document and create the preview. It could be that one of the softwares needs an update, or is too old to support quicklook.
    you should be able to see the version number by opening the application and using the About menu under the Application menu. Post them here if the above doesn't work.
    You may also compare the 'Kind' in the info dialog, it could be that they are slightly different formats. Opening and saving may generate the previews (keep the originals if you do this!)

  • QuickLook not working for SVG files

    Hi,
    I get a blank white rectangle when I QuickLook SVG files. Is it working for anyone else?
    I'm testing with this file, which renders correctly in Safari, and shows a preview in Finder. I'm running OS X 10.10.2.
    qlmanage -d 1 -p SVG_logo.svg says that it's using the Web.qlgenerator.

    Apple closed my radar as a duplicate of #19639311.
    A quick google search revealed that this same bug is affecting html files as well.
    http://apple.stackexchange.com/questions/169948/updating-to-os-x-10-10-2-broke-q uick-look-previews-for-html-files
    10.10.2 quick look broken for HTML files

  • Code assist not working for css files

    Hi
    I am following learn flex in a week and using flash builder 4 beta. Code assist works fine in my mxml files but now I am stating on css files, and code assist does not work
    It looks like it should be set up from the start, so don't know if something is broken. Any help will be great - thanks in advance
    Thomas Groenbaek, denmark

    Latest stable build does not have this problem.
    cbi-pdt-2.2-helios #324 [Hudson]

Maybe you are looking for