Is there a way to transform multiple colors?

I have a project where I've been asked to allow a user to choose between multple color themes of a character.  This object  is complex in that it has multiple colors and that each color needs to change differently based on the theme's color scheme.
Is there a way to take a movieclip with multiple colors and apply process to it that will detect different colors and transform them accordingly without taking each individual color, making a movie clip from it, then modifying the movieclip's colors?  Each character has a pretty limited color pallette, so this process would only have to find and then change maybe 3 or 4 colors.  But the character in question is hand animated and has a LOT of frames, so I'm hoping there's a chance that I can handle this programmatically rather than doing it all by hand with a few hundred extra movieclips to make color changes to.  Any help is greatly appreciated!

Hi, and thanks for the help.
This is the 1st time I've looked at the palletteMap method.  I see in the documentation:
paletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redArray:Array = null, greenArray:Array = null, blueArray:Array = null, alphaArray:Array = null):void
Parameters: 
sourceBitmapData:BitmapData — The input bitmap image to use. The source image can be a different BitmapData object, or it can refer to the current BitmapData instance.
sourceRect:Rectangle — A rectangle that defines the area of the source image to use as input.
destPoint:Point — The point within the destination image (the current BitmapData object) that corresponds to the upper-left corner of the source rectangle.
redArray:Array (default = null) — If redArray is not null, red = redArray[source red value] else red = source rect value.
greenArray:Array (default = null) — If greenArray is not null, green = greenArray[source green value] else green = source green value.
blueArray:Array (default = null) — If blueArray is not null, blue = blueArray[source blue value] else blue = source blue value.
alphaArray:Array (default = null) — If alphaArray is not null, alpha = alphaArray[source alpha value] else alpha = source alpha value.
I comprehend the 1st 4 parameters, but the color and alpha arrays have got me confused.  How would I use these to, for instance find all the pure blue pixels in a bitmap (0x000000FF) and then change those pixels' colors to some other color, then find all the pure red pixels (0x00FF0000) and change them to yet another color?  Fortunately I don't have to deal with alpha with this current delimma . . .
One other question before I look into this method as a solution, is it possible to programmatically convert vector-based artwork into a bitmap to use this colorMatrix feature?  All the artwork I need to change colors on is hand drawn animation using the native Flash drawing tools.  Thanks again for any additional help!

