Opening SWF to its exact size in HTML (ASP page)

Hi,
I have one popup window to open any SWF. User clicks a button
from some other page and the file name is passed to this popup
window through parameter. The popup window itself is sized at 100%
to accomodate with any SWF file.
For the SWF object, if width and height parameters are
missing, the animation has a default size, if width and height are
specified at 100%, the animation is resized much bigger...
Is it possible to find the exact size of the SWF (either by
VBScript or Javascript) and to resize the control to its original
size, either using VB variables when the page is built or with
Javascript once the page is loaded ?
Many thanks for your help
Jean-Pierre

I found the solution.
Many thanks for your help
Jean-Pierre

Similar Messages

  • When i open apps sometime its pop out to the main page

    hi...sometimes when i open an apps its just pop right out. lately i open my camera apps just about to took a photo its pop out again??...i wan to know can it be fix??

    Try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    If the Mail app still doesn't work after the iPad has restarted then try closing the app completely and see if it works when you re-open it : from the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.

  • I have a numbers sheet which suddenly turned up as a thumbnails.jpeg which I can see is a spreadsheet but too tiny to view. How can I open it in its original size and how did this migrate to a firefox doc app?

    I have a MAC OSX10.6.8. I use Apple's numbers program to do spreadsheets.
    I have a spreadsheet which I have worked on intermittently for 3 years. The last time I closed it in Sept 2011. it was ok. When I reopened it again in Nov it had become a "Thumbnail.jpeg (240x310 pixels.) " I can see that it is the spreadsheet, but I can not enlarge it so that it is useful. It is just a blurred image. I have no idea how this happened. When I click on it, firefox opens so I believe that it is a Firefox app.
    Info from Firefox:
    Render mode: Quirks mode
    Encoding: ISO-8859-1
    Modified Sept 22, 2011 3:19 pm

    Reset the page zoom on pages that cause problems, make sure that the window is not maximized:
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Trying to make a flex application scalable in its display size by using a "Host-swf" - Problem

    We created a flex application using Flex 3. What we are
    trying to do is to make this application scalable in its display
    size. That means we want the application to scale itself to exactly
    fit the size of the browser window without using a scrollbar like
    normal Flash-swfs do. Sadly flex application don't scale like a
    normal flash swf.
    To get a workaround for this we created a so called
    "Host-swf" with flash CS3. This Host-swf loads the flex application
    and adds it as a child. And voila: When calling the Host-swf our
    application can scale.
    We used this code to achive this:
    var oUrlRequest:URLRequest = new
    URLRequest("Flex-Application.swf");
    var oURLLoader:Loader = new Loader();
    oURLLoader.load(oUrlRequest);
    addChild(oURLLoader);
    This works perfectly as long the browser window is larger
    then the resolution of the host-swf (900*600) when calling the url
    for the application:
    Picture showing the
    scaling
    But it doesnt't work out when the browser window is smaller
    than 900*600. The application is then shown with a scrollbar, and
    when resizing the browser window the scrollbar is still there:
    Picture showing the
    application with scrollbar
    Maybe anyone already tried to achive the same thing and has a
    different solution for us?
    Thank you in advance!

    "noby_95" <[email protected]> wrote in
    message
    news:gpsue6$rhh$[email protected]..
    > We created a flex application using Flex 3. What we are
    trying to do is to
    > make
    > this application scalable in its display size. That
    means we want the
    > application to scale itself to exactly fit the size of
    the browser window
    > without using a scrollbar like normal Flash-swfs do.
    Sadly flex
    > application
    > don't scale like a normal flash swf.
    >
    > To get a workaround for this we created a so called
    "Host-swf" with flash
    > CS3.
    > This Host-swf loads the flex application and adds it as
    a child. And
    > voila:
    > When calling the Host-swf our application can scale.
    >
    > We used this code to achive this:
    >
    >
    > --------------------------
    > var oUrlRequest:URLRequest = new
    URLRequest("Flex-Application.swf");
    > var oURLLoader:Loader = new Loader();
    > oURLLoader.load(oUrlRequest);
    > addChild(oURLLoader);
    >
    >
    > -------------------------
    >
    > This works perfectly as long the browser window is
    larger then the
    > resolution
    > of the host-swf (900*600) when calling the url for the
    application:
    >
    http://www.gansl-online.de/Bild1.jpg
    >
    > But it doesnt't work out when the browser window is
    smaller than 900*600.
    > The
    > application is then shown with a scrollbar, and when
    resizing the browser
    > window the scrollbar is still there:
    >
    http://www.gansl-online.de/Bild2.jpg
    >
    > Maybe anyone already tried to achive the same thing and
    has a different
    > solution for us?
    When I set the Application width and height to a percentage
    number, it will
    change its size based on the size of the window.

  • How can I get a tab to open in an oversize jpg image in its original size with scroll bars when I click on a link?

    I have a small program for storing my genealogy names and jpg images of the census pages where each name is found. The images have a thumbnail link that opens in a new tab to view the actual oversized census page. In the new tab the census page is small and not readable. How do I get the jpg image to appear in its original size with schroll bars so I can read the census in the firefox browser without using the zoom feature. It takes several clicks on the zoom to get the image to a readable size and that is time consuming, especially when I have several images opened.

    That works, thank you!
    Could I suggest that this feature (the ability to turn off or turn on the auto-resize of images) be part of the Options tab on Firefox? I think it's a setting that some users might want to change fairly often--even toggle back and forth on. It's a little annoying to have to go into about:config every time to do this.

  • The box in my Photoshop Elements, which shows the size and types of brushes has shrunk to one unreadable line. How do I expand the box to its original size?  I have tried dragging it open but nothing moves.

    The box in my Photoshop Elements, which shows the size and type of brushes, has shrunk to one unreadable line. How can I expand this box to its original size? I have tried dragging it open but nothing happens and none of the tool boxes appear to give me an expansion option

    Well, when you open the program, the splash screen, the window you see while the program is opening, should make that clear enough. For example:

  • How to open an swf in its own window outside flash using button

    how do I open an swf in its own window outside the flash using button?

    Hi,
    Try this code:
    import mx.containers.Window;
    var my_button:mx.controls.Button;
    var buttonListener:Object = new Object();
    buttonListener.click = function(evt_obj:Object) {
    var my_win:MovieClip = mx.managers.PopUpManager.createPopUp(evt_obj.target, Window, true, {title:"Sample Image", contentPath:"uganda_animation_Scene 1.swf"});
    my_win.setSize(320, 240);
    my_button.addEventListener("click", buttonListener);
    You must drag the window default component and place in to the library.
    Saransoft

  • Open .swf in full-screen browser window?

    Hi there! I would appreciate if someone could help me with this:
    I have a .swf that I embed in an .html file. When loaded, the html file opens up in a window with the application taking up only 50% of the window. I'd like to have the application open in a window that's full screen. Is that possible at all?
    The .html file I'm using is a standard one generated by Captivate and looks like this:
    <!-- Copyright [2008] Adobe Systems Incorporated.  All rights reserved -->
    <!-- saved from url=(0013)about:internet -->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Title</title>
    <script src="standard.js" type="text/javascript"></script>
    </head>
    <body   bgcolor="#ffffff">
    <center>
        <div id="CaptivateContent"> </div>
        <script type="text/javascript">
           var so = new SWFObject("myfile.swf", "Captivate", "891", "551", "10", "#ffffff");
            so.addParam("quality", "high");
            so.addParam("name", "Captivate");
            so.addParam("id", "Captivate");
            so.addParam("wmode", "window");
            so.addParam("bgcolor","#ffffff");
            so.addParam("menu", "false");
            so.addVariable("variable1", "value1");
            so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash");
            so.write("CaptivateContent");
        </script>
        <script type="text/javascript">
            document.getElementById('Captivate').focus();
            document.Captivate.focus();
        </script>
    </center>
    </body>
    </html>

    Hi,
    What do mean by browser window?
    If you mean the File>Open dialog, double click on the Title bar to get it back to a smaller size.

  • How to print an exact size in illustrator

    I have reproduced a very detailed map that I now want to print. The original was based on a scanned version that measures in PS 36 X 45 inches or 10440 X 13920 px. I want one copy to be at the larger size and it does not need to be exact. I want a second print to exactly match the original at 15.92 inches wide. I don't see how to get this exact size print in AI and since I will be taking this to an outside printer I thought it would be nice if I knew how to get this exact size print.

    Richard,
    Your description of what you have done and your requirements are not clear. All the responses thus far involve some degree of guessing.
    I have reproduced a very detailed map that I now want to print.
    What do you mean by "reproduced"? Traced it as vector paths in Illustrator? Reworked it in Photoshop?...?...?
    The original was based on a scanned version that measures in PS 36 X 45 inches or 10440 X 13920 px.
    Okay. You have a 10440 x 13920 pixel raster image.
    Those proportions do not scale to 36 x 45 inches.
    They scale to 33.75 x 45 or 36 x 48.
    I want one copy to be at the larger size and it does not need to be exact.
    What "larger size"?
    What do you mean by "a copy"? How is this going to be printed? Offset lithography? One-off large format inkjet printer?...?
    Assuming we're talking about offset, sheetfed, CMYK printing the raster image combined with some native Illusrator artwork, do this:
    1. Open the image in Photoshop. Perform whatever raster retouching you want. Perform whatever color correction you want. When all rework of the image itself is done, be sure you end up in CMYK mode. Save the file in Photoshop format as "Original".
    2. ReSIZE it to the desired print scale. Crop it to the area you want to print, plus at least .125" extra on any side that bleeds. ReSAMPLE it to 1-to-2 times the halftone screen ruling that will be used when it is printed. Flatten layers. Remove any extra channels. Sharpen it appropriately. Save in TIFF format, as "LargeMap".
    3. Set up a new Illustrator document an appropriate size. "Appropriate size" depends upon the printing setup and whether there are bleeds. You can set the Artboard size to the size of the press sheet (assuming sheetfed printing), or to the trim size plus any bleed, plus room for any trim or fold marks you want to include.
    4. Import the raster image. Position it correctly relative to the trim marks or guides. Put it on its own layer and lock the layter.
    5. Draw the native Illustrator stuff on Layer(s) above it.
    6. Save as Press Ready PDF.
    I want a second print to exactly match the original at 15.92 inches wide.
    For best results, open the cleaned up, full-res image you saved and named as "Original" in step 1. Then repeat steps 2 (saving it as "SmallMap") through 6.
    I don't see how to get this exact size print in AI
    You can scale a raster image that you have placed in Illustrator, just as you would scale any other object. For example, assuming the image you place is the original 10440 x 13920 scan. You could simply turn on the proportional link in the Transform palette, and set the width to, say 15.92 inches. But that would scale the image to a grossly oversampled 656 ppi.The excess data would simply get averaged away in the imaging process, resulting in a slight blurring and "muddying" of the image. (In other words, it would effectively undo your careful sharpening.)
    and since I will be taking this to an outside printer I thought it would be nice if I knew how to get this exact size print.
    Raster images should be sampled so as to achieve a ppi that is appropriate to the specific printing method, when scaled to the printed size. Too many people just offhandedly say to "make everything 300 ppi". That is just a corruption of the general rule-of-thumb mentioned above in step 2: Sample your images so that their effective ppi is 1-to-2 times the halftone ruling.
    Assuming the common 150 lpi halftone, 225 ppi would be considered dead center of that range, not 300 ppi. 150 ppi is the "low side" of the range; 300 is the "high side". When a range is given, you don't just automatically set everything at the "high side"; otherwise, there would be no reason for providing a range. (If your tires say the maximum inflation is 45 psi, is that the pressure you always use?).
    The "high side" is not necessarily for "best results"; it's to allow some fudge room convenience if you decide to scale the image larger on page. Neither is the "low side" necessarily "worst results" or "borderline results": It depends on the image. For example, there is no reason to set a soft-edged drop shadow at higher than the halftone ruling. There is no sharp detail to worry about preserving; the only concern is to avoid visible pixelation, which will not occur if sampled to the halftone ruling. (One round halftone dot cannot render the square shape of a single pixel.)
    JET

  • HT1420 Cant get itunes to open.Error message:"its on a locked Cant get itunes to

    Cant get itunes to open.Error message:"its on a locked disk." What does this mean??!!

    ok heres what u gotta do
    yes i know its alot of steps but if you do them right it will work.
    1.remove all active versions of itunes
    2.then restart as it asks you to do, if it doesnt ask do it your self
    3.unplug ipod
    4.remove ipod software
    5. restart
    6.install the cd the ipod came w/
    7.when it asks you if you want to upgrade itunes say yes
    8.download the file
    9.intall the newest version
    10.restart
    if you have done exactly these steps(exactly in this order)then itunes should be working now

  • Users open shared files but they get an error that file is already open when actually its not

    we have a windows 2012 r2 environment with a hyper-v cluster with 4 virtual servers (2012r2) that are located on an hp storage.
    users in the office work on windows 7 pc's and sometimes (more than once per day) when they try to open word or excel files from a shared folder they get a message that the file is already open so it opens in read only mode and they cannot save it. we are
    pretty sure and tested that that folder is not open from any other user, because some users tried to open files randomly back from 2012 and they got the same errors again. 
    i cannot reproduce when i want the problem. i may try reopening files for an hour without having problems.
    i tried also to write down the hours that the users may have mostly the problem but i couldnt figure a specific time on the day that the problem occurs.its random.
    i want to also notice that we have symantec backup exec 2014 and taking backup on tapes and on deduplication folder with the advanced open file option set to "let VSS to select automatically the provider"
    the file server does not record any events in system or dfs replication tab. they only events we got once per 1 or 2 days are in the application tab and its exactly this "the volume recovery was not optimized because an error was encountered:
    the file move failed 0x89000016) event id 257,defrag"
    i hope i gave u an accurate description of my problems. i really have to solve this.
    kostask

    Hi Kostak, 
    Have you tried to use Process Explorer?
    More info: https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    Simple usage: Part 1: Using SysInternals Process Explorer to solve issues
    when trying to clean up files and folders...
    This is what I am using to track file handles when tried to open or deleted. Normally I am finding that backup/vss process has taken, antivirus was scanning, or indexing services were working. 
    I would recommend you to do the next:
    - Disable Windows Search from: Control Panel> All Items> Programs and features> Turn Windows Features On or Off> Uncheck Windows Server. Go to services.msc and Stop Windows Search service.
    - Exclude affected folder(s) or drive(s) from antivirus scan/protection, at least 24h.
    - Disable backup/vss operations on the drive(s) for at least 24h.
    Hope it helps, I know how itchy can be this kind of issue at the office :)

  • How do I set Adobe Flash Player as the default program to open SWF files?

    Basic Overview
    I have this working fine at my home laptop, however I need this working for projects at school.
    Whenever I want to open an SWF file at home, I simply double click it and open it in Adobe Flash Player (Adobe Flash Player 10.0 r22) and I have no problems!
    However, when I am at school I have to run SWF files within Internet Explorer, Adobe Flash Player IS installed, but the SWF files are not opened in that directly, they are opened within Internet Explorer.
    At Home
    If I right click an SWF file at home and select "Open With" and then "Choose Default Program...", Adobe Flash Player is already there under the name 'Adobe Flash Player 10.0 r22', so I can simply select it as the default. (On my home laptop)
    At School
    At school if go to "Open With" and then "Choose Default Program...", Adobe Flash Player IS NOT there, only Internet Explorer and some other programs in the other programs box. (On my school laptop)
    Question
    How can I assign Adobe Flash Player as the default program for opening SWF files (on my school laptop)? If I select "Browse..." and go to C:\WINDOWS\System32\Macromed\Flash there is no file with a description of 'Adobe Flash Player 10.0 r22', is the file for the actual program located somewhere else or have I just no looked properly in the folder?
    I really need these files opening in Adobe Flash Player directly and not in Internet Explorer (I know you can set the view to 100% and have it sized correctly)
    Thanks you to everyone who helps!
    -Charlie! (Yes I know I don't need to write this in a forum)

    The standard Flash Player is a browser add-on, and not a standalone player.  So what actually opens when you open an SWF file at home?  Flash Player Projector?
    If so, you also need to download it at your school, from http://www.adobe.com/support/flashplayer/downloads.html, then do the file association.

  • An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery or directly typing its URL

    I apply theme before singing all users into application ,now  visitor/member are not affected color text so we are reapplying themes 
    I am not able to reapplying SPColor /my site Host template "  An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery
    or directly typing its URL" while applying theme i am getting error
     

    is it your public site/ community site or team site?
    what level of subscription you have?i would say try to delete the site and try to create a new.
    http://community.office365.com/en-us/forums/154/t/147705.aspx
    are you able to open the site in the sharepoint designer?
    or try to send them the private message to the support team.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Installed shockwave.....but cant open swf files.....

    Eventhough I have installed shockwave player and flash, I am not able to open swf files. Whenever I double click on the swf file, it tells me that windows cannot open this file and asks me to choose what program I need to open it.
    Any advise please...

    Hi, Flash Player is a browser plugin, not a standalone Player. You may want to reveiw here:
    http://www.adobe.com/support/flashplayer/downloads.html
    Hope that helps,
    eidnolb

  • Specifying the exact size of a rectangle or line - Adobe Acrobat Professional 8

    I am making a few modifications to an existing document of a scale drawing (1mm to 300mm).
    When using the Line Tool or Rectangle Tool Is it possible to draw a line or rectangle to be an exact size on the drawing. Is there a way to specify the exact dimension's you'd like something to be? For example, is there a way for me to draw a box with the exact dimensions 300mm by 500mm?

    Hello Michal,
    I tried your solution 1. I un-installed both Reader 7.0.8 and Professional 8.0.
    Then I re-installed Reader 7.0.8.
    Then I re-installed Professional 8.0, but no where during installtion process did it ask me if Professional 8.0 should be default to open PDF files. By default it set it to open PDF files. Now I'm back to original problem.
    Solution 2 still works (i.e. open Reader 7.0.8) before opening the URL in web browser (then it opens in Reader 7.0.8).
    But we want a permanent solution.
    Please help.
    Thanks,
    Vimukta

Maybe you are looking for

  • Java Applet is not working in IE11 in win8/win 2008 server

    Hi, we have developed web application using PHP. in the start of the page we have link which will kick start the Java Applet application on click.   It is not working in IE 11 browser with all windows machine until we add that page in the compatibili

  • How do I enable the GD library in OAS 10.1.2 ?

    I am running OAS 10.1.2 on HP UX 11i 64 bit. OAS 10.1.2 supports PHP, but the image function does not work. The imagecreate function gives the error: Call to undefined function: imagecreate() According to www.php.net, image functionality requires the

  • Installing WebLogic 6.1 on Linux?

    I have a few rather basic questions regarding installing WebLogic 6.1 on Linux. 1. What should I use as a home directory? I know that we use C:\BEA in the Windows world. I've seen a number of people referring to /usr/local/bea. Is there a general con

  • Email Warning

    My daughter has a Z10 and has today received this email:- Your mailbox has exceeded the storage limit 2.GB Established by the administrator is currently 2.30GB, can not send or receive new messages until you re-validate your e-mail Click the link bel

  • Problems with include jsp

    Hi... my english are not good enough but im trying to explain. I wanna include a url using <jsp:include tag, but my url have params.... so i know i have to use <jsp:param 4 each param.... So i did a little scriptlet that takes the url and separe each