Parent.removeChild (child) is not updated Parent width/height when the child was shot

No idea why this is happening? I've been struggling with this during three hours now: - (.)

I had a Parent Sprite, call SpriteP, which held inside two other Sprites. Sprite1 and Sprite2.

When Sprite2 turned:

trace (SpriteP.width + ' ' + SpriteP.height); 100 250.

SpriteP.removeChild (Sprite2)

trace (SpriteP.width + ' ' + SpriteP.height); 100 200. -> works, 200 is good.

When Sprite2 is turned to 90:

trace (SpriteP.width + ' ' + SpriteP.height); 100 300. -> 300 because Sprite2 is turned.
SpriteP.removeChild (Sprite2)
trace (SpriteP.width + ' ' + SpriteP.height); 100 300. --> even if I just removed Sprite2!

Sprite2 is a rectangle. When I turn, of course, the height of its parent company, SpriteP, is GROWING. But I expect this height to go back to what it should be when I remove Sprite2!

And it does! If I remove Sprite2 while DO NOT tour, the height of the parent falls back to normal, 200. But if I rotate Sprite2, the Parent does not update its limits: - (.)

This is important because your explanation makes no sense.  If I don't understand what you're doing, I can't help you.

and, I think, if you can't explain what you're doing, you do not understand what you are doing and this is why you do not understand the results of your tracing instructions.

I could be wrong.  Maybe it's that you have discovered a bug in flash.  but it's very unliklely because I have not seen this problem before and I probably have more experience with flash 'issues' that the majority of experts flash (because of my activity in the adobe forums).

What would help, is to take a screenshot which shows your 3 sprites, unrotated and etiquette and another screenshot rotated, both until Sprite2 is deleted.

Tags: Adobe Animate

