SWFLoader width height Issue

When I use the SWFLoader to load an swf from a URL it is not
using the
sizes specified in the SWFLoader component that is loading
it, the swf
seems to initially load at whatever size the actual swf is,
but after
the swf has been downloaded fully then the SWFLoader jumps to
the
width/height I specified, so basically all swfs I load start
out huge
then after sever seconds shrink to the size I want them to
be. has
anyone else seen this or know how to remedy this issue?
(also the element in the swf that animate say from outside
the
original swf stage width/height show out way outside the
bounds of the
size specified)
//set the source(within a function)
swfplayer.source="
http://www.somedomain.com/myswf.swf";
<mx:Canvas id="swfplaycontainer" width="452" height="252"
horizontalCenter="0" verticalCenter="0">
<mx:SWFLoader id="swfplayer" width="100%"
height="100%"/>
</mx:Canvas>
Also tried with no Canvas...
<mx:SWFLoader id="swfplayer" width="452" height="252"
width="100%"
height="100%"/>
Thanks, Tim
specified size does not take effect until fully loaded swf

hmm, well I tried explicitly setting the widht/height of the
SWFLoader to no avail, I just tried the scaleContent, it also did
not work ;-( I cannot hide the SWFLoader until complete event
because these are long swf animations(they are tutorial videos in
swf format) some seem to take 30-60 seconds to fully load(depending
on network traffic). They do start playing quite well immediately
but the size is messed up until complete, but I would think and
explicit size on the SWFLoader should be the definitive answer.
Adobe?

Similar Messages

  • Swfloader and accessing width/height

    Hi,
    I have an AS3 swf that I'm trying to embed within a Flex 3 application.  The problem is that I need to know the size of the available width/height from inside the swf.  When the swf is embedded in a webpage, I can easily access this by stage.stageWidth, but in the case of an embedded swf, this doesn't work because the stage is of the entire application and not just my swf.  Is there anyway in my embedded swf to figure out these values?
    Thanks!
    Christie

    If the embedded SWF was loaded via SWFLoader, then  this.parent.parent.parent.width (and height)  from within the embedded SWF will give you what you want.

  • Why can't I import anything? "File video dimensions (width/height) too large"

    New to PP CS4 here (that will be obvious momentarily...).  I can't seem to import any footage into any project (well, at least none of the bits I've tried, and I don't think there's anything 'wrong' with them).  Every time I attempt to do so, I get the error:
    Dialog title: File Import Failure
    Error Message: File video dimensions (width/height) too large.
    This occurs with every files I've thrown at it - admittedly, they all have a lot in common, but they're not particularly exotic.
    The files are (mostly) AVI files (I know, I know...before I get jumped, I understand it's just a wrapper, etc.). The files come from two cameras:
    1. A Sony DCR-TRV20. Opening up the AVI in QuickTime Player, I see it's listed as "DV/DVCPRO - NTSC 640X480"
    2. Canon PowerShot A620. Opening up the AVI in QuickTime Player, I see it's listed as "MotionJPEG OpenDML 320x240"
    3. I somehow managed to get the AME to spit out a FLV file. That failed to import with the same error message, too.
    I tried running these files through AME, and got the same results (although never having used AME previously, I have a question on that, below).
    New project, settings are all (I think) the defaults: Preset DV-NTSC/Standard 32kHz
    New installation of PP CS4, with the 4.1 update, on a PC running Vista 32 with all the endless MS updates applied.
    Related question: I've skimmed other threads here, and noted the advice to "always convert any non-standard footage to DV-AVI Type II" before importing....however, I see no such option for that output format in AME....only generic things like "Microsoft AVI" and "Uncompressed Microsoft AVI".
    Codec issues?  I'm a little skeptical, since these AVI files play just fine in Windows if I double-click them. Does that not suggest that there's a codec there for them?  The files are from (what I believe to be) garden-variety consumer cameras (these devices are a bit old and certainly not high-end, but they're hardly exotic formats, I think). The files are small, short clips I'm attempting to use just to learn Premiere, but it gags on every one of them, every time.
    PP is so insistent that every file I throw at it has improper dimensions, but these files appear to be perfectly reasonably sized, and I assume it's operator error (I'm withholding judgement on the quality and accuracy of the error string it's presenting me).  But I'm not sure where to look for the right knob to twist.  Pretty frustrating to be stuck on Square 1 (actually, Square Zero).
    Can someone point me in the right direction?
    Please be gentle, it's my first time....

    Thanks, but....mmmm....maybe not.
    I've tried multiple settings for New Projects. Just created a new one using the preset for DV-NTSC/Widecsreen 48kHz (frame size 720 x 480, 48 kHz audio).  Exactly the same results.
    You say "To point you in a certain direction, DV from a TRV is 720x480, not 640x480."  However, according to QuickTime's Movie Inspector panel, the file is 640x480.  This clip was captured through Premiere - that wouldn't change its aspect ratio, would it?
    The files from the Canon still camera are AVI files, not still images (so I don't see how the reference to Photoshop applies, or perhaps I misunderstood your point). They are 320x240, according to QuickTime's Movie Inspector panel. If they're 320x240, wouldn't that be the same aspect ratio as 640x480?  Attempting to import them, I get the same error....
    While not exactly Hollywood quality, I just need files to play with as I attempt to learn the program, and it's not clear to me why these files should not work - other than the fact that NO files seem to work. Also, I'm not sure what your reference to "exporting" pertains to - I can't get anything imported, I'm not trying to export anything that (I'm aware of) - I'll worry about exporting once I've managed to get something, ANYTHING to import.
    I've got some PP training videos (from "you-probably-know-who.com"). Following along using their project files and their video assets (MOV files in this case), I still get the exact same error.
    So to summarize, so far, I've seen no evidence that this copy of PP can import ANY video file.
    While I'm sure I would benefit from spending more time with the fine manual, I think there's something wrong here that's not going to be addressed in the introductory documentation.  If I can't import any footage into any project, progress is going to be slow.
    How about this: is there some known-to-be-good test file I can grab and try importing that?  I've got very strong suspicions that I'll get the same error message.
    Thanks again.

  • Width/height/x/y value mismatch with the reality and what is coded

    hello there everyone,
    hope i got the title right..,
    so here goes the problem i need your opinion and help to solve:
    application definition:
    i have this desktop flash application that will go fullscreen what this application do is loading external asset (mostlySWF) and play it inside this application. Each external asset will be place inside a container/holder (empty movie clip created by code), each of this container have it's own dimension ( width, height, x, y).my code all working without any warning nor error.oh and i also have an image.jpg/png as it's background and place at the bottom of display list (depth = 0), the image is customly made with using photoshop and each container location and dimension also measured there so it just needed to be writen down is the XML file..,
    the problem:
    the bug is when i loaded some image of those background image each container width,height,x,y  will mismatch with what i have in the XML file.
    the funny thing is when i trace the value of each container width,height,x,y it value is the same with what the XML has yet by seeing with eye you know that is wrong..,
    here's the code i used:
    var myXML:XML; //to hold the loaded xml file
    var SWFList:XMLList; //used to hold a list of all external swf source,atribute and etc
    var xmlLoader:URLLoader = new URLLoader(); //intance of URLloader class used to XML file
    var totalSWF:int; //hold the total number of external swf there is to be loaded
    var mainContainer:MovieClip =new MovieClip();//act as the main container
    var SWFContainer:MovieClip; //hold the loaded SWF as it's child
    var swfLoader:Loader; //instance of loader class used to load the external swf
    var myCounter:int = 0; //used to track how many external swf has been loaded and added to stage
    var bgImageURL:String;//hold the url of the background image
    var imageLoader:Loader;//intance of loader class used to load background image
    // Stage Setting
    //========================================================================================
    this.stage.align = StageAlign.TOP_LEFT;
    this.stage.scaleMode = StageScaleMode.NO_SCALE ;
    this.stage.displayState = StageDisplayState.FULL_SCREEN;
    //load the xml file
    //======================================================================================== ==
    xmlLoader.load(new URLRequest("FlashBlock[s].xml"));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , processXML);
        myXML = new XML(e.target.data);
        bgImageURL = myXML.Background.text();
        SWFList = myXML.BLOCK;
        totalSWF = myXML.BLOCK.length();   
        doSizeUpMainContainer();
        loadBackgroundImage();
    function doSizeUpMainContainer():void
        //resizing the mainContainer dimension
        //in this case i just make the size the same as the screen dimension
        addChild(mainContainer);
        mainContainer.graphics.beginFill(0xFD562D, 0);
        mainContainer.graphics.drawRect(0,0, stage.stageWidth, stage.stageHeight);
        mainContainer.graphics.endFill();
    function loadBackgroundImage():void
        //load the background image
        imageLoader = new Loader();
        imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onBgImageLoadComplete);
        imageLoader.load(new URLRequest(bgImageURL));
    function onBgImageLoadComplete(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, onBgImageLoadComplete);
        mainContainer.addChild(imageLoader.content);
        imageLoader.x = (stage.stageWidth - imageLoader.content.width)/2;
        imageLoader.y = (stage.stageHeight - imageLoader.content.height)/2;
        loadSWF();
    function loadSWF():void
        swfLoader = new Loader();
        swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE , swfSetting);
        swfLoader.load(new URLRequest(SWFList[myCounter].@source));
    function swfSetting(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , swfSetting);
       SWFContainer = new MovieClip();
        mainContainer.addChild(SWFContainer);
        // i did this so i can resize the movieclip size to what i need..,
        SWFContainer.graphics.beginFill(0xff6633, 0);
        SWFContainer.graphics.drawRect(0,0, Number(SWFList[myCounter].@width), Number(SWFList[myCounter].@height));
        SWFContainer.graphics.endFill();
        SWFContainer.x = SWFList[myCounter].@left;
        SWFContainer.y = SWFList[myCounter].@top;
        SWFContainer.addChild(e.target.content);
        //load and add another SWFContainer untill all swf listed in the swf added
        if(myCounter < (totalSWF-1))
            myCounter++;
            swfLoader = null;
            loadSWF();
    i really do not have any idea why this could happen and how to solve it..,
    any help would be greatly apprecited cause i'm literally meeting a dead end with this bug..,

    hello there kglad,
    thanks for responding in this thread..,
    i did what you told me :
    i did check all of my loader instance till myLoader.parent.parent.parent and it return 1 for every single one of them
    but by removiing the "this.stage.displayState = StageDisplayState.FULL_SCREEN;"
    i do get new error which is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at slideshow_fla::MainTimeline/doAspectRatio()
    well from what it tokd me it came from my slideshow swf..,(this swf also fully code and has nothing placed on stage by manually)
    the thing is in my mine swf code i never refer to what external asset property, i just told to load it and when the load is complete i put it in the display list..,
    from googling i suspect that it played to early beacause i put the script in the first frame of the timeline of slideshow.swf
    and for the moment i'm trying to find what error do cause it..,
    (but why this didn't happen all the time??)
    here is the slideshow code:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    import flash.display.*
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    //list of global variables
    var mySlideSpeed:Number; //determine how long each image displayed
    var myTransitionName:String; //the name of the transition to be used
    var myxmlList : XMLList;//reference to the list of the image
    var myTotal:int;     //total of image to be displayed
    var myImage:Loader;//load the image into the container
    var tempWidth:int;
    var tempHeight:int;
    var myTraansitionInDuration:int = 2;//the duration of transition in effect
    var myTraansitionOutDuration:int = 2;//the duration of transition out effect
    var myThumbHolderArray : Array = [];//to hold each thumbimage of the image
    var Counter : Number = 0; //to count how many image has been successfully loaded
    var myMC : MovieClip = new MovieClip(); //as the container of the picture so that it can be manipulated with transition manager
    var container: MovieClip = new MovieClip();//hold the image after transition
    var myImageTracker :Number = 0; //to know which image is in the stage
    var myTimer :Timer; //the timer
    var myTM:TransitionManager = new TransitionManager(myMC);//instance of transitionmanager class;used to give transition effect the image
    //creating the loader instance n loading the file
        var myXML:XML;
        var XMLLoader :URLLoader = new URLLoader();
        XMLLoader.addEventListener(Event.COMPLETE, processXML);
        var base:String = this.root.loaderInfo.url;
        base = base.substr(0, base.lastIndexOf("/") + 1);
        XMLLoader.load(new URLRequest(base + "slideshow.xml"));
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, processXML);
        XML.ignoreWhitespace = true;
        myXML =new XML(e.target.data) ;
        mySlideSpeed = Number(myXML.transition.@slidespeed) + myTraansitionInDuration + myTraansitionOutDuration ;
        myTimer = new Timer (mySlideSpeed*1000);
        myTimer.addEventListener(TimerEvent.TIMER, imageRemover);
        myTransitionName = myXML.transition.@name;
        myxmlList = myXML.IMAGE;
        myTotal = myXML.IMAGE.length();
        imageLoader();
    function imageLoader():void
        for (var i:Number = 0; i < myTotal; i++)
            var imageURL:String = base + myxmlList[i];
            var myLoader:Loader = new Loader();
            myLoader.load(new URLRequest(imageURL));
            myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete)
            //transfering each thumb image loaded to a variable to be able to be refered back when the show is running
            myThumbHolderArray.push(myLoader);
    function onComplete(e:Event):void
        Counter ++;
        if(Counter == myTotal)
            e.target.removeEventListener(Event.COMPLETE, onComplete);
            showStarter();
    function showStarter():void
            addChild(container);
            addChild(myMC);
    //        myMC.x = container.x = myMC.y = container.x = 0;
            doAspectRatio();
            imageSlider();
    function doAspectRatio():void
        for (var i:Number = 0; i < myTotal; i++)
            myImage = Loader (myThumbHolderArray[i]);
            if (myImage.width > myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                //supposedly to access the container dimension holding this swf as it's child
                myImage.width = this.parent.width;
                myImage.height = (tempHeight * this.parent.height)/tempWidth ;
            else if (myImage.width < myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                myImage.height = this.parent.height;
                myImage.width = (tempWidth * this.parent.width)/tempHeight ;
    function imageSlider():void
        if (getChildIndex(container)== 1)
            swapChildren(myMC, container);
        myImage = Loader (myThumbHolderArray[myImageTracker]);
        myMC.addChild(myImage);
        //center the image
        myImage.x = (this.parent.width - myImage.width)/2;
        myImage.y = (this.parent.height - myImage.height)/2;
        if (myTransitionName == 'Fly')
            myTM.startTransition({type:Fly, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn, startPoint:7});
        else
        if (myTransitionName == 'Zoom')
            myTM.startTransition({type:Zoom, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        else
        if (myTransitionName == 'Photo')
            myTM.startTransition({type:Photo, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn});
        else
        if (myTransitionName == 'Squeeze')
            myTM.startTransition({type:Squeeze, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn, dimension:0});
        else
            myTM.startTransition({type:Fade, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        myTM.addEventListener("allTransitionsInDone", holdDelay);
    function holdDelay(e:Event):void
        this.removeEventListener("allTransitionsInDone", holdDelay);
        myTimer.start();
        container.addChild(myImage);
        if (getChildIndex(myMC)== 1)
            swapChildren(container, myMC);
    function imageRemover(e:Event):void
        myImageTracker ++;
        if (myImageTracker == myTotal)
            myImageTracker =0;
        imageSlider();
    and by the way can you tell me the reason you told me to remove "this.stage.displayState = StageDisplayState.FULL_SCREEN;" line ??

  • ImporterProcessServer.exe has stopped working - width/height too large

    I'm getting this error everytime I try importing a video that I got converted from a BetaCam tape.  I have the movie in Microsoft DV Codec and Quicktime DV Codec.
    The first thing that happens is this error pops up with the following details:
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    ImporterProcessServer.exe
      Application Version:    0.0.0.0
      Application Timestamp:    491896d7
      Fault Module Name:    MSVCR80.dll
      Fault Module Version:    8.0.50727.3053
      Fault Module Timestamp:    4889d619
      Exception Offset:    00008aa0
      Exception Code:    c000000d
      Exception Data:    00000000
      OS Version:    6.0.6001.2.1.0.256.1
      Locale ID:    2057
      Additional Information 1:    a388
      Additional Information 2:    cb1346f285b14b60ce06bcb7640ef607
      Additional Information 3:    7188
      Additional Information 4:    c8538bb25c54d271cb1dde4a6dfbc4e0
    Then a dialogue box pops up that says
    File Import Failure
    File video dimensions ( width/height ) too large.
    I have no troubles importing files I've used previous to this project.
    I'm using CS4 4.0.1
    Vista Ultimate.
    Many thanks for any help and advice.
    Kind Regards,
    Clint

    Hi Hunt,
    Thanks for the reply.
    Initially I was using a simple PAL DV setting, but once I got the error I tried using larger project settings with no luck.
    The source video was provided in two formats, for any compatitbility issues so it's the same video.... One is the QT and one is the MS AVI.  The frame size of the video is 720 x 576 and 25 fps. Each file is around 27 GB and just over 2 hours long.
    It's wierd, Premiere won't import either files, After Effects crashes but Encore brings it right in.... if only I didn't need to do a bit of editing.  I'm not sure of the program that did the conversion, but we had it sent off to a studio because the source footage was on Digital BetaCam tape and I'm guessing it was originally captured in Avid, but who knows.
    Any suggestions?
    Thanks,
    Clint

  • Page Orientation Automatically Changes on Changing Page Width & Height

    Problem in Crystall Report 2008
    If I change the Page Width & Height of report in Page Setup, page Orientation Automatically Changes according to the width of page.
    Is there any way to avoid this or this is Bug in Crystall Report 2008 ?
    Is there any way to avoid this serious problem ? Programatically in .Net or In Crystall Report 2008
    Designer ?
    Is this a know Bug ?
    Solution Please..

    The issue can be divided into two problems:
    (1) CR automatically change the orientation according to the page size
    (2) Print result is wrong when the orientation is automatically changed
    For (1), this doesn't have an effect in the design of the report, in fact, if you try the same operation in Microsoft Word 2007, you can perceive the same behavior.
    For (2), this is the really crucial problem.  Itu2019s not fully fixed in SP2, this is currently planned to be addressed in SP3.
    There may be a possibility that you can get your hands on a patch instead of waiting for SP3.  Open a support case, if you don't have a maintenance contract you can purchase a single case of support from here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    If support determines the issue is a product defect you can be refunded your case.  Reference this escalation number in your case: ADAPT01244707

  • Measure a particular Layer Properties (width & height) through coding

    Hi,
         I am working on the Apparel Model images. Everyday we work with different models. Once done with the shooting process, we  make the required correction on it so obviously we come across height issues at the retouch (Photoshop CS5) end.
    The following steps will describe the process on how we do it. We have a template for the image cropping (Template's Width X height: 3700 X 5000 pxls). Usally we used to drag the template to the apparel images then will make a proportianate tranform for the template according to the model's height and crop it. this is what we are doing in the manual process. We have an idea of creating a script for this category. the same steps will be executed by the script. First Select the appropriate folder which will be processed by this script. application will open the images one by one. Steps: Open the Template image, copy and paste it on the another document. According to the Model's height make a proportianate transform to the template layer (In this step, we need to know about the particular layer properties for ex: (if the activeDocument's height is 3000pxls. the tranform will happen proportianately to the template layer).
    My Question is How do we measure  a particuler layer properties and how to access it through coding?
    My Second Question is : How do we get the properties data and how it will be applied through coding?
    I am waiting your reply.
    thanks,
    Rajiv.s 

    Open the Template image, copy and paste it on the another document.
    Copy/pasting via Script is not such a great idea, the method duplicate may be a better fit to duplicate a layer into another file or group.
    My Question is How do we measure  a particuler layer properties and how to access it through coding?
    Layers habe a property called bounds, this describes the left, top, right and bottom coordinates.
    It may be prudent to set the unitRulers via the Script to make sure they are always the same units (px, pt, mm …).
    #target photoshop
    var theBounds = app.activeDocument.activeLayer.bounds;
    var theWidth = theBounds[2] - theBounds[0];
    var theHeight = theBounds[3] - theBounds[1];
    alert ("layer is " + theWidth + " x " + theHeight);

  • Need to find "real" width/height of loaded SWF

    So, I'm creating a player that will eventually be able to
    play back both FLV and SWF files. While testing the SWF
    functionality, I noticed some funkiness with resizing the SWF once
    loaded into a movieClip.
    Yes, I already do know that loading (via MovieClipLoader)
    needs to have finished before I can get the actual width and height
    of the SWF in question... that's not the issue.
    The issue is that I will not know ahead of time what the SWF
    dimensions are. Which should be ok, as long as I can get accurate
    dimensions after the SWF has loaded. However, I do not have control
    over the source SWFs - they could come from anywhere (many content
    providers), and in the event that the remote SWF uses masking, the
    width and height may not quite be accurate.
    Here is an example - as a test, I have my player load
    http://www.magicarchive.com/jawsbunnies.swf
    into a movieclip via MovieClipLoader. Peachy-keen, it works. I then
    want to resize the movieclip to be 400px wide by 300 tall. Doing
    this by setting _width and _height (or _xscale and _yscale) makes
    the visible area of the movie too small because of masking or
    whatever (before scaling, tracing _width and _height on the source
    movie shows width = 856.4 and height = 637.45... after resizing the
    swf in a movieclip to 400wide x 300 tall, the actual visible movie
    seems to be more like 334wide x 254tall). I can't even center the
    smaller-than-I-want-it-to-be clip because I can't determine its
    real width.
    So, how might I find the "real" width/height of the visible
    area? Is it a case of requiring some accompanying metadata from my
    SWF providers? I've also tried using hitTest, and while the hitTest
    area is slightly smaller than the width and height, it is still
    slightly larger than the real visible dimensions, so testing the
    hittable area to determine the visible area won't work, either. I'd
    like to try determining SWF dimensions without having to bother
    providers, though.
    When I put this same SWF into an HTML page with Dreamweaver,
    it automatically sizes to 720x540, which seems to be the "real"
    visible dimensions. How do I get to those dimensions once the SWF
    is loaded into a movieClip, though?
    Thanks for any help.

    Doh. I read in another post that "there is no way to
    determine what size at which an SWF was exported".
    So, there is no way I can determine the real visible
    dimensions of an SWF I have no control over?
    It seems like there SHOULD be a way to do this - since for
    example, if I embed an SWF into an HTML page (via Dreamweaver),
    Dreamweaver automatically determines the correct "Stage" size. This
    is what I need to do, only within AS...

  • File video dimensions (width/height) too large

    I cannot impoty any file of any type into my time line.  I was having some issues with crashing, ended up upgrading my OS to snow leopard, and then reinstalling all my adobe products. Now all of my media is showing up as off line, when i try to relink anything, jpg, psd, ai, and all video files, i get the error "File video dimensions (width/height) too large".  I really do not want to start over and re edit everything I have ever done, and i am not even sure i can do that at this point, as it also happens when i try to create a new file.
    does anyone have any other fixes?  Please Help, I am going insane. 
    I have CS4 Production Premium.
    OS Snow Leopard.
    Mac Pro, 8 core.

    Hi,
    What kind of video files are you working with ?
    I did a google search using ---- file video dimensions ( width/height 0 too large ---  and most of the info I looked at in the search results is about files ( still images mostly ) that are larger than 4000 x 4000 px.. which is a limit for the NLE....but some results were about using cineform codec and matrox graphic card and some stuff about nero and so on....so I would guess the more info you can give about what you have and have done the better...
    Rod

  • Width*height vals changing in save for web ??

    Hi all
    I've opened an EPS file in illustrator cs4. And its width & height values are differing with width & height values in "save for web" option.
    For example, normally in width & height boxes shows as
    width : 247.499 pt
    height : 116.524 pt
    but in save for web
    width : 249
    height : 117
    I've checked with various figures too.

    Script lan : javascript
    thanks for ur help!
    Actually I've to resize the figure for the width 175, 525, 1400 and the height should change proportionally. So I tried, but I couldn't resize the figures using save for web. Becoz its horizontalScale & verticalScale treats values as percentage. eg. 175 treats as 175%. Then I grouped all items and changed its "width" and foud out the values' corresponding "height" values. But the problem is, exported file's values are changing nearly 3pts.
    could u help on this?

  • APIs for Adobe Reader to get the x, y co-ords,width,height of all elements (text/image) in a PDF doc

    Hi all,
    I have written a Acrobat plugin using  PDFEdit APIs to extract x, y co-ordinates, width and height of all  elements(objects) in a PDF document.
    Now, I wanted to make the same working on Adobe Reader.I have added the READER_PLUGIN macro enabled in Project settings.
    When I re-compiled the code, I got a bunch of errors saying all PDFEdit APIs are not available under Adobe Reader.
    My  objective is to parse through the entire PDF document and get x, y  co-ordinates, width, height of all PDF objects (especially Image and  Text objects).
    Can anybody help me how to achieve this ?
    Thanks
    Prasanth

    I know that we cannot obtain the PDEContent of a PDF page from Adobe Reader, as PDEContent is modifiable content and as such it cannot be accessible from Adobe Reader.
    Also, as PDFEdit API's does not work for Adobe Reader, we are trying to figure out a way to achieve this for Adobe reader.
    I am curious to know if the COS APIs can help us in this task.
    I tried to read the stream content using PDPageStmGetToken API. I get the data of this format:
    344.88 0 0 91.44 71.882 41.92cm
    Here, as per PDF reference, I am getting only distance from X Axis and distance from Y Axis. But not width and height.
    Can you knidly let us how to get the image attributes (primarly read only attributes like x and y co-ordinates, width and heoght) with Cos APIs.
    Thanks
    Prasanth

  • How to set width/height of iPad app in ipa file

    Hello,
    I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
    I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
    Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
    Any help?
    Tanu

    hi,
    How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
        <id>IPadApp</id>
        <filename>IPadApp</filename>
        <name>IPadApp</name>
        <version>v1</version>
         <initialWindow>
            <content>IPadApp.swf</content>
            <fullScreen>true</fullScreen>
            <autoOrients>true</autoOrients>
            <title>IPadApp</title>
            <aspectRatio>portrait</aspectRatio>
            <systemChrome>none</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <!-- Portrait -->       
            <width>768</width>
            <height>1024</height>       
            <!-- Landscape -->
            <!--
            <width>1024</width>
            <height>768</height>
            -->
            <!--<x>100</x>
            <y>100</y>-->
            </initialWindow>
        <supportedProfiles>desktop mobileDevice</supportedProfiles>
    <iPhone>
      <InfoAdditions>
      <![CDATA[
        <key>UIDeviceFamily</key>
        <array>
        <string>2</string>
        </array>
      ]]>
      </InfoAdditions>
      </iPhone>
    </application>
    Check your desc. file.
    -Vrushali

  • BUG or Feature?   Width & Height in Top Bar only in %, not in Pixel no Chance to change this

    Hello
    --- First: Please, im very sorry for my bad spelling - english is not my native language! Hope u can understand, what i mean. If it sounds bad or yelling someone - its not my intention! ---
    My Question:
    If i do Strg+T with a layer (ie. image or shape) in previous version you have the width & height in top bar and can easily read it or change when typing a new value in. With right mouse (Win) you can change % in px or em etc.
    In my Photoshop CC 14.2 i have only % and cant change this.
    If i try to read the dimension i can only see it on the info-panel.
    Its confusing. Is it a Bug or Feature?
    MJ

    anyone?
    .... alone ....

  • Crop Aspect Ratio, width, height, resolution locks up

    I am running PSE6 on an XP PC platform.
    This anomaly happens about 75% of the time.
    After processing a batch of raw images in Camera Raw, highlighting them and clicking on Open Image to open the converted images in PSE, I sometimes find I cannot open the Crop Aspect Ratio selection drop-down box.  Nor can I type in changes to Width, Height, and Resolution fields--I can, however change the values by using the sliders that appear when I mouseover the Width, Height or Resolution titles, but even that's limited--whatever is to the right of the decimal point remains unchanged.
    I've also experienced this Crop "lock-out" when just opening JPEG/TIFF/PSD images directly from the image file folder.
    The only way I have found to clear this anomaly has been to close and reopen PSE.  Today, for the first time, that didn't fix the problem.  It came up with Crop locked up.
    Has anyone else run into this?  If so, what, if any, solution is there?
    Thanks,
    dale

    First try clicking the little arrow at the far left of the options bar and choosing reset tool. If that doesn't do it, quit the editor, then restart it while holding down ctrl+alt+shift. Keep holding the keys till you see a window asking if you want to delete the settings file. You do.

  • How to export layer width, height, and position to a text document?

    I am working on an automated workflow for which I need to know the exact width, height, and position in pixels of certain layers in a PSD.
    I am pretty sure this is possible with applescript but does anyone know of a way to have this info included automatically in the documents metadata?
    thanks,
    ryan

    Hi Gabriele - how did you add the subs to FCP? if you added them using the text tools built in then you need to try to extract those first. Neither FCP or DVDSP are good places to create subtitles, but apps like STL Edit and Belle Nuit are. These will both create subs that can be imported into DVDSP. You can also use a text file to import the subs as long as the text file is set up correctly. The precise format is listed in the manual for DVDSP and a tool like BBEdit is ideal if you want to do the subs this way. Some folk even use Excel to set up the timecodes, etc, but personally I find that too distracting, preferring to work with STL Edit when I need to add subs.
    One thing is almost universally agreed upon in here - create the subs outside of DVDSP and import them in, since if you need to move, alter or otherwise change them it is a lot easier from within a text file than from within DVDSP.

Maybe you are looking for

  • EMP Sales ORG in MobileClient

    Hi, When we are creating OPP/ACT and when that replicates to CRM online we are getting an erorrs asking for 'sales group'. I checked the EMP sales org. We assigned the EMP to Sales Area and not to the sales group under sales area. Right now in he tab

  • Front face camera won't work for pictures. But it works perfectly on FaceTime, any way of fixing this?

    Front face camera won't work for pictures. But it works perfectly on FaceTime, any way of fixing this? When I try and change the camera to face front it acts like it's going to change then kind of freezes and won't let me change back to the back came

  • Error in DTW while importing Employee master

    Hi,   While importing employee master data the following error is displaying The field is too small to accept the dataoemployeesinfo. can anybody help wht this error stats. Regards, C.Rajesh Edited by: Philip Eller on May 26, 2008 8:39 AM

  • Problem using Ribbon Workbench to disable adding from subgrid

    Hi, I'm not sure that I understand how the Ribbon Workbench works for the add button on subgrids.  On the contact form, I have an n:n relationship for a custom entity called Contact Group.  I want to disable the add button for Contact Group based on

  • Exit for profit centre

    Hi Friends, My requirement is if i enter wrong profit centre value during sales order creation, system should displays the error that stops the sales order creation. How can i achieve this. Please let me know which exit to fulfill the above requireme