problem with resizing and remove

I have a problem with resizing images after loading, not all of the images has the scale ratio 0.75... so for the most part, I just stretch the images having the ratio...

is there a good method of resizing/scalling? for example enjoyed.

and once I've loaded images, I add in the imageContainer.

I couldn't find a way, if I click on the next thumbnail, she remove the last child (image) of the imageContainer...

I'm confuse ATM please point me in the right direction...

Thank you

Load the image clicked

function mouseClickThumb (e: Event): void {}

var thumb: thumbnail2 = e.target as thumbnail2;

var linkName:String = e.currentTarget.name.toString (); get the name of the link

var imageLoader:Loader = new Loader();

var urlRequest:URLRequest = new URLRequest (linkName);

imageLoader.load (urlRequest);

imageLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, imageLoaded);

function imageLoaded(e:Event):void {}

var image: Bitmap = (e.target.content) Bitmap image;

image.x = 0;

image.y = 0;

somehow if I resized the images here, it didn't turn right for all...

     }

imageContainer.addChild (imageLoader);  / / How can I delete the last image? if click on the following icon?

}

If you want to remove the last (highest in the display list) child of a container, you can do this way:

var numChild = imageContainer.numChildren ();

imageContainer.removeChildAt (numChild - 1);

don't forget display lists starts with 0, not 1, so you must always subtract 1 to get the level number of the child in the foreground

Tags: Adobe Animate