Similar Messages

  • Is there a way to have multiple color Guides so I can have different colors for different layers

    Is there a way to have multiple color Guides in Illustrator and Photoshop CC so I can have different colors for different layers?

    I think it's not possible "natively" to have this functionalty but I found these topics for Photoshop :
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4618
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4617
    On this one, you will see a workflow which are well described.
    http://graphicdesign.stackexchange.com/questions/6030/how-to-set-different-color-to-guides ai-ps-id-fw
    I've not tested them but you should give it a try!

  • Is there a way to transform multiple individual «symbol instances» into one «symbol set»?

    I have an artboard filled with «symbol instances» which I'd like to transform into one single «symbol set», in order to use the «symbolism tools».

    merdesigner,
    Are you looking for something like dragging some symbols out and arrange them, then select all and crate a new Symbol out of them?

  • Is there a way to select multiple files and initiate the Capitalize function?

    I have hundreds of files all in upper case that are driving me crazy. I can select them one at a time, right click and then select Transformations/Capitalize. Is there a way to select multiple files and initiate the Capitalize function?

    You could use Automator to do this - take a look at the article at http://www.wikihow.com/Batch-Rename-Files-in-Mac-OS-X-Using-Automator to see how this might be done.
    Good luck...

  • Is there a way to adjust the color of the Finders file labels?

    is there a way to adjust the color of the Finders file labels?

    Apple has never been good with themes or finder preferences or anything like that. From a marketing and business point of view in the past I would guess they think consistency and therefore exerted brand loyalty outweighs customization, and anyone who really wants to get their own experience will be on linux anyways.
    Nowadays coverflow, expose, smartfolders, aliases and spotlight reduce the need to differentiate between multiple files on the system by a seperate indicator and a colour.

  • Is there a way to open multiple childs of Accordian at a same time

    Hi,
    Is there a way to open multiple childs of Accordain at a same time.
    My requiremnets is something like this:--
    Thanks for any help on this in Advance.
    Regards
    Munira

    You can have multiple nodes open on a tree, so I guess you could open them all up on a button click.
    Another option that might be possible is to use individual Accordians for each section and then use the click function to close the others.

  • Is there a way to delete multiple pictures at the same time from the iphone4s?

    Is there a way to deleter multiple pictures at the same time, from my iphone4s? I know how to delete one at a time. Thanks

    Open your Photos App > Camera Roll > At the top right corner you will see a rectangle with a right arrow, select that. Now you can select as many photos as you want and you can hit the red Delete button on the bottom right.

  • Is there some way to add multiple addresses to an email I am sending that doesn't close the contact list after I click on an address?  This necessitates constantly going back to click the + sign to add each address separately.

    Is there some way to add multiple addresses to an email I am sending that doesn't close the contact list after I click on an address?  This necessitates constantly going back to click the + sign to add each address separately.  Is there some way I can open the contact list, click on all of the individual addresses to which I want to send the email without the list closing between each address entry, and have all of my address entries be listed to the email at one time?  Something like it works in Gmail.  I do not want to use set lists, I want to enter different addresses each time I send an email.  And I am a very slow typist, so I don't want to type the first few letters of each recipient's name.  It is much faster for me to just click on the e-mail addresses in the list as a group.  It doesn't make any sense to me to have to reopen the contact list for each address, when it should be so easy to click on all of the addresses I want at one time and then click once to add them all to the email as a group.  If there is a solution to this, please tell me.  Thanks.

    Vatlily,
    Try this:
    1. Select Mail>File>New Message.
    2. Select Mail>Window>Address Panel.
    3. Use (command+click) on the desired addressees in the Address Panel to create the list.
    4. Click "To:" on the top left of the Address Panel.
    The group that you selected will be added to the "To" field in your New Message.

  • Is there a way to create multiple BQY output to one of the Job File ?

    Hello,
    I am using EPM11.1.2.3.501 version.
    BQY report due to the large amount of data, it is difficult to use a WebClient.
    So will share on a quarterly basis.
    However,
    If modifications are to occur,There are difficulties must modify each file.
    For example,
    Register 2014 1Q, 2014 2Q, 2014 3Q, 2014 4Q BQY Job file.
    When you run the job, the output of the job file is created.
    If the job file is changed, you must modify all four files.
    This will be only grow ations.
    Is there a way to create multiple BQY output to one of the Job File ??
    Please help me.
    Thanks

    It is not possible to have multiple BQY outpu into a job file.
    Thanks,
    KK

  • Is there a way to get multiple email accounts on the front page of my Iphone?  Also I would like to have different sounds when I receive mail in the different accounts. Is this possible?

    Is there a way to get multiple email accounts on the front page of my iphone instead of just the generic mail icon?  Also is there a way to get a different alert sound for each email?

    No.
    You need to review this (WYSISWG):
    http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf

  • HT1918 Is there a way to consolidate multiple Apple IDs into one if they are all issued to the same persons(s)?

    Is there a way to consolidate multiple Apple IDs into one if they are all issued to the same persons(s)?

    No. Unfortunately, you can't combine Apple IDs togetehr, even if you own them all.

  • Is there a way to send multiple pdf's in one email from iBooks?  I have several that I've saved that I need to send to one person. If it can't be done directly, is there a work around?

    Is there a way to send multiple PDF documents from iBooks in one email?  I have several that need to be sent to one person and can't figure out how to send more than one at a time. If you can't, is there a workaround?

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • Is there a way to create multiple map tile layers at once?

    Hello experts,
    I have a small problem. It's mainly a matter of saving some time. I need to create 51 map tile layers in mapviewer, and I would like to this this at one time. I can go to the admin console-->Management-->Manage Map Tile Layers-->Create, and then I can create one at a time. But it really would be nice to create them all at once!
    I tried using the XML mode interface, and I can use the following code to create one map tile layer:
    <?xml version="1.0" standalone="yes"?>
    <map_tile_server_admin_request>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
    </map_tile_server_admin_request> And it creates one layer. But when I try this:
    <?xml version="1.0" standalone="yes"?>
    <map_tile_server_admin_request>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION_WY"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION_WY"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
    </map_tile_server_admin_request>...it creates only the first map tile layer in my xml request.
    Is there any way to create multiple map tile layers at once?
    Thank you!
    John

    Michael,
    It looks like you are right! Thank you for your help.
    I still have a small concern. I looked at the documentation and it reads,
    "The configuration settings for a cache instance are stored in the USER_SDO_CACHED_MAPS metadata view. You should normally not manipulate this view directly, but should instead use the MapViewer administration tool, which uses this view to configure map cache instances."
    But, I tried inserting records into USER_SDO_CACHED_MAPS and it works, and I can't really see any reason not to directly insert records into this table, so...
    Perhaps that warning is there simply because potentially you could screw things up tinkering with the table directly.
    Cheers!
    John

  • Is there a way to display multiple iPad screens on the same television screen simultaneously?

    Is there a way to display multiple iPad screens on the same television set concurrently?  The idea is to let multiple individuals do something on their iPads in a timed window and then display the results of each iPad users answer concurrently on te same television.

    Devices that display two, four, or even eight video signals on a single monitor are available in the video security market. Maybe you could find something there that would do what you want. A quick search on "security tv screen multiplexor" (without the quotes) yielded millions of pages; several on the first page looked promising if you don't mind composite video.

  • Is there any way to create multiple users in a single shot in oracle db

    Can Any one tell me, is there any way to create multiple users in a single shot in oracle database.

    Hello Nunhum,
    I guess this was not my question.. This is not what I m asking.. I know there is not a single sql statement in oracle ,which could create multiusers alike UNIX/LINUX(OS LEVEL), Whatever you have written..is simple creating them one by one.
    What I am expecting is to have PL/SQL statement which could help us in this regard.

Maybe you are looking for

  • Performance with ADMC Search help

    Hi Everyone. Here there is a performance issue when we tried with the standard search help.It is happening in MEAN Transaction and the search help is for Address Number .While we tried it is giving dump for sometimes. When I checked into the search h

  • Export to Blu-ray: Windows only?

    On page 464 of the CS6 PDF it states: Send to Encore for DVD, Blu-ray Disc, or SWF file creation You can send video from any sequence into Adobe Encore for output to DVD, Blu-ray Disc (Windows only), or a SWF file. That middle phrase can't be true, o

  • Standby databse ??

    Dear all, Can I create a standby database at a different server/location. thanks in advance SL

  • Getting videos from my iphone

    Can anyone tell me how to get the videos I record with my iphone onto my computer? I don't see them among the pictures I have downloaded from the phone. Thanks for any help!

  • How to add links to portlet header ?

    I want to add a print link to the portlet header, along with Customize, Help, About etc Is there any way to do this ? (Using PDK, java or pl/sql)