How to remove an Element that was added from code?
Hello,
I have a custom BorderContainer component with 2 labels and 1 image.
I added an instance of it to my application from code with addElement() and now I cannot make it disappear
I try:
for (var i:int=0;i<numElements;i++){
if (getElementAt(i) is Card){
if ((getElementAt(i) as Card).name.substr(0,6)=="cMover"){
removeElementAt(i);
It finds it because it gets to removeElementAt(i); but the component remains visible.
I also tried removeElement(getElementAt(i)); no luck.
What am I doing wrong?
thanks
Gabor
You may have to call
invalidateDisplayList();
After you remove it.
Similar Messages
-
Revision: 1418
Author: [email protected]
Date: 2008-04-25 11:16:16 -0700 (Fri, 25 Apr 2008)
Log Message:
Remove the optimization that was added as part of the fix for BLZ-133. We cannot depend on isRequestedSessionIdFromCookie reliably, instead we should rely on the fact that encodeURL returns the same url when cookies are enabled.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-133
Modified Paths:
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/SessionFilter.j avaThis indicates corrupt files. A restore should resolve.
-
i am trying to find out how u delete a song that u added from itunes radio....from iphone????
HI nhenson04,
If you are looking to delete downloaded content on your iPhone, you may find the following article helpful:
Apple Support: How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
http://support.apple.com/kb/HT5772
Regards,
- Brenden -
How to remove a hotfix that was imported manually via the Microsoft Update Catalog
Is there any way to remove a hotfix that was imported into SUP by manually importing it into WSUS from the update catalog? I know making changes in WSUS that is used for SUP not advised but if I decline those updates will they get removed from the
SUP catalog?Maybe. You are more or less entering uncharted territory -- certainly unsupported territory. Try it in your test environment.
Jason | http://blog.configmgrftw.com -
How to close an app that was downloaded from the apps screen?
How can I close an app that was downloaded from the apps store, and is still on my apps page?
Force close apps
1. Double tap the home button to bring up the multi-tasking view
2. Swipe the app's windows upwards to close
3. The app will fly off the screen
http://support.apple.com/kb/ht5137 -
How to remove the 0 that is added to the formula result
Hi,
I have a formula field. i placed the formula field in the group footer. zero (0) is added to the formula result. if the formula result is 8 then i am getting 0.00 and 8 as data when i select the browse field data of that field . how to remove the zero. i also used supress formula for the field. but it is not working. any idea on this regard.
Regards,
Shanthakumar.hi,
Formula : GRP1Focus
if ({@Grp1BrandName}={@All Brand Names}) then {@FocusValue NBSH}. when i right click the formula field and select browse data. 0.00 and 8 are displaying.
Suppress formula
GRP1Focus=0
Regards,
Shanthakumar -
How to remove an icon that was dragged onto Finder toolbar
I'm sure this is a silly question, but I dragged an image file onto the Finder taskbar by accident, and can't see how to remove it.
Can someone put me out of my misery?If you mean the toolbar at the top of the Finder window, you can command-drag it off.
charlie -
How do I remove an application that was trashed from an external drive?
I did a clean install of Snow Leopard and used Migration Assistant to restore my apps from my Time Machine backup.
I also have a second external drive, and I had something on it called "iP100 series On-screen Manual". It's a manual for my printer that I didn't need anymore so I moved it to the trash.
As soon as I did that, a little printer icon with a question mark appeared on ALL my Mac folders - even the ones on the external drives. When I move my curser over the icon, it's identified as "Trash of Seagate External Hard Drive>iP100 series On-screen Manual".
I emptied the trash, thinking that the little icon would go away, but it was just replaced by a big question mark. Then if I click on the question mark, I get the message: "The item can't be found".
I reinstalled the printer from a CD, and it put an alias on my desktop called "iP100 series On-screen Manual" which does open the on-screen manual, but when I try to find the original, it takes me to a file in the Applications Folder called "Contents8f.help" which also opens the on-screen manual, so it must be the original. I tried renaming the file to the same name as the alias. I tried trashing it. I tried trashing everything related to the printer and reinstalling again, but nothing has worked. The question marks remain!
It seems that my Mac has a desperate need to find "Trash of Seagate External Hard Drive>iP100 series On-screen Manual" but the trash is empty and I have no idea where to find this item that "can't be found".Thanks. I couldn't get the control-click to work, but I found that if I opened a folder and picked "Customize Tool Bar" from "View" in the Finder, I was able to drag the question mark out of the toolbar and onto the desktop where it "poofed' and disappeared. Doing this removed the question mark from the toolbar in all my folders.
-
the story goes like it was my birthday and some frendz came over my place. a friend satarted downloading skype from his id but stopped in the middle as we had to go. now the app says waiting and nothing happens. plz help
- Sometimes resetting the iPod works:
Reset iPod touch: Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
- Another solution that usually works is to download the app on your computer and sync. However, since it was not downloaded under you account it may not work.
- What should work wold be to restore you iPod from backup since your backup since the apps themselves are not in a backup. -
How to put new language that was lost from up-date...
Hello. I have a Nokia asha 311. I live in Greece so when I bought it here it had already the Greek language installed. I just did an update with nokia suite but now I can’t write in Greek anymore. How do I put Greek back on?
Solved!
Go to Solution.THIS will answer your query.. and will also tell you why it happened ...
-
I imported a video I make in movie maker program and I played it back in the premiere video editor and I like the pan and zoom that was added by the program how do I save a copy with the effect of Premiere elements 12
all I did was played it back how do I save that and make a new version of the video beacause when I save a copy the effect look I was trying to save was not there.
Rodney
[personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
[This is an open forum, not Adobe support, please do not post personal information]
[If you are posting using email, please turn your 'sig file' function OFF for posting]silkman1
I would be glad for the opportunity to customize a Premiere Elements 12 answer to your Premiere Elements 12 issue.
But, I want to make sure that we are together on the details. This is my understanding of what you have written. Please review and let me
know if I am misinterpreting anything that you have written.
You have a video created in Windows Movie Maker.
How did you output the video from Windows Movie Maker...wmv or mp4, what was the frame size and frame rate of that export?
Next you import that video into Premiere Elements 12 (can we assume that this is on Windows 7, 8, or 8.1 64 bit?)
From what you wrote, you have applied a pan and zoom effect to your video in Premiere Elements.
Now you go to export the Premiere Elements 12 Timeline content with your video with the pan and zoom applied.
But, the pan and zoom effect is not seen in playback of the export.
Is all of the above correct so far?
If so....we are going to need some more details from you...
a. What is the project preset that you or the project are setting to match the properties of the video coming from Movie maker? See Edit Menu/Project Settings/General and the readings for Editing Mode, Timebase, Frame Rate, and Pixel Aspect Ratio even if the fields look grayed out.
b. Are you applying the pan and zoom effect with the Pan and Zoom Tool, fx Effects Presets, or keyframing the Scale (for Zoom) and
Position (for Pan) in the Motion Panel expanded?
c. What are you selecting as your export in Publish+Share/. Please give details...are you using default settings or customizing the export
setting under the Advanced Button/Video Tab and Audio Tab of the preset selected?
I am suspecting some sort of mismatch of your project settings or some problems with working with the Pan and Zoom tool. I need
your answers to help me help you. If I have written anything that you do not understand, please let me know. I will re-write if necessary
so that we are in sync to resolve the issue.
Thanks.
ATR -
How to remove the old email address that was hacked from my iCloud account when iCloud won't let me?
Pretty much the the email that I used (but didn't verify) to create my iCloud account was hacked and now I can't remove it from my iCloud account due to the iCloud password also being changed by the same person and the fact I had "Find my iPhone" app on my phone also??? I had to change my iTunes email as well but that was far easier so yeah :S.
Please help. I live in NZ, out in the country, so reception is rare and so is getting into the nearest town that has an Apple Store.
ThanksIf you truly change your existing Apple ID's email address to a new email address, follow these instructions: iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
If you created a whole new Apple Account because you couldn't access the old one after being hacked, you will need to contact the Apple Account Security Team. Apple ID: Contacting Apple for help with Apple ID account security -
How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help
What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
http://www.adobe.com/support/connect/connecthostedsupport.html -
How do I clear a persona that was added accidentally by my child?
I need to clear a persona that was added accidentally to my foxfire at work. It is very hard for me to concentrate with this on. I just want it blank again. How do I do that.?
== This happened ==
Every time Firefox opened
== It was accidentally added when an update was added'''Use default theme'''
1. On top of Firefox, on the menu bar, select Tools
2. In the drop-down menu, select <u>Add-ons==
3. Select the Themes Panel
4. Click on the default theme. Select Use theme
5. OK
</u> Uninstall Themes:===
1. In the add-ons window, select the '''Themes Panel'''
2. Select the theme you want to uninstall
3. Click Uninstall. Again when prompted -
Revision: 10201
Author: [email protected]
Date: 2009-09-12 13:23:35 -0700 (Sat, 12 Sep 2009)
Log Message:
Removing special case Container opaqueBackground logic that was added recently as it is no longer required.
QE notes: None
Doc notes: None
Bugs: SDK-23129
Reviewer: Glenn
Tests run: V_H_Box, Canvas mustella tests.
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23129
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
Maybe you are looking for
-
Migrating 9ids form & reports to Oracle 10g
Hi, I want to migrate my all 9ids forms and reports to Oracle 10G. Is there any Migration tool to migrate more than one form or report at a time. Please let me know ASAP. Regards, Malay
-
I have a 24 inch early 2008 iMac. To power it on, I have to unplug it, wait 30 seconds, plug it back in, hit the power button, and hold the button for exactly 6 seconds after it starts to whir before releasing it. When I press the power on, unless I
-
Serial Number/Customer Service
I have a serial number that will not work and I am directed to contact customer service. I chatted with someone on the site and they instructed me to call the phone line which I have, multiple times. I initially chose a call back in 30 min and after
-
IPhoto disappears from MacBook Pro
I posted this elsewhere, but i'll try here too. Today I found that my MacBook Pro suddenly did not have the iPhoto App anymore. It used to be there. I was able to DL it from Apple, but I wonder what happened? I think I might have deleted it, but I do
-
Updating IMovie 5.0.2 files to iMovie 09?
I have a file from iMovie 5.0.2 that when transferred to a Mac with Imovie 09 appears as a folder instead of a file. I tried dropping the folder in the events folder but it did not work.. any thoughts?