Similar Questions

  • Score editor {} why a musical note appears more than once when the key was pressed only once? (Image)

    Thus, for example, ringed RED notes are not affected at this time there, then why they arise after the GREEN circled notes, which are affected. It has to do with the length of the MIDI note or sustain? (I have the pedal which is held for the entirety of the song)

    Note, I'm seriously new whereupon on sheets of music, so I apologize if it's both obvious and a very simple solution. Thanks for the help!

    This has to do with the length of the midi note. Make sure you play on a click track (turn on the metronome) and slow down a little if necessary (tempo).

    Also turn on syncopation to eliminate some of the links and according to your needs... set the quantize to a lower value for example display 8.  You define quantize for the smallest value you want to play (if its 8th note - 8, then black - 4 then - sixteenth note 16 etc.).

  • Why have I not two selectable organization even when the pack was created in Creative Packager Cloud?

    Hello

    I have a problem when the pack was created in Creative Cloud Packager, there are two selectable 'same' organisation.

    The first one named "Centre professional of the Littoral Neuchâtelois" offered license type ' named ' or 'license of device.

    The other named "Centre professional of the Littoral Neuchâtelois" (ditto) offered only a license type "named license.

    My question is why do I have two organization?

    Thank you very much.

    Pellaton Roman

    It seems that your ID is associated with two accounts.

    We have an approval attached and the other has a license of creative teams of cloud (username).

    If you want to check more details about these accounts please contact customer service

  • I bought a laptop with a copy of the chrages of win 7 and won't let me not updated (didn't know at the time) if I buy the 8 victory will this solve my problem

    I bought a laptop with a copy of the chrages of win 7 and won't let me not updated (didn't know at the time) if I buy the 8 victory will this solve my problem

    You don't want to buy win8 until you have verified first this portable machine provides win8 drivers, or you ran the tool to advise win8 update.

    PS You are sure that your version of win7 is bad, or are you just a «can be victum msg»

    Your laptop has a restore partition hidden, from where you can restore you to factory State?

  • where to get a copy og pixela media broeser for not updating jvc hd camcorder, but the original copy

    can someone tell me where to get a copy og pixela media broeser for not updating jvc hd camcorder, but the original copy

    Check here:

    http://www.PIXELA.co.jp/OEM/JVC/MediaBrowser/e/

    Tom Ferguson

  • I realized that I had a message to update for a while then when I checked, I found that the app CC was missing. I downloaded and installed the application, but it will not update of software. In the creative cloud Panel, the only options I get are the Hom

    I realized that I had a message to update for a while then when I checked, I found that the app CC was missing. I downloaded and installed the application, but it will not update of software. In the creative cloud Panel, the only options I get are the Home tab to check the activity and the Stock tab. The applications tab is missing. How can I get that back so I can update photoshop and lightroom?

    Please, try the steps mentioned here https://helpx.adobe.com/creative-cloud/kb/apps-panel-reflect-creative-cloud.html

    Let me know if it works!

  • How to determine the width/height of the text

    Hello.

    I created the layout of text format and text flow.

    I must now determine the width/height of the container is adjusted exactly to the text.

    Is it possible to get the width/height of the text before creating the container controller?

    Thank you.

    It depends on what effect you are trying to get. If you want the text to go and not wind, you can set the width and height "Nan". To get the actual width and height that has been used, you call getContentBounds(). But if you wanted the text, you must select a thickness to wrap up in and then to get the required width used account height. If the latter case to work, you could create a controller with a width you specify, but let the height as "NaN".

    -robin

  • can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    original title: subject zootycoon
    my computer can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    Hello

    1. what version of Zoo tycoon you play?

    2. is it works much earlier?

    I suggest to run the game as administrator and check.

    I suggest you to follow the steps from the links and check out.

    Improve the performance of your computer game

    http://support.Microsoft.com/kb/815069

    The problems of the game performance

    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems

  • Every time I have get or send emails I get an error "the message could not be sent because one of the recipients was rejected by the server. 0x800CCC79.

    The message error message could not be sent because one of the recipients was rejected by the server.  No, Server error: 450, error number: 0x800CCC79 but the message is not in the sent box to remove.   I know that I used the wrong email address.   Error message is popping up every time I'm looking for or send emails.  Help

    Hello

     
    1. What on the computer email client do you use?
    2. who is your provider of mail Service?

    You can perform the methods provided for in article knowledge base provided if the problem is when you send mail in outlook.
    Troubleshooting error messages that you receive when you try to send and receive e-mail in Outlook and Outlook Express
    http://support.Microsoft.com/kb/813514

    If it's a hotmail issue, it would be better suited to the Windows Live community. Then I suggest you visit the link that will provide the best support.
    http://www.windowslivehelp.com/product.aspx?ProductID=1

  • Creative cloud does not start starting system even when the option to do so.

    Creative cloud does not start starting system even when the option to do so.

    This is an open forum, not Adobe support... Click below to contact Adobe staff for help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat support: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • Cannot install adobe creative suite 6, do not load and install further when the second cd is inserted (zip also does not work)

    Cannot install adobe creative suite 6, do not load and install further when the second cd is inserted

    This question is unanswered.

    artistichooves artistichooves February 6, 2014 06:31

    I've only had 3 programs installed with the two cd I got with my adobe creative suite 6 (edition education, student and teacher)

    It didn't load any further when I insert the second cd. (tried several times) on my windows 8.1

    I got a license number, but it does not work on the creative cloud

    I tried to download the zip file, but it did not work

    I have ragequited (sorry)

    and now I want to try again.

    -J' have the license but I can't use my cd or download the zip

    -are there a cd I can buy again or something?

    It seems that my series works more :/

  • Windows 7 Pro will be not updated for Windows: fails with the error code 1 (0 x 000000000000001), which is a problem of language pack, version __Pro DON 'T SUPPORT SEVERAL LANGUAGES '.

    Windows colleagues for support.

    My windows install/windows update is broken; There will not be security critical update, installers fail with the error

    code 1, indicating a problem with language packs; I use widows 7 pro for software development.

    Several lanagues packs are not part of windows 7. should I upgrade to ultimate for your problem?

    More sophisticated repair attempt, SFC/scannow indicates corruption, but cannot fix it.

    Hand, install the update package out of work.

    Your opinion is welcome. I have

    Hey Hey Hey Doc K whadu say?

    I solved my problem;

    the problem was owner and permission on my programs, all users, the program data and my programs (86).

    As I type this i / m re - run SFC/verify only and a big pile of sucessfully some updates installed.

    What have I done? I took possession of the special directories above from "TrustedInstaller".

    Even when owned by TrustedInstaller, it does not have permissions. Some places I found rejection specific to the owner of the network.

    -What happened? Do you have a trusted Installer get stuck Mid-install?

    I took possession of SYSTEM, and made sure the CREATOR had every right, as in the SYSTEM and

    USER, AUTHENTICATED USER. I was perhaps too broad.

    I took possession, and then all of the repressed, updates windows are presented themselves to install,.

    and I expect /VERIFYNOW SFC before as I mark this as running.

    I'm fairly certain VS2008 and VS2010 now repair and install.

    Hmmm... always to see funny error message in SFC...

    We need a tool to give an overview of a directory tree ownership and permissions.

    dB

    Hey Hey Hey Doc K whadu say?

  • U410 - cannot connect after Windows Update after restore factory when the time zone is not UTC-8.

    Steps to reproduce the error:

    1 use OneKey recovery to restore the initial factory settings.

    2. on the initial setup of Windows screen, select a time zone to UTC - 8, UTC (London)

    3. connect to Windows, open the Windows Update control panel and click on "Install updates"

    4 restart the computer to complete the update.

    5. on the login screen, try to connect or shutdown the computer.

    Result:

    Computer is blocked with the only desktop wallpaper and mouse pointer visible. Does not meet all the keys. By pressing the power button sleep machine. Press again on he wakes the machine in the blocked State.

    I have reproduced this problem 3 times for initial help restore every time.

    Wordaround:

    Before starting the factory restore processes, set the clock of system by 24 hours. After the end of the restoration of the factory, set the system clock to the correct time.

    Otherwise, wait 24 hours between a factory reset and try to install the Windows updates.

    Analysis:

    This problem is caused because of the way that Windows stores time. It assumes that the system clock is set to local time rather than UTC. When you use the OneKey recovery system he doesn't know what time zone of the system clock is set on, and so it assumes that it is set to UTC - 8. If it is in fact the UTC value, OneKey Recovery creates files with a time stamp of 8 hours in the future. This causes the Windows Update to fail.

    One step that I forgot to mention, that may be important:

    After the installation of the plant, during the initial configuration screens, I updated the time zone GMT London.

    Since the OneKey recovery uses GMT - 8, this can cause some files to have a timestamp of 8 hours in the future. Maybe if I waited 8 hours before the update of this problem would not occur. I'll test this by setting the clock system for 1 week in the past, make reset factory and then it retroactively to the correct date before the update.

    EDIT: Test successfully. This workaround works.

  • My windows will not update. It indicates that the service is not running.

    Updated Windows cannot currently check the updates because the service is not running.

    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: sfc/scannow

    This will check for any breach of integrity

    Restart your system Andre Da Costa http://adacosta.spaces.live.com http://www.activewin.com

  • Text fields are not sensitive to width/height? It seems obvious that it should be... am I missing something?

    Create my first sensitive site since the update.  I started to add text when I notice that I reduce the site, the text remains the same - and where "scale width and height" option you s gray... What can I do to make this work? Thank you very much!

    Text boxes to scale horizontally. The height of the text boxes always adapts to the amount of text inside. They grow to an amount that fits the given text.

