SWFElement - keep the original size of swf

Hello

I'm playing a swf file in osmf.

works like a charm, as long as the swf file has the same size as my mediaplayer.

If my swf is smaller than my mediaplayer the swfelement is reduced.

How do I load my swf, keep the original size and align it e.g. in the upper left corner?

welcome them

Vincent

You must specify the metadata of the page layout so that the SWF is well positioned.  Here is an example that shows how to center the media:

http://opensource.Adobe.com/svn/opensource/OSMF/trunk/apps/samples/framework/HelloWorld/he lloWorld7.as

You could probably just change the SerialElement of your SWFElement and the alignment H/V to TOP and LEFT values.

Tags: Adobe Open Source

Similar Questions

  • If I export my unmodified as original pictures it keep the original format?

    I had trouble putting my photos on my USB key. I want to keep the photos in original size, so if I export them as 'Export Unmodified Original' it keep the original formatting?

    It will be. This option is really there to allow export with all tag metadata information. It will remove all changes made to the picture image.

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to change the thumbnail size, return to the original size.

    How to restore the list of download and my folders of images, the size of the thumbnail to the original. I was remove several photos and old downloads folder now hold the control button when everything went in miniature and now I can't get the original size. I should to I was doing this on 2 separate occasions... lol

    Hello
     
    You can follow below link that can help you to reolve this question:
    How to modify your folder view settings or customize a folder
  • How can I keep the original video sound?

    I just want to combine both videos, but I want to keep the original sound.

    Is this possible?

    Hello

    1. How are you trying to combine videos?
    2. What application are you using?
    If you use Windows Movie Maker, then check the link and follow the steps.
  • my fonts Office has suddenly changed to a larger font, how do I get this back to the original size?

    my fonts Office has suddenly changed to a larger font, how do I get this back to the original size? I tried to change it by right-clicking the mouse and personlized want and it did not work. I'm runnin Windows vista. Thank you, Martha

    Hi dude 11-2,.

    Follow the steps in this document to change the screen resolution.

    Let us know if that helps.

  • Keep the original creation date when copying or moving files (Windows XP/7, Windows Server 2003/2008)

    I know that the default behavior of (any version) Windows when copying or moving files, is that Windows makes everything first creates a new folder, copy the content, and when you move files, deletes the source after successful copy folder. Unlike Mac OS, where mechanisms of copy and move assume that when you copy a folder, the properties of the copied folder should have the same properties as the source folder, so to keep the original date of creation!

    Is it possible to change this behavior in Windows? I know that Robocopy in Windows Server 2008 has an option to keep the dates of creation of record, but I would like to know if you can change Windows 7/Windows Server 2008 behave similarly.

    It is very annoying that when you restore or copy a folder, the new folder has the date of the creation of the current date instead of the date of original creation.  People tend to look for old records that exist is no longer when you copied or moved the files.

    Hey E Kyung,
     
    There is no way to do this in windows. The design of Windows, this is the creation date refers to the file, while the date of the amendment relates to the content. If the creation date is really important to you, you can set after the copy with a utility.

    The easiest is to right-click on the file and drag it to the destination folder. you will be asked to copy or move. If you move, the creation date will not change.

    Yes, Robocopy is available in Windows 7.

    Thank you, and in what concerns:
    Shalini Surana - Microsoft technical support.
    Visit our Microsoft answers feedback Forumand let us know what you think.

  • Unable to save a slice with the original size using save for Web

    Hello

    For some odd reason, I can't increase the percentage more 45.84% in the section of the dialog Web Image size, save for

    so whenever I have save a slice, it ends up to half the original size.

    Screen Shot 2016-05-31 at 13.19.01.png

    I remember ever change a setting that can get there... How Photoshop could prevent you to save your image in original size?

    Please help me. I manage to get the slice in the original size now to meet the deadline for my project.

    As far as I know, photoshop for the web economy imposes a limit of size about 8182 pixels height or width and if the range or image is larger, save for web shows that the image/slice has been resized.

    The strange part is if is not a click on one of the options the Image size, the image/slice seems to be saved in the original format, even if it is greater than 8192 pixels in height or width.

  • This error keep the origin of my iMac restart in mode 'sleep'. Someone knows how to fProcess: AdobeUpdateDaemon [82] (suspended) Path: / Library/Application Support/Adobe/Adobe Desktop ElevationManager/Common/AdobeUpdateDaemon Architecture:

    This error keep the origin of my iMac restart in mode 'sleep'. Someone knows how to fix this? TA.

    really, there is no reason to start even regularly your cc desktop app.  you only need to run once every 30 (if you have a monthly subscription) to 91 (if you have an annual report) days.

    in preferences, you can disable the desktop application start automatically when you start your computer.

  • How can I place several smaller images of varying size on one page for printing without losing the original size.  Board contact option to resize my pictures

    Does anyone know how to place several small pictures on a single page, so I can print them out as a rather print over and over again.  I want to maintain the original size of the images that vary somewhat.  I tried to use the option of the Board-contact, but he seems to want to resize my images which unfortunately is of no use to me.  I tried to cut and paste on a new page, but I don't think that it is now the original size.

    Alternative applications sometimes can provide quick and easy results.

    It might be interesting to download the demo version of Photoline: it includes a simple Board-contact option that allows for images to be included without loss of resolution, i.e. the original is left intact and the proportions remain unchanged. Since Photoline also supports documents several pages, all the thumbnails are collected into rows and columns, the user can control and the end result can be exported as PDF.

    -Download the trial of pl32.com

    -Open Photoline, then open the browser (CTRL/CMD (B)

    -Navigate to your folder with the images you want to combine for printing.

    -right mouse click in the thumbnail view, and then select "Create image Catalog.

    -Select the page by Page size

    -under 'Size' define the number of rows and columns (there are here a translation error: "Spalten (COL) / rows (lines)".)

    -Uncheck "scale photos physically." This ensures that the original images are intact and incorporated in full resolution.

    And then click OK.

    Some of the other testing devices until you get a satisfactory result. Then export it to PDF.

  • Zoom out to the original size of the document

    Hello! I have a problem with this code, because I need to zoom out to the original size. Please help me in it! Thank you

    import flash.events.MouseEvent;

    stage.addEventListener (MouseEvent.MOUSE_WHEEL, Zoom);

    function Zoom(e:MouseEvent):void

    {

    var mod:Number = 20;

    kep2. ScaleX += e.delta / mod.

    kep2. ScaleY += e.delta / mod.

    kep2.x = ((2 * mouseX)-(2 * (e.localX * kep2.scaleX))) / 2;

    kep2.y = ((2 * mouseY)-(2 * (e.localY * kep2.scaleY))) / 2;

    }

    import flash.events.MouseEvent;

    this.addEventListener (MouseEvent.MOUSE_DOWN, startDragging, true);

    this.addEventListener (MouseEvent.MOUSE_UP, stopDragging, true);

    function startDragging(e:MouseEvent) {}

    kep2.StartDrag ();

    }

    function stopDragging(e:MouseEvent) {}

    kep2.stopDrag ();

    }

    Use an if statement to check if the scale is too small

    import flash.events.MouseEvent;

    stage.addEventListener (MouseEvent.MOUSE_WHEEL, Zoom);

    function Zoom(e:MouseEvent):void

    {

    var mod:Number = 20;

    kep2. ScaleX += e.delta / mod.

    kep2. ScaleY += e.delta / mod.

    If (kep2.scaleX<>

    kep2. ScaleX = kep2. ScaleY = 1;

    }

    kep2.x = ((2 * mouseX)-(2 * (e.localX * kep2.scaleX))) / 2;

    kep2.y = ((2 * mouseY)-(2 * (e.localY * kep2.scaleY))) / 2;

    }

    import flash.events.MouseEvent;

    this.addEventListener (MouseEvent.MOUSE_DOWN, startDragging, true);

    this.addEventListener (MouseEvent.MOUSE_UP, stopDragging, true);

    function startDragging(e:MouseEvent) {}

    kep2.StartDrag ();

    }

    function stopDragging(e:MouseEvent) {}

    kep2.stopDrag ();

    }

  • I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    He has no such limit, and in fact some users in this domain and other forums report catalogues over 1/2 million pictures works well.

    The idea to create multiple catalogs because you don't want to get too big catalog file size is a bad idea that you should never think of it again.

  • Is is possible to have the images as thumbnails and make sure you can click on it to enlarge and then click on them again to return to the original size? In an interactive pdf?

    I'm designing an interactive catalog in a pdf document. Is it possible to have the images as a thumbnail then click to enlarge the image and then click again to bring them back to the original size?

    Thank you in advance!

    Stephanie

    Select the small image and amounted to a button, place the magnified image and which to a button. Change the button to show/hide the big button do. The large button is hidden until the button is clicked, and then to hide when you click New.

    Alternatively, you can have another InDesign document with images in full size, add text anchors to the images full size. Convert the small images for the buttons (or add invisible buttons above them) and tell the buttons to go to anchor text in the other document. Combine the two documents in a book, export to interactive PDF format.

  • How to keep the original path?

    How will keep the original path after conversion to describe stroke. Sometimes, but I don't know why?

    If the path has a fill it will be the path for the filling as well as the contours of the race. For closed paths that is.

  • How to restore the original size placed and mounted the image?

    If a picture is placed on the frame, mounted on it, saved file. When I open it again, is there a way to restore the original size of the image?

    Thanks in advance for any help.

    Vera

    Click on the image with white pointer/selector and set the size of the image at 100%

Maybe you are looking for