How do I reverse a ColorTransform?

Hi;
In a game I'm working on, I'm using the ColorTransform class to the turn the 'enemies' red as they fall off the screen after they've been hit by one of the player's 'missles' with the following code:
                    var newColorTransform:ColorTransform = _clip1.transform.colorTransform;
                    newColorTransform.color = 0x802A2A;
                    _clip1.transform.colorTransform = newColorTransform;
My question is:  Can  I somehow undo the ColorTransform to an enemy once it has been applied, or does he have to stay monochromatic thereafter? I've poked around  but haven't found a satisfactory answer.
Thanks,
Jeremy

you could try sth.like
var neutralColorTransform:ColorTransform = new ColorTransform();
//a color transform that has no property specified should default to a neutral state (s.AS3 Docu);
This colorTransform, when applied to any DisplayObject that is already colorTransformed should erase/override the old colorTansform

Similar Messages

  • How do I reverse the order in which files appear in Icon View option?

    I took a lot of pictures on a trip recently, which I have uploaded to a folder in Finder. When I click on View Options and then Keep Arranged by Date Created, they get rearranged so that the most recent appears at the top, and the first ones taken are at the bottom. How can I reverse this order, so that they appear in chronological order?
    Thanks,
    Richard

    There might be another way.
    There are utilities which can batch-rename files, including options that sort by date, begin all the resulting filenames with a common prefix, and then add a sequential "padded" filename suffix. If you then display the resulting collection of files in alphabetical order (as in Finder's Arrange by Name in icon view), they should be sorted chronologically.
    I haven't tried any of these, but the site for [A Better Finder Rename|http://www.publicspace.net/ABetterFinderRename/index.html], shareware, states:
    "A Better Finder Rename knows how to extract EXIF shooting date and time information from digital camera images and exploit them in creating sequence numbers or adding time and date information to the file name. "
    There may be suitable freeware alternatives -search for *file renamer* in [Version Tracker|http://www.versiontracker.com/macosx>.

  • How do I reverse the order of file lists in finder?

    When I display a finder page with icons the sort is ascending (A-Z), but when I use the list function it is decending (Z-A).  How do I reverse the list order?

    Welcome to Apple Support Communities. We're users here and don't speak for "Apple, Inc."
    In Finder icon view, click the Arrange button and select which column you'd like to sort by.
    In Finder list view, click the top header of any column to sort by that column. Clicking the same header again reverses the sort order (and the small 'arrow' at the end of the column name reverses direction too).
    And using Finder, View, Customize Toolbar the Finder window toolbar can be customized to display icons only, text only or both, as well as adding additional icons to the default toolbar:
    Message was edited by: kostby

  • Had an iPod touch and an iPhone on iTunes. Added another iPhone and iTunes erased/ignored the first two units. I deleted iTunes and reloaded to start over. How do I "Reverse" sync what is on my iPod touch and my first iPhone??

    Had an ipod touch and an iphone in iTunes. Spouse added their iphone and it deleted/ignored the first 2 (ipod touch and iphone). Deleted iTunes from computer, reloaded to start over. How do I "reverse" sync my iphone and ipod touch?? Do not want to lose all the info.

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • HT5660 When updating Adobe Flash Player on my Mac I am told "blocked plug in."  How do I reverse this?

    When trying to update Adobe Flash Player on My iMac I get a message that says "blocked Plug-ins."  When going back to previously viewed studies, including youtube, I get the same message.  What changed if the update was never installed?  How can I reverse this situation?  Thanks for any ideas? 
    PS - not a techie :-)

    Are you actually getting a Java error too, or are you only getting a Flash error?

  • While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this?

    While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this? Reinstalling the application does not clear the error, so I'm assuming the association is somewhere in Firefox.

    Never mind -- I just found it under Tools/Options.../Applications, where I changed the incorrect association of "nlmcp" from Windows Media Player to the correct one, NetLibrary Media Center. Done!

  • How do you reverse a goods receipt document of a service entry sheet?

    Hi SAP experts,
    How do you reverse a goods receipt document of a service entry sheet? Your help/opinions will be highly appreciated. Thanks!
    Jessica Mari C. Cruz
    Jr. Software Development Analyst
    SAP- Materials Management Team

    You can sue the ML81N itself to delete the service entry sheet and once you will delete the SES, system will generate the Material document for reversal of GR.
    Go to ML81N and enter the service number and change the screen to change mode.
    If release statergy is used for this then cancel the release using the same statergy.
    Click Revoke acceptance button or Ctrl + F2.
    Edited by: Manish Kumar Agarwal on Aug 4, 2009 8:27 AM

  • Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Paragraphs help the reader, just saying.
    What are you actually trying to do? Why do you need "DVD size" folders if you're creatng an Archive on an external hard drive?
    Also, I understand burning folders instead of individual photos or albums gives you more space on a DVD.
    It makes no difference at all.
    How can I keep the captions on my photos (not events) when I print or transfer to a new folder?
    You can export while writing the metadata to the file in most cases.
    Tne only way I know is to copy photos from the Windows to folders on my HD, then copy and paste photos or albums or events to HD, then create a new folder and fill it to the appropriate DVD size. 
    HD? Another HD? You use HD there in a way that makes no sense. What's the point of 'DVD size'?
    I also thought I should download future photos to my Canon programming that comes with EOS cameras and edit and then decide which photos to save to iPhoto library and which to save only to my archival HD?
    Does this have any relation to the previous questions? You know you can delete from iPhoto, right?
    You're somewhat confused and you need to
    1. Decide what exactly you want to do
    2. Then go about it.
    If I understand you correctly - and there's no guarantee that I do -  the easiest thing is to bring all your Photos into iPhoto and do everything from there.
    You can have an archive on an external disk, you can sort and select and edit with or via iPhoto
    Regards
    TD

  • I just updated to 10.8 Mountain Lion. Now I must enter my admin password each time I attempt to access my main hard drive.  How do I reverse the need for the password.  It's a real PAIN!

    I just updated to 10.8 Mountain Lion from 10.7.5.  Now I must enter my admin password each time I attempt to access my main hard drive.  How do I reverse the need for the password?  It's a real PAIN! 

    I'd think you have a Keychain problem (Keychain storing passwords and the likes).
    When you are being asked, are you offered the checkbox, "Remember this password in my Keychain"? If so, check and see if it stops asking.

  • How do I reverse the update to Safari 4.1?

    I have a PowerMac G5 running under Mac OS 10.4.11.
    I allowed Software Update to download and install the version 4.1 of Safari Sunday night. Monday night I found that links on a website in 1 of my tabs that open to a new window do NOT return to that tab when closed, instead they return to the rightmost tab. I also found that links in a website in a different tab that open in that tab are NOT marked as read when the original webpage is returned to. Neither of these bugs were happening before the update and both of them make it difficult to navigate the internet. How do I reverse the update until Apple fixes these bugs? (That update didn't corrupt my preferences, did it? They never have before but there is always a 1st time for everything.)
    I did try deleting Safari from the Applications Folder and installing Safari version 4.0.5; however, version 4.0.5 wouldn't install since it claimed that a newer version was already installed, even though there was no Safari installed on my computer at the time. (I wasn't about to delete my Preferences and bookmarks. I have no desire to set up Safari from scratch! If necessary I can get my latest offsite backup, which might have a backup of my Preferences Folder, but I don't think I backed up that folder on that 1, but the previous 1 does have it, though that is several months old.)
    Any help would be appreciated, though Apple's not posting buggy software would have been the best solution. (Though they don't do as bad as Bill Gates company does!)

    Thanks for offering to help, kisuke3.  Unfortunately, neither safe mode nor a new user account solves the problem.
    I just received this information from the Chemical Abstracts Service that provides the web-based SciFinder chemical structure and literature search software.  I'm not using OS X Lion, so I'm not sure if the comment about Safari 5.1 being "unable to run Java-based applications" applies under OS 10.6, but it might explain my problem?  I plan to check the links below, and they might help others having difficulty under OS Lion. 
    "On July 20, 2011, Apple Inc. released new versions of their desktop
    operating system, Mac OS X Lion (version 10.7), and their Internet
    browser, Safari (version 5.1). Currently, Safari 5.1 is unable to run
    Java-based applications like the SciFinder structure drawing editor.
    This problem is not restricted to SciFinder.
    Customers who have upgraded to Safari 5.1 and wish to draw and search
    structures or reactions in SciFinder should either use Firefox or a
    previous Safari version until this browser problem is addressed by
    Apple.
    Mac OS X Lion is the first Apple OS upgrade to ship without a built-in
    Java runtime extension (JRE). SciFinder users who have upgraded to Mac
    OS X Lion can download the latest Java JRE from the Apple website at
    http://support.apple.com/kb/DL1421. Users can validate their Java
    installation by checking this website:
    http://javatester.org/version.html. "

  • I got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this?

    i got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this and get my information back?

    Every backup replaces the old one, so, unless you included the backup folder in your computer backup routine, you can't get back your calendar info.
    The only time iTunes will not replace a backup is, when you use it to restore from, this one will stay in the backup list in iTunes.
    More info on backups here: http://support.apple.com/kb/HT1766

  • Using Acrobat 9.5.5, I scanned a catalog in several segments, to merge later. How do I reverse the order of pages of the back side (odd) pages, and can I renumber each set as even numbers only and odd numbers only?

    I scanned a catalog for my archive - double sided pages of course.
    It was easy enough to scan the front pages first (odd numbers, 1-3-5) , in several sets of 30 pages, therefore several separate pdfs.
    Then I scanned the back side (even numbers 2-4-6) pages but in their natural reverse order, rather than manually reordering all 300 pages.
    Now I need to reorder the even pages which are naturally in reverse page number order (300-298-296...)
    and I need to renumber all of the pages as only odd or even numbers - set 1: pages 1-3-5-7... Set 2: 2-4-6-8...
    Then I can merge everything into one pdf.
    How can I reverse the page order?
    How can I renumber pages as only even or only odd numbers?
    Anyone have these solutions?  I don't use much of acrobats features, but it seems to be a pretty basic demand to be included. I can't find any clue in the software menus or online help.

    You can do such ordering with JavaScript. There is a recent post with a JavaScript for dealing with another aspect of page order that might provide what you want. You will have to search the forum for the post that was about 2 or 3 weeks ago as I recall.

  • How do I reverse the order of photos/years in osx

    with the new OS X photos software it shows the most recent year at the bottom of my screen. How do I reverse the order so the most recent year is at the top. Thank you

    You can't at this time. Send a feature request to Apple.  You can use this feedback form:
    Apple - Mac OS X - Feedback

  • How can I reverse the order of podcasts so I can listen in cronological order

    How can I reverse the order of podcasts so I can listen in cronological order!

    What I did was create a playlist for the podcasts and keep it sorted in reverse date order, which puts the oldest first. To prevent it from automatically playing the next podcast, I actually mark all podcasts as "skip when shuffling", and then play in shuffle mode. I also make sure all my podcasts have a genre of "podcast"; I discovered that if you use media type, the playlist doesn't update correctly on the iPod classic
    So, what I've got is a playlist of the form: (play count = 0) and (genre = podcast), sorted in reverse date order.

  • How do you reverse the direction of a build in title?

    I use Final Cut Pro X, and for a build in title, how would you reverse the direction? For example, One of the build in titles is called "Knock Out", and the words come into the frame away from you, but how do you make the words go the other way, and go towards you?
    If you don't understand what I mean, that effect is called "knock out", and you can look at it in your application.
    I know how to reverse clips, but that does not work with transitions/title effects
    Thank you!

    This particular title does not offer many options for customization; in particular, no option for working the other around, as you want.
    I can think of a few options for this. The easiest is would be to make the title by itself into a compound clip; but I have just tried it and it does not work, because the blend mode of the text (stencil alpha) does not propagate down inside a compound clip. (If it did, you'd just have to reverse the compound).
    Another option is to open a copy in Motion and make changes there. If you have Motion, this will allow you to adjust as you wish.
    Yet another easy way may be to "construct" this title yourself right in FCP X.
    Insert the "Custom" title, adjust the text font, change the blend mode to Stencil Alpha, and keyframe the scale.

Maybe you are looking for

  • Automate creation of Pages documents from Numbers or delimited text file?

    I'm just trying to find a way of automating my processes a bit. Basically, you can assume I have information in a Number's document like this: File Name Headers 1-FileName Some Title with Capitlization I Need to Keep Subheading 1 Subheading 2 Subhead

  • Admin server not starting up

    Hi, We are testing out some scenarios. In one of the scenarios the server is not starting up. This is what we see in logs: /depot/dev/src1034/wls/qa/tests/functional/core/nodemanager/nodemanager.test.xml:120: The following error occurred while execut

  • CSS v ACE 4710 Performance Comparison

    Am trying to verify performance figures for a CSS 11503 EOL replacement using ACE 4710 Trying to comapre apples with apples (is a CSS SSL TPS the same as a ACE 4710 TPS etc...) Pulling figures from data sheets, release notes etc I have only come up w

  • How to publish on iBookstore

    I intend to publish a book on ibookstore, I think I must first contract with Apple but I don't know how to do ; do you? Thanks, Herodot

  • Crosstab query using pure SQL only

    Hi all, Found a lot of threads on crosstab, but none seems to address what I need. I need to perform crosstab query using pure SQL only & the number of columns are dynamic. From a query, I obtained the below table: Name Date Amount Alex 2005-06-10 10