Maybe you are looking for

  • How you turn off pairing a show from a cleaned iphone?

    I iPhone I had to clean it thoroughly because of software problems, yesterday... The watch I have is always locked the old device and now my new watch application cannot match as the watch display locked my out (I thought that my entering the wrong c

  • Tecra S4 with intel virtualization (vt)

    Hello! I installed my BIOS of 1.2 to 3.2 in the hope to have access to these interesting possibility of virtualization of intel because I want them to be used with xen, so I can run Windows on Xen.Unfortunately, they are not available and there is no

  • Power Jack is broken on my laptop satellite

    Here's the thing, I opened the computer at a very long time, a bad smell of the card, the card work but is the power Jack can not detect any power. I don't know that the power supply is broken. Could you tell me what I need to do?Can I fix it myself?

  • Itunes and Windows 7 update problems

    Well, I have a question for all of you who are technically gifted with computers. About two years my automatic updates for Windows 7 (64-bit SP1) has stopped working. Whenever I shut the computer down it would try to fail to install 40 of updates. I

  • Status of the Audio in the simulators?

    Newbie again, I am developing a simple application Java JRE 5.0 and higher using the Eclipse Plugin 1.5.2 targeting. I have the logic necessary to play a MP3 file and the code by fine on my 9330 Simulator steps, but I don't really hear anything speak