Swf changes size when loaded externally

I have a swf file that I am loading externally into my main
site, but for some reason it is coming in way bigger than it should
be (looks fine when I view it in it's own file). Any ideas on what
might be causing that? It's a guestbook form.

Try CatchAsBitmap:
http://www.republicofcode.com/tutorials/flash/as3cacheasbitmap/
Also check whether the quality is good when viewing it in actual percentage, are you changing the dimensions of image after loaded?
Someother Snippet to smooth the image:
_urlRequest=new URLRequest("pathtofile");
_loader=new Loader;
_loader.load(_urlRequest);
_loader.addEventListener(IOErrorEvent.IO_ERROR, function(e:IOErrorEvent):void{ trace(e) });
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,smooth);
private function smooth(e:Event) {
var bit:Bitmap = e.target.content;         
if (bit != null) {
   bit.smoothing = true;

Similar Messages

  • Error 4 when loading external data

    hi all,
    I have unchecked uncheck currency conversion for external systems in my info package and then loaded the data from a flat file.
    and then i am getting the below errors.
    cost -> cannot be converted to currenecy (since cost contains currency item)
    netval_inv -> cannot be converted to currenecy (since cost contains currency item)
    /bic/zntwthpm -> cannot be converted to currenecy (since cost contains currency item).
    if i check the option
    currency conversion for external systems in my info package
    then i am getting error 4 when loading external data.
    Can anyone help me out!!!
    thanxs
    haritha

    Hi haritha,
    Please check whether your file whcih you are loading is open , when you are starting the Infopackage.
    Also please check this SAP Note 600246 - RSAR 234: Error 4 when you load external data.
    What is your BW System (Version/Patch)
    Thanks.
    CK

  • Error 3 when loading external data

    Hi Gurus!!
    I am trying to load data from a flat file into a Cube. The load is done by a process chain and have worked perfectly before. The file is located on the application server.
    Now I get the following error:
    Cannot Update Request REQU_DESUFKD2XA1LDREQ0KEJZ2TJC in Data Target
    Error 3 when loading external data
    The file looks ok when i compare it with the ones i received earlier.
    Any ideas what this error 3 is all about?
    Thanks in advance!
    Pontus

    Hi
    I Have had trouble raching the network for some time.
    Problem solved. My misstake, It was the cube that were set to transactional.....
    I will credit A.H.P.
    Thanks everyone!
    Regards
    Pontus

  • Error 1 when loading external data

    Hi BW( Best and Wise) friends,
    I am not able to load data into my infocube. My source system is a PC file.
    Message <b>"Error 1 when loading external data is displayed."</b> when scheduled.
    When I checked the error details using Monitor button,
    During extraction, the data request was arranged(indicated by green mark),but there was error in <b>data request(red).</b>
    During extraction,data request was received (green),but there was some error in <b>data selection(red).</b>
    Anticipating good solution.

    HI all,
    1.The flatfile matches with the transfer structure
    2.The file is a “.csv” format file only.
    3.The path is correct
    I had chosen comma as my data separator.
    I had declared fields in the following way in the XL csv file
    Name of the candidate – text
    Name of the party- text
    Age-number
    Number of votes gained –number
    Calendar day –text.
    I had already tried the following.
    When I clicked the preview in the “external data” tab  of the infopackage, a window showing the preview parameters is opening. When I clicked the tickmark, message “error 1 when loading data is displayed.
    4. The details tab of the monitor showed the following:
    Overall status : Errors occurred: or: Missing messages-red
    4.1)Requests(messages):Errors occurred-red
           Data request arranged-green                       
           Error in datarequest-red
    4.2)Extraction(messages):Errors occurred-red
           Data request received-green
           Error occurred in data selection-red
    4.3)Transfer(IDocs and TRFC):Everything ok-green
           Info IDoc 1: Application document posted-green
           Info IDoc 2: Application document posted-green
    4.4)Processing(data packet): No data-yellow
    I had initiated the discussion in the forum with this  information only.
    Regards,
    Balaji
    Message was edited by: balaji vijayakumar

  • Why do windows change size when clicked?

    I have created a PDF file with links and some windows change size when I click the link.

    What is the version of PDF viewer application, if you this is the issue with few links, please try to manually edit them. Here the link to refer : http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7cb3.w.h tml
    It would also be interesting to have a look at your file.
    Regards,
    Deepak

  • Links change size when clicked

    I have a site done in Dreamweaver CS5 that the links in the navbar change size when clicked.  The bar is set to 95% but the links look like they are abound 50% when the mouse button is pressed.  All references to the size of the links in the HTML and CSS Page Properties are set to 95%. None of the other links properties; a, a:visited, a:hover, a:active, a:link, a:focus change the size.
    I've looked for several hours for solutions.  Anybody got any ideas?  BTW, this is my first site in Dreamweaver.

    I don't see any change in font-size in Firefox 3.6 on Win.  But your code is a bit confusing.
    Change this:
    a {
        font-size: 95%;
    a {
        font-size: 95%;
    a:visited {
        text-decoration: none;
        color: #960;
    a:hover {
        color: #2A3FFF;
        text-decoration: none;
    a:link {
        text-decoration: none;
        color: #626262;
    a:active {
        text-decoration: none;
        color: #626262;
        font-size: 95%;
    To this:
    a {font-size: 95%; text-decoration: none}
    a:link {color: #626262;}
    a:visited {color: #960;}
    a:hover {color: #2A3FFF;}
    a:active, a:focus {color: #626262;}
    The order in which link styles are defined matters in some browsers.  LiVHA is an easy memory device for link, visited, hover, active.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Error 2044 when loading external swf into my site

    Ok what i have is a site made from 1 flash file where i am loading external swf files for my picture galleries. now what is happening is in Flash, dreamweaver and when i test the site, everything is working perfectly, the problem is coming when i go into internet explorer go to the site and click on the flash button to go to the picture gallery, that is when it is giving me a Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
    does anyone know why this is happening and a possible way to fix it? thanks

    See if the following link helps at all...
    http://www.gotoandlearnforum.com/viewtopic.php?f=29&t=20453

  • How to resolve error when Loading External Table?

    I’m getting the following errors when attempting to load External Table -- I've changed the file extension from .csv to .txt to resolve ORA-29913 but error re-occurred. See syntax of External Table below.
    Thanks,
    Carol-Ann
    SQL> desc OWB_COUNTY_TIMEZONE_EXT;
    Name Null? Type
    STATE_CODE VARCHAR2(2)
    COUNTY_CODE VARCHAR2(3)
    TIME_ZONE VARCHAR2(1)
    SQL> select count(*) from OWB_COUNTY_TIMEZONE_EXT;
    select count(*) from OWB_COUNTY_TIMEZONE_EXT
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file owb_county_timezone.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    ++++++++++++++++++++++++++++++++++++++++++++++
    Synatx of External Table:
    WHENEVER SQLERROR EXIT FAILURE;
    CREATE TABLE "OWB_COUNTY_TIMEZONE_EXT"
    "STATE_CODE" VARCHAR2(2),
    "COUNTY_CODE" VARCHAR2(3),
    "TIME_ZONE" VARCHAR2(1))
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY AIMQRYD_AIMP_LOC_FF_MODULE_LOC
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    CHARACTERSET WE8MSWIN1252
    STRING SIZES ARE IN BYTES
    BADFILE 'owb_county_timezone'
    DISCARDFILE 'owb_county_timezone'
    LOGFILE 'owb_county_timezone'
    FIELDS
    TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"' AND '"'
    NOTRIM
    MISSING FIELD VALUES ARE NULL
    "STATE_CODE" ,
    "COUNTY_CODE" ,
    "TIME_ZONE"
    LOCATION (
    AIMQRYD_AIMP_LOC_FF_MODULE_LOC:'county_timezone_comma.txt'
    REJECT LIMIT UNLIMITED
    NOPARALLEL

    Hi Carol-Ann,
    The key issue here is
    "KUP-04063: unable to open log file owb_county_timezone.log
    OS error Permission denied".
    Looks like you don't have sufficient system priviliges on Unix.
    This is wat AskTom mentions about it:
    "the directory must exist on the SERVER.
    the concerned user is the "oracle software owner" as far as the OS is concerned.
    oracle must have read write access to this directory
    and the directory must exist on the SERVER (database server) itself."
    Hope this helps.
    Cheers, Patrick

  • Photos and layouts change size when adding photos in book layout

    I am using the Classic layout to create books.
    Sometimes, when I move a photo down into the layout, unpredictable things happen. For example, when I drag a photo down onto the page layout, sometimes the photo will change sizes, and sometimes the layout will move around (esp. with 3 or 4 images on a page). On a page with a single image, sometimes the photo comes in large, and sometimes it shrinks. On a 3 photo per page layout, sometimes the layout starts with 3 photo boxes in a row. I can add one or two, and then I add another (could be the 1st, 2nd or 3rd - it's the image file that I think triggers the change) and all the boxes scramble and instead of a row of 3 equal-sized boxes, now I have a page with 1 big and 2 small boxes. Totally unpredictable!
    Is there any way to control this?
    All the photo files I'm starting with are high resolution tiffs, around 8 inches square (most are squares, not 4x6 snapshots) at 300 dpi.
    I have had this issue on 3 computers (and probably 2 different versions of iPhoto): a 2-year-old G5, and two brand new iMacs.
    Any help or advice is welcome. Thanks.
    iMac   Mac OS X (10.4.8)  

    If you Control-click on the square photo in a book frame you can select the "Fit photo to frame size" option and the entire image will be contained in the frame. there will be some white space on the short side.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Desktop icons change size when I move the cursor

    Intermittently, when I move the cursor with my trackpad, the desktop icons change size—minimize going from 44 to 16 icon size. This happens with the Finder in the foreground or background.
    I think there's a fix, but I cannot find it.
    All help appreciated,
    Bill

    Press Command-Option-8. Someone apparently turned on Zoom. (See System Preferences > Universal Access and click the Options button next to Zoom for more information.)

  • Run time error when loading external dimensions in Dev Studio

    Hi,
    I'm getting a run-time error when I try to load externally managed dimensions in Dev Studio using "Discover" button. The dimensions appear in the state folder so they got loaded fine but not sure why they are not being loaded into dev studio.

    Your question relates to the Endeca Commerce product(s), and would be better asked in this forum: Technical Questions .

  • Why are the video player change size when resizing the window a little?

    When I use the video player to show mp4 files, the "player window" changes size if I change the firefox window. Why and how do I do to get the correct size direct (640x480)

    Hi john3,
    This can be the resolution of the screen or the site detecting screensize, do you have a url we can take a look at to determine what's going on?
    Thank you!

  • Strange LayoutManager error when loading external swf

    The swf loads and I get no popup errors in the browser.  But in debug mode my FlexBuilder console reads:
    [SWF] C:\~projects\source\flexbuilder\tests\dyvetntive_moderator_test\bin-debug\assets\swf\pres entation.swf - 1,592,516 bytes after decompression
    undefined
        at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:668]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
        at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    Loading other swf's produces the same result.
    What is that?

    Turns out it's probably a bug:
    http://bugs.adobe.com/jira/browse/FB-24339
    Third party vendor wrote:
    We have researched this issue. It's not an issue of ours. The crash happens when the loaded AS2 Movie uses _quality property of the MovieClip object.
    Step 1 to reproduce the issue.
    Create a simples AS2 file with Adobe Flash Studio which has the only line:
    this._quality = "BEST"
    and publish this Flash file into "QualityBug.swf" file.
    Compile the following application with Flex. As you can see there is no code of ours at all:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="onInit()">
       <mx:Script>
          <![CDATA[
             import mx.core.UIComponent;
             import flash.display.Loader;
             import flash.net.URLRequest;
             private function onInit():void
                var loader:Loader = new Loader;
                var container:UIComponent = new UIComponent();
                container.addChild(loader);
                this.addChild(container);
                var request:URLRequest = new URLRequest("QualityBug.swf");
                loader.load(request);
          ]]>
       </mx:Script>
    </mx:Application>
    Launch this application in debug mode. The same crash. This means that issue is related to Adobe product family.
    We will try to report to Adobe about this issue.
    Since the issue happens only when debugging on IE we may recommend using other web browser for these purposes, for example Firefox until Adobe fix the problem with their product.

  • Would there be any reason for a hotspot created in InDesign to change size when exported as a SWF?

    Hello
    I've got a 280-page InDesign (CS5) document with invisible buttons/ hotspots throughout which I want to export as a SWF.
    Once exported, the buttons/ hotspots appear to be sized/ positioned correctly on the first dozen or so pages. Afterwards, the hotspots are consistently sized and positioned incorrectly over the buttons; so that if you were to try and click on the button, you wouldn't actually be clicking on the hotspot at all.
    Things I've tried so far:
    Exporting the pages in smaller batches, rather than as a single 280-page file
    Export the SWF at different sizes
    Checking that the hotspost don't have any blank areas inside their boxes (in the same way you can move an image inside a picture box and have blank areas)
    I've hit a wall with this – any help/ suggestions you're able to offer would be very much appreciated.
    Thanks for your time.

    Thanks, but I have searched here but have not found or heard a direct answer to my question as stated above...

  • Time Machine: Backup folder changing size when connected to different computers

    Can someone please help me wrap my head around why the size of my Time Machine backup folder changes when connected to different computers? I tried to be as thorough as possible.  Thanks in advance for taking the time to read this.
    I made a backup of my one laptop (MacBook Pro running 10.6.8) before installing Mavericks.  The backup folder size is 258.56 GB and it is on a 1TB WD external.  There are no other computers backed up in this folder.
    Last night, I tried to copy the backup folder to another 1TB WD external and ran into the “you can’t do that” message.  After some researching, I came across articles explaining how Time Machine handles HDs and, in order for me to copy my backup folder, the drive I want to copy the folder to needs to have the “Ignore ownership on this volume” deselected.
    Okay, so here is my situation: I have the “Ignore ownership on this volume” deselected and journaling is correct on the drive I want to copy the backup folder to.  So I can continue working on my laptop, I want to use a different computer to copy the backup folder from one HD to the other.  The problem I’m having is each computer I own is showing me a different backup folder size O.o.
    (1) The computer I want to use – a Power Mac G5 Quad running 10.4.11 (non intel) – is showing a backup folder size of 592.7 MB, but the HD shows there is 258 GB being used.  When I drag copy, I only get a 592.7 MB backup folder.  For some reason, the backup folder is the only folder acting this way. I compared other folders from the same and different externals and all the sizes match up perfectly no matter the computer they were connected to. How is this possible?
    (2) My second option - Mac Pro (early 2009) running 10.9.4 – is showing a 256.15 GB backup folder size.  Very close, but not 258.56 GB.
    (3) My last option is to use the computer I’m trying to stay away from, the MacBook Pro running 10.6.8.  This is the computer I backed up and is showing me the correct folder size = 258.56GB.  As I mentioned, I'd like to work on my laptop while copying the backup folder using one of my other computers.
    I am able to drag and drop from each computer, but the folder size depends on the computer I’m using.  I don’t understand why I can't do a simple drag and drop of a 258 GB folder.
    Many thanks!!

    The directory files that you are seeing are not real. They are links to the actual backup files that are stored in a hidden directory on the drive. If you were to look at the same drive on a pc, you would see the folders and you would a list files that are in the folders but the files would all be 0 byte files and Windows will tell you the file is empty because there is nothing there but a link which Windows does not understand.
    So the point is you can't just copy the backupd files. The best solution that I know of (and maybe someone else will chime in) for copying them is to mirror the drive with something like Carbon Copy or some other program.
    See this site for more information about time machine and how it works: http://pondini.org/OSX/Home.html

Maybe you are looking for

  • Airport Extreme slowing down internet connection to a crawl

    Hi, Can anyone explain this one? Just this afternoon my internet connection slowed to a crawl. Pages would stall loading and I couldn't even collect emails. There was a connection there. A Google search might take a minute or so but anything else wou

  • Accounts Payable Check

    I have two questions with regards to an RTF template for a AP Check; 1) How to get the signature files to display when I preview the check. I have uploaded the signatures and can view them via a URL. Should the signatures display when I preview my ou

  • Which file format renders the fastest?

    I'm a student and I'm editing variety of file formats and codecs like .wmv, .mp4 (h.264/aac), .mpeg, .mov, and others... What project settings should I use to render or export these videos fast? Or, if that is not possible... What file format should

  • How can I get an "Overflows" frame property in IDML?

    I am using InDesign CS5. In scripting, I can get the "Overflows" property to see if a given text frame requires overflowing. I could not find any similar property in IDML. Is there any way to determine solely from an exported IDML if text overflow is

  • Problem exporting using Compressor in FCP?

    I had a problem exporting using Compressor in FCP and then I found an interesting article from Apple: http://support.apple.com/kb/TS1099 but it doesn't really explain the solution. What steps do I need to take exactly in Compressor to make it work?