Sizing InlineGraphicElement bug

When InlineGraphicElements width or height are set to "auto", sovereign wealth funds have unexpected proportions. Looks like they're trying to be square, instead of using the width and height of the DisplayObject.

var graphic: DisplayObject = new MyEmbeddedSwf();
var ige:InlineGraphicElement = new InlineGraphicElement();
IGE.source = graphics;

I submitted a fix for the problem of automatic size. It will be in build 381 and later versions.

Thanks again for the code example.

Tags: Adobe Open Source

Similar Questions

  • Bug in InlineGraphicElement with integrated resource

    set of resources integrated into the InlineGraphicElement source does not show until a real editing operation occurs
    CBC:
    var ball: InlineGraphicElement = new InlineGraphicElement();
    Bullet.source = "" http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg "; "
    new bulletClass();
    Bullet.Width = 15;
    Bullet.Height = 15;
    var pf:ParagraphFormat = new ParagraphFormat();
    pf.marginLeft = 20;
    pf.textIndent = 0;
    p.paragraphFormat = FP;
    var sp:SpanElement = new SpanElement();
    sp.digitWidth = '10';
    sp.fontFamily = 'courier';
    sp.fontSize = 10;
    sp.textAlpha = 0.1;
    TPI Text ='. ' ;
    p.addChildAt(0,sp);
    p.addChildAt(0,bullet);
    _textFlow.flowComposer.updateAllContainers ();

    ....'
    private void graphicStatusChangeEvent(e:StatusChangeEvent):void
    {
    for each (var bm:bulletMap in map)
    {
    If (WB. Bullet is e.Element)
    {
    trace ('found');
    bm.para.textIndent = .actualWidth - (bm.bullet)-12 InlineGraphicElement;
    _textFlow.flowComposer.updateAllContainers ();
    }
    }
    InlineGraphicElement (e.element).graphic.addEventListener (MouseEvent.CLICK, onBulletClick);
    _textFlow.flowComposer.updateAllContainers ();
    }

    If I replaced embed source normal URL, it loads and displays correctly.

    Any idea about it? A bug?

    FYI: What's happening here is that the composition is the recursive way. With the embedded graphic State is set when the first call to updateAllContainers and then him recursively event handler calls updateAllContainers. That confuses the composer.

    Rather than requiring the appellant to understand that I am adding a Boolean value to the composer while calls such as updateAllContainers etc. simply revisit the recursive calls. This is the example to work.

    It'll take some time to fix it for seep through the system and displayed.

    Note that simply adding your own values Boolean around the first call to updateAllContainers may not work well. You will need to also call dial again if you see a recursive call - there is an internal change more to do with a delayed handling change of format in the event handler.

    By the way you use a version old enough - I think it would be interesting to update on buid 370.

    Richard

  • LinkElement, InlineGraphicElement + SelectionManager bug

    If you have an image that is used as an anchor (link), you are supposed to be able to click on the image to start link processing. However, if you have a SelectionManager in your TextFlow, things do not work 100% as they should.

    Specifically, if you try to click the link by moving the cursor of your mouse directly over the image (which means without touching any other text that may be part of the binding of all that is < a href = "foo" > aaa < img source = "...) ("/ > bbb < /a >... do not touch aaa or bbb with your cursor), then the image is not a link.

    However if you move the cursor of your mouse over the rest of the text in the link just before moving the mouse on the image, the image answers at the click of a link (that is, drag your mouse from left to right through the aaa, and directly on the img).

    I have attached a simple example program that demonstrates this problem, but you should take the car to go the mouse that I described in the post.

    I use Gumbo 5032 TLF 277.

    If someone can you please confirm this as a bug, I'd appreciate it.
    Thank you
    Tim

    I am able to reproduce this. Thanks for posting the code example! I'll make sure it gets looked at.

    I see the problem as long as it's even worse than describe you. When the SelectionManager is added, the image does not work for binding at all.

  • Put pictures in double in a music video composed with movement (error/Bug)

    I am running FCPX on El Capitan 10.11.2 10.2.2 - system specs are: MacBook Pro (15-inch, mid-2014 retina) 2.5 GHZ i7 / 16 GB of DDR3 memory

    Context: I took photos 71 (6000x4000px each / .jpg) that were placed on my calendar FCPX to serve as the beginning of the period of night movie.

    The problem: Because I only took 71 pictures and I needed about 4 x that I had duplicate the Group of 71 photos 4 times to fill the void and coincide with the music. Also, because I wanted to add some type of movement to the clip, I decided to put all the pictures of 284 in a compound clip and add Ken Burns. When I do that the framework 'reset' at the end of each photo 71 defined (which are nestled in a clip made up with the other pictures). It becomes a very shocking experience with framework re-sizing very suddenly back.


    Here is a video that I uploaded which shows the frame break: https://youtu.be/ZPgPybpi4YQ

    Here's my workflow leading to the jump frame: https://youtu.be/22S-LSnheEI

    Troubleshooting: I read that I should not use the pictures that were larger than 4000px so I resized pictures of 4000x2000px and the same thing happens.

    Is this a bug FCPX? Is there anything I can do to avoid this frame break?


    Update: I'm sure that it's a bug because when I tried again (for the 10th time) he's just playing smoothly and the pan have crossed without fault the clip; However, when I tried to play through it for the 11th time, the pan started jumping at the end of each series of 71 photos (in the compound clip).


    Thank you

    Mike



    What is the sequence look like before you take the compound? And what happens if you use a real Ken Burns effect rather transformation animation?

  • Rendering bug

    Hello world

    today I faced a system bug: only half of a BitmapField is rendered on the screen. I know that BB is full of bugs, and it is not the first time that I met.  Maybe some of you know how to defeat it or possible reason? Is there a bugtracker where I can get or report this strange behaviour?

    Since it is a PopupScreen, it has a default theme that can be fly you scren space. However, I suspect that you have a custom/sublayout layout somewhere in your code. What is delegated to your PopupScreen and it is a custom Manager?

    [Edit] Oh and define to what extent does not help your placement on the ground and sizing PopupScreen - it just redefines the surface occupied by the screen (previously calculated in sublayout of the screen). You must deliver super.sublayout (360, 480) and make your screen USE_ALL_WIDTH | USE_ALL_HEIGHT in order to make the screen correctly calculate the positions of its fields.

  • Automatic resizing of the pop-ups of sizing does not correctly after you convert the project RH9 RH10 until.  Any ideas?

    We went just at RH10 (upgrade came with the Adobe Technical Communication Suite 4 upgrade).  We have successfully converted four projects that had come from RH9 to RH10.  I think my only problem is that all my popups that have been configured to open it in the topic as "display in the sizing Auto popup" are open as if they were under "default page" (see image map screen below):

    Popups_Not_Autosizing_RH10.gif

    We run IE9 and Windows 7 ops system browser.  These pop-up windows worked well and is size so that we can click out of them and go back to the main topic before we converted the project.  ANY IDEAS?

    P.S. I tried already to remove the option of automatic resizing of popup display, then by saving the topic, then change back and nothing happened.  I do not change my css or the master page that popups were assigned and that worked before the conversion.

    Thank you!!  I wonder if I'll have to redo any mapping of the image to each of the popups in order to get the autosizing popups to work.  Please notify.

    Post edited by: DNCopeland I discovered another employee who has already climbed to the RH10 could open the same project and see the pop-ups that open as automatically resized for her, not as a page by default the entire window because they are for me.

    Sorry to barge here, but I wanted to pass along my experience with this bug.

    I found this automatic resizing (or custom also) pop-ups in image maps have been works well in Rh9 and broken in Rh10 in the Topic Previewer (glasses icon) BUT NOT in the real WebHelp output.

    Yes, DHCopeland, are statement that you see in the viewer section, or have tried to generate and display in actual production?

    I always test if there is no improvement after installing 10.0.1 HR patch. So far, it seems that the patch does not address this bug. I'll try another machine.

    John Daigle

    Adobe Certified RoboHelp and Captivate instructor

    Evergreen, Colorado

    www.showmethedemo.com

  • Web scaling of display - confirmed the bug

    Although it does seem that many people are experiencing this problem, Adobe have been able to reproduce the problem I've had with graduation unexpectably html content when the display of web pages is created in an indesign file 'retina', IE create a folio 1536 x 2048, or 640 x 960, the content of the web scales notice about 200%. Place the same view of the web, with the same content, in a folio of res std, such as 768 x 1024 and the display of web pages content is perfect. Strange but true!

    See you soon

    Alistair

    There is already a bug logged for this: "Images are not be properly sized in overlays in web content on a device of the retina.

  • Copy, paste and sizing

    I recently upgradedto CS5 and find what was simple and smooth to now be quite a battle of flashing lines frusrating jerky and confusing behaviour.

    How do the sizing of a graph now a day? I get varying results doing the same thing, it is difficult for my old timer brain to figure out.

    Sometimes I drag a corner with the command option shift and works of semi, if I strain my concentration. Sometimes the graphic in the box changes position. And sometimes the framework encompassing adds a different layer to what color seems to be an envelope of distance outside the original color of the fill layer.

    Anyway, I met three different effects, trying to do something that was a wink until I upgraded. I have not yet been successful by changing the size drawing ofan Illustrator in InDesign.

    What I'm missing here?

    Thank you

    Garrett

    It should still work fine. There was a bug that popped up around CS3 on Windows that requires you to hold down the CTRL (Cmd on Mac equivalent) before clicking on the mouse, and I developed this habit. AFAIK this never affected the Macs, but it could not bad to try pressing your modifiers before dragging with the mouse.

  • macOS bug Sierra - Possible? (Terminal)

    I use the Terminal Df-h command to find the percentage of used space on the hard drive of my Mac, and I've noticed that since the upgrade to Mac OS Sierra; It came out that I used 0% (which may not be true); I was wondering could this be a bug and this is the case with anyone else?

    In fact, it is show you used 6% of disk space. 0 percent at the end relates the number of inodes that are used (data structures that manage the different metadata). Because you have so few files you are not yet using 1% of inodes, so he says always 0% are used.

    So, no, no bug

  • Calendar Apple App Bug frozen works only with iOS 10 update grrr

    Since I updated to iOS 10 (more more later than 10.2, etc.), everything was not too bad except THE APPLE CALENDAR app, its deiving me crazy when I click on the app it's like it freezes and past shift x 50 mode still something to do with the calendar app will cause either a frozen or a black screen or white and then crashed ack to main menu. Sometimes it will allow me to create but will be trolling with typing and finally crashed or not even save it... Please HELP I am sure what else to do, I tried to download google calendar and which seemed to have something of bug he loves too then something happens. And I tried to delete it and download it again, / force delivery, nothing has changed

    Hi there calsparks!

    Thank you for bringing your question on the calendar of freezing and trolling since the update to iOS 10 on your iPhone for Apple Support communities.  I rely on the calendar to keep my life organized, so I'm happy to help you resolve this issue today.

    Looks like you did a few good troubleshooting by force to leave the app, force to restart the iPhone and deleting and reinstalling the application calendar.  At this stage my next recommendation would be to backup your iPhone, then erase and restore your iPhone as a new device, then test calendar to see if it behaves correctly, and then restore your backup.

    The backup of your iPhone, iPad and iPod touch

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod to factory settings

    Restore your iPhone, iPad or iPod touch from a backup

    Have a great day!

  • iPhone restore backup encryption bug in iTunes

    First the details of my system:

    El Capitan 10.11.6

    iPhone iOS 6 10.0.2

    iTunes 12.5.1.21

    Steps to reproduce:

    1 backup the by using the encrypted password (current running iOS 10) iPhone

    2. once the backup is complete change password encrypted from A to B

    3. restore the iPhone using the backup.

    The backup cannot be restored with A password or password B.

    I think that most people would say I forgot the password B. You would be a mistake. Password B was stored in my keychain and it wouldn't work. To check that I had the correct password, I downloaded a password free utility cracking. For some reason, these utilities are available for Windows only. I used the utility of tenorshare. Since I was sure I knew the password, I used boxes of prefix and suffix of the utility to verify that the password is correct. The utility shows you only the first 2 characters of your password once he finds her. Since I am sure that I knew the password, I put the first 7 characters of the password in the prefix box password and he assumes that the last of them (which I knew that). Then I put the first 6 characters of the password in the prefix area of password and the last character in the zone suffix and guess the second to the last character (which I knew that too). In both cases, he finds the password, which confirmed that all my characters were correct, but iTunes would not accept. At this point, I was convinced this is an Apple bug, so I googled some more and found this blog https://deciphertools.com/blog/ios-10-backup-password-incorrect/ which confirms:

    "If you recently changed your password backup in iTunes, and iTunes is now reports that 'the password was incorrect' when you try to restore this backup, then we may be able to help."

    There is a small problem affecting backups iOS 10 - sometimes changing password causes backup the password being rejected (both new and old passwords) when you try to use the backup that you did. »

    I was able to solve my problem of password associated with the procedure.

    My backup was too important to wait for a solution possible iTunes. Apple should recognize this problem and have a fix as soon as POSSIBLE.

  • IOS 10 keyboard bug

    There is a bug at the moment where the software keyboard when my iPad Pro running the latest iOS (from today 06/10/16) displayed in the bad sense.  It happens as follows:

    I'm holding the iPad in Vertical Mode (Home button down) and I'm on the home page of apps.

    I pull down from the center of the screen to access frequently used applications.

    As soon as these applications appear that the software keyboard appears also, but in fashion landscape on the left side of the screen. It crashes me out to make a choice of app and I have to tilt the iPad to type the first letters of a couple of my app type laterally in the wrong way.

    Expected behavior: in a vertical position the keyboard should be popping up by underneath the screen, applications frequently used at the top of the screen and there is no occlusion.

    If someone has corrected it somewhere, I'm all ears, but I expect that what needs to be fixed with some magical-spackle code.

    Thank you all!

    Hello. You have restarted your iPad since the last update? Here's how

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo.

    What you describe works normally for me on iPad Air with iOS 10.0.2, so it looks just a curiosity for you. By the way, is your Pro model 9.7 to 12.9 inches?

  • Bug in iOS Schedule 10: jumps to two months

    Presently I found what seems to be a bug in iOS 10 calendar: sometimes, when choosing a certain day in the month view + list of activities below, the real selected jumps from day to another month, which is currently not displayed on the screen. Then the red circle suddenly disappeared from the current month and jump out of view to a different month (usually 1 month in the future).

    Anyone else having this problem? I use iCloud for calendar synchronization.

    I did not have this experience so far.  This - try restarting your iPhone, iPad or iPod touch - Apple Support

  • Numbers 4.0 - Bug with default date when entering the time alone?

    I've just updated to 4.0 numbers after upgrade to Mac OS Sierra and met with what seems to be a bug.

    Previously when I enter a time in the format hh: mm in a cell that has the format of Date and time, it would create the date date of the day, because none has been provided explicitly. It is the behavior expected according to this support article:

    If you do not enter a date and a time, Numbers adds a default value for you. For example, if you type '13:15 ', Numbers adds today's date by default.

    What happens now in numbers 4.0 for me when I get home just a moment, is that it gives me 01/01/2016 as the date, which is a huge pain, because I rely on the fact that the date is (or should be) today's date by default when you enter data in my spreadsheet and right now that means I have to manually change each date by hand to be released today.

    All confirm that this behavior occurs in numbers 4.0 (Build 3507)?

    Thank you

    Michael

    Here is what I get here after typing 13:15 in numbers 4.0 under Sierra:

    I left the Format of data in automatic mode, but get the same result when the format Date and time.

    It might have something to do with your region settings in system preferences (I'm using the default values for the United States).

    Have you tried numbers, reboot and try in a document of closing costs?

    SG

  • activation iPad 9.3.5 blocking bug

    Sorry if this thread in the wrong section, I can't find the section support or tag you,

    Ive updated my ipad 9.3.5 once ive power used for one day in empty battery.

    then it restarts and now im on this activation of the lock screen but my apple ID does not.

    screenshots:

    1. no language > This means I already configure it.

    2 NOTE: after 9.3.5 strings I could change the apple for a * s, even managed to download apps on it, then ipad ID drain its battery and restarted, it went to the lock of activation screen and does not my i.d.

    Ive tried to log a * s , but does not, so I thought he came back to the previous owners i.d.

    I heard that there is a bug like that when it updated to 9.x or older.

    a * 6 is my aunt apple id and the previous owner, we have already made contact with apple on the recovery of this apple ID (case ID: *), and we managed to get password reset e-mail. but still do not accept.

    I hope someone can help me with this, waiting for response from the apple support.

    < personal information under the direction of the host >

    MARK AS RESOLVED.

    another successful apple ID to unlocked it.

Maybe you are looking for