Filling with background color

hi, i am trying to do something that paints some controls on the screen, and if a control reacts in a certain way, it should be repainted. the problem is, some controls are small, so instead a 'repaint' handler for all the screen, it would be nice to just repaint the part that changed
in other words, instead of
graphics.clear();
repaint_all();
i would like to have something like
graphics.beginfill(ERASE, 1);
erase_component();
redraw_component();
which i believe would be faster. the reason i can not just say 'fill with background colour' is beacuse 1. background color can be arbitrary, (though it would be nice to have a flash-provided constant or a maccro called BACK_COLOR or something), and 2. because in this case in particular, the background may be a picture (bmp, jpeg whatever) in a sprite below. if i paint a solid block, the block will not erase but instead appear as a block over the background picture. is there anything in flash as an 'erase' fill?
2. (not related with question title). how do i a. turn off all default options in right click menu (except the 'about flash', wich can not be turned off if running player as stand alone), and b. add a custom item in right click menu
tnx

hi, i know there is a graphics object for each thing. i am making my own event handler, i have all controls as pictures in the same object (as the system does, i am doing it without delegating to the system or flash) tnx for the contextmenu tip

Similar Messages

  • Iphoto 9.6.1 how do I leave pix space blank, filled in with background color

    I'm making a photo book using iPhoto 9.6.1  How do I leave pix space blank, filled in with background color?   I want half the page taken up with a picture and the other half colored in.

    There's actually an option to iPhoto Library Manager that makes this all almost work flawlessly (and work well enough for me). With the exception of Photo Albums that the pictures are part of, if you select "Library > Rebuild Library..." and then select "Scavange Orphaned Photos" check box, then it will put all the Photos and Movies into the "Scavanged Photos" album. It matches the modified pictures to their originals. It preserves all the event names and photo groupings. All the meta-data I could spot check it got right (although with 44k pictures, I only checked a few). If you fail to select this option, however, it will find no pictures at all when it goes to rebuild the library (this was true of the small test libraries I tried as well as the big, monster 280GB library I just finished converting). The conversion process took 5 hours to run, but in the end produced a library my new iPhoto can read and that I can interact with. I'll be suggesting to the iPhoto Library Manager folks a notation that would estimate the number of Orphaned Photos and display that number as a hint to the user that the option would be useful.
    Edited: Thanks to Old Toad and LarryHN for their help in finding which of the many options to transition this library to 9.5.1 I needed to use. Sorry if I took my frustration of the past several months out on you guys for generously trying to help me.

  • How to add the text box with background color in Acrobat 9 Pro ? (Urgent)

    I have previously used the Callout tool to add the comments in a PDF file, but the comments were difficult to read as some of them were mixed with the pictures just shown below. Therefore , I hope that there's a tool that can create the box with background color, but I cannot find such tool. What should I do ? Hope to get the answer ASAP, as it's very urgent !
    P.S. The picture below is represent the problem: the comment are difficult to read.

    In the properties of the callout comment you can change the fill color.

  • Why won't this fill with any color

    i can draw on both pictures but on the second graphic i would like to fill with the color of my choosing but for some reason i can not
    Attachments:
    picturecntrl3.vi ‏40 KB

    Try this. I didn't try to spend too much time straightening out wiring.
    I had to fix up a few things in it.  For instance, on mouse down, I did a move pen so that it wouldn't draw the first line from 0,0 or last end point all the time.  It only works as a free hand drawing.  It would be possible to do a point to point to point so that you could draw straight line objects (i.e. triangles, squares, etc.) , but you would have to come up with an alternate way to stop creating the array of points to be filled besides mouse up.  Perhaps another button such as draw.
    Message Edited by Ravens Fan on 11-14-2007 04:56 PM
    Attachments:
    picturecntrl5.vi ‏48 KB

  • Selective replace foreground-color with background-color

    Hi,
    I'm new to Photoshop and coming from paint shop pro (psp).
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too. In psp there is a tool/brush to
    replace foreground-color with background-color. So I'd select
    black as foreground-color and red as background-color, hover
    with cursor over the area to recolor and that's it.
    How to do it with Photoshop?
    Thanks in advance
    Jörg

    softmonauts wrote:
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too.
    Can you clarify this?  It sounds like you have a black arrow on a black background.

  • Help with Background Color

    Posting this for a second time -
    If I change the background color of my document, I can't see
    it, nor can I see the different fill colors of any symbols I add to
    Scene 1. The colors show fine when I run the movie. It is using the
    outline color to display all the objects on the work area whether I
    am in outline mode or not. I don't know what I did, but I could not
    find a menu item to turn it off.
    Thanks for your help.

    On the timeline, you should have 3 icons next to the layer
    name. If it's active, you'll see the 'pencil', otherwise you'll
    see: A dot or X, a dot of X, and then a square with a color.
    Each layer should have the square with a color. If the square
    has a black border with a fill, you are looking at the fills for
    that layer. Otherwise, if the border is a color, and the center
    matches the panel bg color, then you're looking at the outlines,
    but just for that layer.
    You may want to go through your timelines and make sure all
    of your layers are set to fill mode. Could be that you missed one
    somewhere.

  • Iphoto: problem with background color on Calendar.  Help!

    I have made 4 calendars using iphoto now.  The first time I did it, I was able to custom background color the pages, including the bottom half with month and days.  Since then, the only page that works for making background color changes is the top page (the border between photos).  What am I doing wrong?  When I go back to my original calendar (which I saved), I can still change the colors, but it doesn't work on any subsequent calendars.  Can someone please advise?
    Thanks,
    Catherine

    Catherine,
    you might try to change the "Theme" of your calendar. Not all themes allow to change the background color for the calendar page. For example, the "Colored Paper" theme lets you select the background color for all pages - click the "Layout" button and select a page in the page browser;  then select a colored background tile, like this:
    Regards
    Léonie

  • Text Standard in Sapscript: Problema with background color

    Hi all !!!
    I have uploaded a digital signature via RSTXLDMC program (I cannot upload the digital signature via SE78 because i have set position in the main window). When i display the sapscript, the background colour is white, but when i print the sapscript the background color changed to black.
    Does anyone know why this is happening ?
    Thanks
    Sebastian Quezada

    Welcome to SDN.
    If you are using a BMP image file then save it as 256 bitmap file and then upload it. Even after that if issue persist check with your BASIS for the drivers.
    Regards,
    Amit

  • Composing mail with background color?

    Does anyone know of a way to compose a message in Mail with a background color (say, light blue) behind the text? I know Mail lets you choose type colors, and also lets you set text and background colors for the message header as it appears in the directory, but I've not found a way to set a background color for the message window itself. Anybody know how?
    I'm running OS 10.3.9 with Mail 1.3.11.
    Thanks!

    Well, judging by the complete lack of answers from Apple, I think it's safe to say adding background color to a message is not supported in OS X Mail (At least, not 2.1.1).
    The likeliest place to specify a document or background color would have to be the Fonts dialog, since it contains a specific selector for "Document Color". Of course, this is the same Fonts dialog that is integrated throughout the whole OS, and this particular control has no effect on a Mac Mail message. I've tried selecting system colors, web colors, even picked a color using the eyedropper with no success.
    I'm going to speculate that this is because document color is a feature of HTML formatting -not Rich Text formatting- and Mac Mail (up to version 2.1.1) doesn't even offer HTML formatting as an option. Pretty lame, if you ask me.
    That said, I see the version of mail shipping with Leopard is promising custom "stationary", and that usually means HTML format. I guess we'll have to go upgrade the whole OS just to get this rudimentary capability.

  • Responsive animation with background color that spans 100%

    I've create a responsive animation with simple background colors. I'd loe for the background colors to bleed 100%, but can not seem to find a way to do it easily. I've actually had to layer two animations on top of each other and just js. (this site is in development: http://newsite.insightpd.com/what-we-do/ ) I'd love for the red and gray to go 100% while still being centered and staying responsive. What am I missing? Any advice would be greatly appreciated.
    PS, I'm using the edge plugin for wordpress and am just uploading the aom file.
    Thanks in advance for your help!

    Did  you incorporate % widths during the creation of the animation?
    Nice job btw
    Also your template is using fixed widths for that section that houses the Edge Animate - you also need to adjust for % in your WP template css (see capture).

  • Fill with solid color problem

    Please, kindly  help to find out why Photoshop fills a selection with transparent color while opacity and fill of a layer  are set to 100% and blending modes are “normal”
    Thank  you!

    Olga,
    In that case I have no idea, sorry.
    Only thing I can think off is to reset the preferences. When Photoshop is acting up this will sometimes make Photoshop behave.
    But before you do this make sure you backup your actions, gradients, shapes, brushes etc or you will lose the ones you made yourself.

  • Please Help with background color problem in loaded .swf

    I am stuck!
    This is Flash CS4...
    I created a flash application which loads in many other little flash applications (.swf files) based on menu selections.
    When I change one of the little applications the changes are viewable except when I change the background color.
    After the first time I view the application, the background color changes do not carry over to the main app.  I run the little ones stand alone and they show the new color, then I run the main app and any other changes I have made are there but not the color change.  When I remove the file and the load fails, the old backround color still displays in the container movie clip the .swf was previously loaded into.
    I have tried several different options and the only thing that worked was renaming and copying and deleting and making a big mess.  There has to be a way to force a refresh of this mysteriously saved color. doesn't there?
    Please help!
    Thanks!
    Vivian

    Hi Antonia
    I am loading the swf into an instance of a movie clip:
    var myLoader:MovieClipLoader = new MovieClipLoader();
    myLoader.loadClip("Capitalization.swf",  contCapitalization);
    it is the background of Capitalization.swf that will not change
    this is AS 2 since the app was created before I upgraded
    Any ideas?

  • Content-aware fill with multi-colored background?

    I've got a webpage footer to edit and I don't have the .psd file so I'm trying to use content-aware to take out an unwanted part.  Problem is, the background isn't one solid color and the area where I'm making the edit has a diffinitive color change...it's an actual line dividing the footer into two sections.  So, whenever I do the content aware fill it doesn't keep that line or the colors the way they "should" be.
    Is this a situation where having the .psd file is a must?
    Thanks for your help!
    PS CS5 version 12.1 x32
    Mac OS X 10.6.8

    I used the lasso tool to select first one colour area.  selected the Brush tool so I could Alt click on the background colour, and Alt backspace to fill the selection.   Then I inverted the selection (ctrl Shift i).  Used the lasso with the ALT key to remove the red area from the selection.  Resampled the other background colour, and Alt backspace to fill.
    I did wonder if there was more going on in background because the tiny graphic you uploaded has some artefacts and I was not sure if they were supposed to be there, but a simple graphic like that is an easy thing to create from scratch.   When I have to include a logo in magazine artwork, and only have a horrible little sample that I couldn't bare to put on the page, I enlarge it to a useful size, and use it to trace a nice, new, clean graphic from scratch.  

  • Word 2007 to PDF with Background Color

    Hello,
    We have a Word 2007 document which has a Blue background and White Fonts.
    When we print to PDF, we can only see the Blue background and the fonts are NOT visible
    Any ideas?
    Thanks!!!

    Well, now I'm confused <g>.
    Following your directions:
    --| opened a new DOCX with Word 2007 & saved
    --| then, from the Page Layout ribbon; Page Color > selected a Theme Coler of dark blue (top row, 4th from left)
    --| entered some text (creatively, I entered "This page has a blue backgroud)
    This text had the default font color (black)
    --| selected the text string, right clicked for the context menu, selected "Font"
    --| in the Font Dialog, used the "Font color" drop-down to change the font color
    --| selected "white" (top left selection from the Theme Colors)
    --| from the Acrobat ribbon, opened Preferences
    --| used my default configuration:
         --| Settings tab: all selected except - Create PDF/A-1a 2005 compliant file & Attach source file
         --| Security tab: the add-in default (nothing selected)
         --| Word tab: first choice not selected; other two selected
         --| Bookmarks tab: first and third selected, second not selected
         --| Video: as-is with the default selections
    --| clicked Create PDF & Save
    --| output PDF: page background is the dark blue; font color is white & readily viewed.
    fwiw -
    Used MS Word 2007 (Office Enterprise)
    Vista Ultimate
    Acrobat 9 Professional Extended (TCS v2)
    PDF output via Adobe PDFMaker (the "Acrobat" ribbon)
    Time for a glass of the wine left over from yesterday?
    Be well...

  • Newbie- having troubles with background color when opening new document

    Hey everyone and thanks for the help in advance. New to the forums and haven't been able to find the answer online. Whenever I open Photoshop (using Adobe Creative Cloud) I set my size, my background to white, etc. The document always opens looking like this: http://screencast.com/t/BzCYc4akl
    Almost like it's transparent but I don't have that selected. Can anyone help here? Thanks!

    Hi,
    It looks like the Grids are enabled.
    If in photoshop you go to View>Show and click on the word Grid, does that make a difference?

Maybe you are looking for

  • Remote update manager creative cloud app

    Hello, remote update manager won't update the creative cloud app for windows. Is it intended, that we need a separate tool to update the CC-App? Are there any manuals describing how to automatically update it? Since users in out company don't have ad

  • Safari PDF download is suddenly very slow

    I recently updated my Acrobat Reader to version 8 - which seemed to work wonderfully in Safari (v2.0.4). Starting this week, March 4th, my Safari browser takes severely longer to open PDF files - many times taking so long that I'm forced to Force Qui

  • Ipod 4G with bad memory

    Hi all, First time poster, so please be gentle. I'm having a problem with my 4G Ipod with colour display. When I finish using it I hold the play/pause button until it goes into standby and put the lock on. Normally, it fires straight back up when I t

  • SAPbouiCOM.DBDataSource.Query and Date fields

    When I try to add a Condition that uses an Alias for a database field of type datetime, the Query method crashes. Is there a specific Date format that I am supposed to use? I am currently using the SAP date format and I also tried the database date f

  • CCA Retraction Problem

    Hello all. I have an retraction problem. I'm trying to retract from SEM-BPS to r/3 and it works, but the problem is the zero values. If, in my layout, I delete an entire row (0costelmnt; 0cs_partner; 0coorder; KF values) the retraction doesn't works.