Similar Questions

  • Problem with @LIST and @REMOVE: not a Calc command

    Hello everyone:

    I wish to make this calc:

    Fix(Jan,FY10,...)
    + @REMOVE (@DESCENDANTS ("Accounts"), @LIST("Account1","Account2",...)); +
    ENDFIX

    But Essbase said that @REMOVE is not a calc command. I tried with this:

    + @LIST (@REMOVE (@DESCENDANTS ("Accounts"), @LIST("Account1","Account2",...))); +

    But does not work. I couldn't move dimension 'Accounts' for the PATCH because I would like for calc formulas associated members accounts.

    Could someone tell me why this approach cannot be used? Alternatives?

    Thank you

    Concerning

    Javier

    Published by: Javi M on July 21, 2010 02:07

    Rahul,

    I think you are missing the point. The OP doesn't want to caluclate another dimension for some other accounts - he wants to calculate a subset of accounts without all listing them explicitly.

    That's the whole point behind the @REMOVE being a defined member function - they work very well in TROUBLE or in a formula but not as a way to make a calculation of Member stored.

    Of course, if the OP can support the calcuation on his head then anything is possible, but he has already declared that it was a complex logic that he wouldn't come back. I guess this could change depending on his level of pain tolerance.

    Sometimes, it really stinks to write something, think it works and then realize it's completely unmanageable. I can do once or twice. :) As my first boss, has said "it takes only 2/3 as long the second time around." Words that I lived my career of.

    Kind regards

    Cameron Lackpour

  • Problems with resizing and rotation vector! (CS5)

    I need help and can't find the answer to anywhere!

    My questions come from this fundamental task: drag files from Illustrator into Photoshop

    PROBLEM #1

    In CS3, when I dragged vector Illustrator files in Photoshop, it used to automatically resize the vector image to fit the canvas, I was working on. He is not doing this with CS5. Now when I drag files on since Illustrator, places it in the original format, I lose a lot of time having to zoom out, make it smaller and zoom back on my project. I did not 'Resize Image during up' selected in Photoshop, but it is not yet want to resize it! I went back to CS3 and he automatically returns the vector image, I tried to slip more into my project so that it forms!

    PROBLEM #2

    In CS3, when I turned a vector image (usually that I dragged Illustrator more), it would maintain the bounding box, but now in CS5 it doesn't! For example, I would normally make drag an Illustrator file into Photoshop, and then rotate the image as you wish. Then more later in the day if I wanted to rotate the image a little more or less, all I had to do was select the vector image and he would keep this rotated around him and told me that the image has been rotated currently 41 degrees. However, in CS5, when I rotate a vector image and then want to re-do rotate or resize, later in the day is not it. When I select the vector image, the bounding box is always a box or rectangle, with all the side dishes, and he tells me that the image is a 0 degree rotation (although earlier I have straightened out, say, 70 degrees). I'm not explaining this very well, but basically I can't resize or rotate more than once because he acts like she rasterizes the image, if it makes no sense.

    Bottom line, these are in HUGE trouble what I do!

    Help, please!

    wyzz7

    For what you are placing the image as a smart vector in object (also

    "It looks like you use Illustrator to clip a photo)?

    Why not do a vector mask in Photoshop and convert this layer hidden in

    a smart object?

    Other than that, as MTSTUNER pointed out, citing the transformation with

    command-T seems to work as expected and planned.

    The question of the pixel images placed being reduced, placed HERE - or pdf files

    do not be put on the scale seems indeed strange.

    If more people could reproduce it might be useful a bug report

    perhaps.

  • Problem with resizing table InDesign CS5

    I have problems with resizing of tables in InDesign CS5.

    The width can be entered and a decrease, but the right height do move up nor down when you pull in the lower right corner or anywhere else on the base of the columns.

    Does anyone else have this problem?

    Is it a bug or maybe just me not understanding things correctly in the help...?

    Any contribution is appreciated if you knock out. :-)

    Document corruption is sometimes disabled by exporting for Exchange. See remove minor corruption by exporting

  • problem with Safari and the opening of sites

    problem with Safari and the opening of sites

    Please describe the problem in more detail?

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • Problem with the cmdlet Remove-Snapshot

    Hello everyone,

    I have a problem with the cmdlet Remove-Snapshot: it fails to remove the snapshot when I made a copy of file (Copy-Item) between calls to New-Snapshot and Remove-Snapshot if (and only if) I put - confirm option to $false. If - confirm is $true everything works, but it does not allow me to run the non-interactive script. The error that is returned is "vim.fault.InvalidVmConfig".

    Anyone know if there is a problem on my side, on the side of ESX Server or a bug in the VI Toolkit? Any possible workaround?

    I have attached the PowerShell script, I used to reproduce the error and the script log file that contains the error message.

    The versions I used are:

    VMware.Vim.dll (1.5.0.1299, "VI API 1.5.0 build.Net 142961")

    VMware ESX Server 3i, 3.5.0 110271

    I'm not able to reproduce this on my environment but I am sure that the issue is not with the - confirm: $false parameter. After you copy the file there is a timeout that is set to 10 seconds. Can you increase it (even if I do not at all see a reason of this time-out) and see what happens?

    \Yavor

  • Problem with IMovie and Quick time

    Hey everybody,

    I am faced with an unexpected problem with Quicktime and I Movie, and I was wondering if someone had already known that:

    I want to create a film based on shots from my personal camera. I started to work with IMovie to create a sequence of opening and added his musical band. I exported the scenes in Quick Time format without any problem. However, when I merge the exported sequence of I film with shots of my video camera, the soundtrack is completely eliminated.

    I checked on the Internet and saw that there might be a problem of "Codecs". To avoid this, I exported the sequence IMovie with Codecs of same as one of my video camera files.

    Now, if I compare the files exported from I Movie and those of my video camera, they have identical characteristics. However, the soundtrack will always disappear when I merge them.

    Could someone please help me solve this problem?

    Thank you very much in advance.

    Concerning

    Could someone please help me solve this problem?

    Not only based on what you already said.

    I want to create a film based on shots from my personal camera. I started to work with IMovie to create a sequence of opening and added his musical band. I exported the scenes in Quick Time format without any problem. However, when I merge the exported sequence of I film with shots of my video camera, the soundtrack is completely eliminated.

    How would you"merge" files? (I.e. a "QuickTime" format is any form of data compatible with the platform of supply and the specific structure of QT incorporated into real employment that is stored in a container of MOV file on any of up to 99 tracks possible). Also, what app do you use for reading the file 'merged '? (For example, some media players ignore secondary audio tracks as a result of some methods of 'fusion' of files so it is important to know how the files are "merged," whether or not the audio data are "scattered" several tracks, and/or if the Media Player supports playback of multiple, sequential audio popular.)

    I checked on the Internet and saw that there might be a problem of "Codecs". To avoid this, I exported the sequence IMovie with Codecs of same as one of my video camera files.

    The specific codecs and settings using the specific version of iMovie? (The current Mac OS X operating systems have two X QT and 'classic' Qt integrated structure so it is important to know what structure is used here and how).

    Now, if I compare the files exported from I Movie and those of my video camera, they have identical characteristics. However, the soundtrack will always disappear when I merge them.

    As a general rule, you should review the file "merged" to determine why it does not play back correctly rather than comparing the characteristics of the source being merged files. The main problem here seems to be in your project workflow. That is, you seem to be when you perform an operation in two steps rather than edit several iMove multimedia files and then export the combined results in a video the video and audio tracks have been flattened and exported in standard compression formats with unified settings, features and the.

  • Is anyone able to run Adobe CS5 with El Capitan now? I've read about problems with Illustrator and photoshop, but these seem to be in 2015 Octobe5. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5.

    I've read about problems with Illustrator and photoshop on EL Capitan, but these seem to be in October 2015. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5. Can not afford to go to CC. I have a Macbook Pro.

    CS5 and 10.11 are not supported and will never be supported by Adobe or Apple.

    However it works for some, more actually, but not all. There are sporadic problems with Illustrator, Photoshop seems to be the best. Do not expect an improvement and keep in mind that anyone from Adobe, Apple or anywhere else will fix it.

    Do a clean install

    Make sure you have the Apple Java

    h ttps://support.Apple.com/kb/DL1572?locale=en_US

    Make sure you have your serial number and if you are having problems with the serial number or the serialization however adobe of web server will not support your problem.

    update the application via photoshop.

  • problem with java and pogo games

    I use mozilla, and now with the problems with java and hackers cannot play my pogo, what can I do? I disabled my java I tried java 6 does not work or is not safe, what is a safe way to play games on pogo using java?

    Pogo.com is determined as a website SAFE to use Java with Mozilla Firefox?

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problem with youtube and other video sites

    I have a problem with youtube and other video sites:

    Everything is up-to-date (flash, FF, my plug ins.) but I get crashes when loading the video. I can hear the sound but I see only the first frame of the video.

    I've reinstalled flash/firefox or tried updating them again for about 4 times now and my cookies/cache has also been errased which i usually don't do. If i enter FF's safe mode it also freezes.
    

    I hope someone can help, I looked for answers on google before and I tried everything I saw, but it did not help.

    GRTS,
    agrash

    I had the same problem, I uninstalled the plugin Flash player (Adobe Flash Player 11.0.1 152) and the problem is solved. I installed the plug-in again and the problem came back. So right now I have no flas Player liked-in, but I don't have too much problem. I hope that I will not find another problem, but it seems that everything is OK.

  • Pavilion Notebook PC 15-079er: problems with sleep and shutdown 15-n079er HP Pavilion Notebook PC.

    Hello world

    I have a huge problem with my Pavilion. I used Windows 8.1 earlier, and I decided to upgrade to Windows 10. I did not like something (can't remember what) and decided to return to Windows 8.1. Almost a year passed, I am again on Windows 10. But if I SLEEP my computer:

    • Screen goes black, everything seems normal.
    • No matter how long wait, fan keeps spinning and power LED, LED Wi - Fi on.
    • Keyboard input does not help. Does not meet what it is.
    • The only thing left to do - stop hard.

    And if I shut down the operating system:

    • Windows normally stops, close all applications, screen goes black.
    • Fan on, led on.

    I did not notice these problems with restarting and the hibernation.

    Two things I've done in this gap of the year:

    • Replacement screen. An old broke. Thanks to my cat...
    • Formatted the drive. I don't think it would do anything diffirent.

    So, any help would be appreciated.

    Thanks in advance,

    Kebab

    Hello

    On some machines, the pilot for 11 series IMEI has been known to cause that kind of question of the judgment, so it may be worth trying an earlier version.

    You can use the following method to install an earlier version of the driver IMEI.

    Download driver IMEI on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp66001-66500/sp66228.exe

    Disable your wireless card (should be f12 ).

    Open your download folder and run the installer - it warns you that it is an earlier version, but simply continue.

    When finished, restart the laptop.

    If the computer shuts down correctly, turn on your wireless adapter and use the utility on the following link to prevent Windows 10 to update automatically the driver IMEI again.

    https://support.Microsoft.com/en-GB/KB/3073930

    Kind regards

    DP - K

  • Compatibility problem with Vista and iTunes

    I downloaded iTunes 9 on my Tobisha laptop Satellite last night and put about 2.5 GB of music on it. I didn't upload the music from the internet. I used MP3s, I had for a few years.

    When I went to boot up the laptop this morning the loading process took some time, but it never loaded to the login screen. I just see the bottom of MicroSoft. Is there a compatibility problem with Vista and iTunes? Maybe I put too much music on my laptop?

    Boot in safe mode and delete iTunes and all the music I downloaded would solve the problem? Or it is less simple than that?

    Don't know where to direct this question if any help you could provide would be greatly appreciated.

    Thank you.

    Hello

    iTunes is compatible with Vista and there should not be any problem.
    Yesterday, I installed iTunes 9 on my U400 and everything happened correctly.
    If your laptop can not boot Vista correctly, then you should try the repair feature.

    Turn on the computer and press F8. Now you will see the advanced boot menu.
    Now, you have many choices.

    As a first step, you should try the option called: last good known Configuration (Advanced)

    If this will not help and the Vista will not start then try the option called repair your computer. This option displays a list of system recovery tools, you can use to repair startup problems, run diagnostics, or restore your system.

    If that does not help, then you will need to retrieve the unit using the Toshiba recovery disc or HARD drive recovery.

  • Pavilion 15 laptop: problems with stop and "standby" mode.

    I upgraded from windows 8.1 for windows 64 bit home 10. I had problems with stop and goes into sleep mode and cannot be resolved, then I reinstalled windows 10. Everything worked fine for a few moments, and then the same problem reappeared. I can't stop or put my PC into sleep mode, unless I have first of all to make a restart. After a reboot, I am able to stop or go to sleep mode without problem. If I try to do either without a restart, the screen goes black and the indicator light remains lit. The only way I can get it to start then press on and hold the power button and force a shutdown down, then press the power button to restart the upward. I have another PC, a wafer think that Lenovox has been upgraded to windows Windows 7 10. This PC work fine with windows 10, no problem at all. It's just the HP Pavilion 15 who has these questions. It makes me crazy.

    Look through the tool of troubleshooting possible solutions here:

    http://support.HP.com/us-en/document/c03383935

  • Printing problems with XP and Lexmark-documents are just stuck in the print queue

    Original title: printing problems with XP and Lexmark

    Until yesterday, I was able to print OK using Windows XP and a Lexmark Printer series 3500-4500 with wireless capabilities.  Reported network test wireless (on printer) and report indicates that there are no reported problem, also did the diagnostic test and which shows no problem either.  I can't print and documents are just stuck in the print queue - please can someone help, it drives me crazy because it's probably a very simple solution.

    I guess you do not have all of the error messages.

    It is possible that comes to mind that your printer has received a new IP address of your router (this could easily happen if you have several computers and other devices that connect to your wireless network).

    Find the IP address of the printer of his network diagnostic page.
    Click Start > printers and faxes, right-click the printer and select Properties
    Select the Ports tab, then click on the button "Configure Port" (be careful NOT to click anywhere in the list of ports)
    Make sure that the IP address in 'Port settings' is identical to that shown on the diagnosis of your network printer page.

    To avoid this problem in the future, you must configure the printer to have a static IP address.  See your printer User Guide for instructions.

    Choose an appropriate subnet address (i.e., has the first 3 groups of numbers the same as the other addresses in your network) but who is not in the range of addresses assigned by the DHCP server on your router.  See the User Guide of your router for more details.

Maybe you are looking for

  • Activity App

    Hello. Since I bought my Apple Watch, I noticed that the application activity is recognizing me not standing. I joined a gym now and I want to raise my level of activity - how to fix this? I want to save my activity accurately. That's what all my rin

  • Satellite A100-596: Office disappeared after installed Norton Internet Security

    Hi all, I have a * Toshiba A100-596. *. When I connect my desktop icons are gone. I get the message: * done c:\windows\system32\config\systemprofile\desktop refers to a location that is unavailable.* I can only use internet explorer, I can't open Fir

  • Creating a DVD

    I use FCPX to do a monthly show, which consists of 4 Segments.  I organize as follows: Episode: library Segment: event After each show is complete, I want to give the customer a DVD.  I usually just download everything on Vimeo so I don't really have

  • Hello. How to add a static URL for flickr images on a website using dreamweaver?

    I am designing a Web site and the customer has a large number of photos that could make its Web site to be slow or chow data so I want to upload photos to Flickr, and then point to them in the HTML using DW CS5.How do my DW as HTML5 Data Binding Adob

  • Can I sign a document with my digital signature using professionals DC smart card?

    Can I sign a document with my digital signature using professionals DC smart card?