Best way to draw an asset if I want to change the colour of it?

If I draw something manually, can I still change the colour by actionscript?
I want to draw a cat, and the cat colour depends on the the user choice in the previous 'screen'.  How should I go about this?
Thanks.

Yes, there are a couple ways. You can use the ColorTransform class. Or you can use one of the Tweening engines - it's really easy to tint objects using TweenLite. You can even test in the demo at http://blog.greensock.com/tweenlite/
Scroll down a bit to the demo... pick a color in the tint box and hit Tween.

Similar Messages

  • What is the best way to format a novel w headers  w/o changing the ...

    what is the best way to format a novel w headers w/o changing the following pages. I've used Microsoft office initially, but publishing house uses a program called word perfect. I find that I have too many blank white pages no matter what i do! Have to fix pagination as well...Paul

    When you start you are offered templates under 2 categories "Word Processing" and "Layout", choose wisely.
    For header and footers yes, you will have to:
    +Menu > Insert > Section break+ at the bottom of the last page of the section you wish to preserve.
    Then you can change the next section and the 2 will stay different.
    Please read the Pages09_UserGuide.pdf, you need to know a lot more than this if your novel is ever to hit the streets.
    Peter

  • Best way to edit an asset style??

    i wanted to change the color of an asset style. what's the
    best way to approach this? for example, there are all kinds of
    grayscaled glassy styles in the assets panel. if i take a plain
    rectangle and want to apply the glassy asset style, but in a
    different color, what's the easiest way to change the coloring?
    thanks

    Make your changes to the Style (Edit current ones/ or Add New
    ones via the PI Filters).
    When complete with changes, go back down to the PI, click the
    +, the n 'Options' from the list, then Save As Style.
    Give your Style a new name, then OK.
    h

  • What is the best way to share a iTunes library between 5 users on the same computer?

    What is the best way to share a iTunes library between 5 users on the same computer?
    Currently I have a common itunes library in a shared folder that each user is linked to.  The problem is that when one user adds music to the shared file, it does not automaticaly appear to other users when they open their iTunes.  They have to go to the shared library and select the new music in order to make it visable in their iTunes.
    Would iTunes file shareing fix this problem?
    Thanks

    aapl.up wrote:
    Rick, are you saying that if you try to share a folder outside of home and use sharepoints, then the other mac wont prompt you to log in? Have you tried that? It is hard to believe that is the case
    I am sort of saying that. Have you tried it? I know it's hard to believe, but you really need to help us out by trying some steps that you don't believe.
    We can't see what your exact situation is. We sort of know what's worked for us out here. Just trying to help you get this going in less than 24 hours!
    Sharepoints manages the samba configuration file. It's free software that puts a pretty face on an otherwise cumbersome config file.
    Give it a shot.
    windows will not prompt for passwords, I have tried this with multiple computer at home for both vista and xp
    As I stated. You will not get prompted on windows, if you have set up sharing in an insecure fashion. You are not using a secured sharing situation.
    No argument with your statement.

  • What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?

    What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?
    Thanks for any help

    Hi Donavan,
    There are two options for zeroing with the NI-9237.  You can perform offset nulling and shunt calibration with a strain task, or if you use custom excitation you can use software compensation.
    See the Bridge Balancing, Offset Nulling section in  the Load, Force, and Torque Measurements tutorial. Take a measurement before the strain is applied and subtract this from all subsequent measurements.  See the above tutorial to consider the tradeoff in accuracy between these two options.
    Hope this helps,
    Jennifer O.
    Applications Engineer
    National Instruments

  • What is the best way to create a read more/collapse text box on the homepage of a site?

    What is the best way to create a read more/collapse text box on the homepage of a site?

    I figured this out by using a lightbox. I set the trigger at the top of the box, hid all initially and added a close button. In the box that would have linked to the first thumbnail for the lightbox, I added a text box that said "read more"

  • What is the best way to track a stolen ipod touch 4th generation if the locations services are off

    What is the best way to tracker a stolen ipod touch 4th generation it the locations services are off

    you will have to use the old fashioned way, like if you lost a wallet or purse.

  • What is the best way to erase my computer for personal stuff while leaving the computer ready to use

    what is the best way to erase my computer for personal stuff while leaving the computer ready to use

    If the Mac came with Mountain Lion or Lion, press Command, Option and R keys on boot, open Disk Utility, erase the disk and reinstall Lion or Mountain Lion. If it came with Snow Leopard or older, insert the DVD, press C key on boot, go to Utilities > Disk Utility, erase the drive and reinstall Snow Leopard

  • Assets panel styles, can i change the color of a style to be an exact color?

    Assets panel > styles, can i change the color of a style
    to be an exact color? for example, if i want to create a navbar
    with the black and gray glass affect style, but i want to change
    the color but keep the same style of shading. each style in the
    assets panel has a default color, but i want to change the color
    and keep the style. i did change the color a little bit by
    adjusting the hue and saturation, but i can't seem to get an exact
    match of the color i am trying to duplicate. any help is greatly
    appreciated thanks

    When a style is applied to any object, the Properties panel
    at the bottom will reflect the attributes which are editable in
    that applied style. The properties which can be edited are fill and
    stroke colors also apart from adjusting the Hue and Saturation.
    Gradient colors can be modified by changing the fill color.
    The nodes in the gradient will change the color from blue to black
    or any other intended color of change. If you know the color you
    can either enter it as a 6 digit value or you can pick a color from
    an existing object.
    Hope it helps. Let me know I am missing you query
    completely.

  • Is it possible to change the colour of the Pages' skin, since it is grey, is there any way to change it and make it less tedious?

    Is it possible to change the colour of the Pages' skin, since it is grey, is there any way to change it and make it less tedious?

    fruhulda wrote:
    If you see any grey"background" if is on the left and that is the comment field.
    Hi fruhulda
    It's not the comment field which is a restrictive description.
    In fact it's the window's background.
    Yvan KOENIG (VALLAURIS, France) lundi 26 septembre 2011 12:08:45
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • HT4437 I have a Pioneer VSX-1012-K and i want to change the name of it on my iphone to something elce. Is there any way i can do this.

    I have a Pioneer VSX-1012-K airplay amp and I want to change the name of it when i am using AirPlay. Is there any way i can do this?

    If it is showing off line, either the battery is dead, the SIM has been removed or the iPhone has been restored. Report it to you carrier. Some offer blacklisting. You can also send a remote wipe to the phone via iCloud. There was also the option to send you an email if the phone is located when you were in Find My iPhone. Report it to law enforcement, change the passwords on all accounts that were on the device. Did you have a passcode on it?

  • I want to change the way Safari opens a file type.

    Is there a forum for Windows users of Safari?
    I am using Windows 7 and just downloaded Safari 5.1.7
    I want to change the way Safari opens a file type. Specifically the AVI file type. I would like Safari to cause VLC Player to launch, outside of Safari, and play the AVI file. I don't find that Safari provides me with a method to change how Safari will open a file. Presently Safari will do nothing when I pull down the file menu, select "open", and then select an AVI file from a disk folder. I have Opera, Firefox and IE launching VLC,,,, but not Safari.

    Yes, the Safari for Windows forum is here:
    https://discussions.apple.com/community/mac_os/safari?view=discussions#/?tagSet= 1041
    I have asked the Hosts to move your post to that forum.

  • Best Way to Draw A Simple Isoceles Triangle, and Fill it.

    Hi,
    What I assume is a relativly simple problem, ive got the coordinates of the bottom two points of an isoceles triangle, and the height, and need to draw it in Java2D. It's base will always be parrellel to the bottom of the screen.
    I also need to be able to fill or not fill it very simple, what would be the best way to do this?
    Thanks for your time,
    atreides7887

    Create your triangle as an instance of [java.awt.Polygon|http://java.sun.com/javase/6/docs/api/java/awt/Polygon.html] and call [java.awt.Graphics2D.fill(Shape s)|http://java.sun.com/javase/6/docs/api/java/awt/Graphics2D.html#fill(java.awt.Shape)] to paint the triangle to a BufferedImage or in a paintComponent override.
    Read the other methods of Graphics2D for the rest of your answer.
    db

  • Best way to draw thousands of graphic objects on the screen

    Hello everybody, I'm wanting to develop a game where at times thousands of graphic objects are displayed on-screen. What better way to do this in terms of performance and speed?
    I have some options below. Do not know if the best way is included in these options.
    1 - Each graphical object is displayed on a MovieClip or Sprite.
    2 - There is a Bitmap that represents the game screen. All graphical objects that are displayed on screen have your images stored in BitmapData. Then the Bitmap that represents the game screen copies for themselves the BitmapData of graphical objects to be screened, using for this bitmapData.copyPixels (...) or BitmapData.draw  (...). The Bitmap that represents the screen is added to the stage via addChild (...).
    3 - The graphical objects that are displayed on screen will have their images drawn directly on stage or in a MovieClip/Sprite added to this stage by addChild (...). These objects are drawn using the methods of the Graphics class, as beginBitmapFill and beginFill.
    Recalling that the best way probably is not one of these 3 above.
    I really need this information to proceed with the creation of my game.
    Please do not be bothered with my English because I'm using Google translator.
    Thank you in advance any help.

    Thanks for the information kglad. =)
    Yes, my game will have many objects similar in appearance.
    Some other objects will use the same image stored, just in time to render these objects is that some effects (such as changing the colors) will be applied in different ways. But the picture for them all is the same.
    Using the second option, ie, BitmapDatas, which of these two methods would be more efficient? copyPixels or draw?
    Thank you in advance any help. =D

  • What's the best way to output a high quality ready to send to the printer PDF?

    I'm designing a photo book for a friend and we're having output issues. We're working with a professional printer but for some reason our prints keep coming out soft or pixelated. The images are 300 dpi and formatted correctly for an InDesign document so the issue is likely output.
    What's the best way to output the HIGHEST quality PDF you can out of InDesign? Everyone seems to have different answers.
    Thanks in advance!

    Check a couple things.
    One would be for broken links. If there are broken links then ID will use the preview image instead of the linked image.
    Another would be to select an image that prints poorly in the Links Panel and check the effective resolution. If it is below your stated 300 dpi then the image has been enlarged greater than 100%.
    Then just use the PDF/X-4 profile for your PDF.
    Mike

Maybe you are looking for

  • HP Envy 4501 won't scan multiple pages into a single document

    My HP Envy 4501 Printer won't let me scan multiple pages into a single pdf document. I already made sure that the checkbox "Create a separate file for each scanned page" is not checked under the file section in advanced settings. After I scan the fir

  • I disabled my ipad how do i restore it

    I disabled my Ipad how do I restore it like new?

  • RAW Version 4.0 in Aperture 3.4.1 and Nikon D4 ?

    Why does Aperture 3.4.1 ask me to reprocess my Nikon D4 files, saying that they are all processed with an oder RAW Version (3.0) in Aperture. Looks like Apple hat now RAW Version 4.0 included. Where can I find more information about the RAW Version 4

  • Graphical error in iOS 5

    I hope Apple fix this error for the next iOS 5.0.1: http://bit.ly/u5ASIz

  • Chapter Not Working

    I have created a menu with a single play button that starts a movie lasting 1 hour and 15 minutes.  I've inserted 5 chapter points in the movie.  This is something I have done many times in the past and never had a problem, until now. When previewing