Selection Color of a text box

As one of the project requirements, I have to provide a
functionality in my application to be able to change the selection
color of the text box. Having no provision in Flash, I searched on
the net and found one good example of doing that with
flash.geom.ColorTransform and TextFormat classes. It works fine
with windows. However, it doesn't work on Mac OSX. I am using Flash
8 with AS 2.0 for development.
I am seeking some support from all the brilliant developers
here. Can somebody help me with a solution to this problem?

Create 4 radio buttons, all called the same name, but with export values of cent.grn, cent.amb, cent.red, cent.blk.
Then use this as the custom calculation script for the text field:
var v = this.getField("myRadioButtons").value;    //Replace myRadioButtons with the name of your radio button group
if (v=="cent.grn"){
this.getField("tf.assmnt.stat").fillColor = color.green;    
else if (v=="cent.amb"){
this.getField("tf.assmnt.stat").fillColor = [ "RGB", 1,.5,0 ];
else if (v=="cent.red"){
this.getField("tf.assmnt.stat").fillColor = color.red;
else if (v=="cent.blk"){
this.getField("tf.assmnt.stat").fillColor = color.black;

Similar Messages

  • How do I change the font size and color in a text box?

    How do I change the font size and color in a text box?

    Really frustrating to find the first time but simple once you figure it out. I think I spent hours trying to find this. Simply right click on a blank spot in the toolbar up top and select Properties Bar. There it is! The available properties will change depending on whether you have the content (text) selected or the box itself.
    I haven't found a way yet to make it show up as a regular part of the toolbar. It floats around and gets in the way so I don't leave it on and then have to open it again when I need it. Again - frustrating; but at least it's there!

  • How do I change the font size and color in a text box in Adobe Acrobat 9 Pro (ctrl e does not work)?

    I need to mark up scanned pdf documents with text box comments. I can insert the text box and type text but I cannot change the font or color. When I press Crtl E, no tool bar appears in the menu bar. What does appear in the menu bar is "No current selection". Please advise.

    I am already doing that: creating the text box, typing the text, selecting the text i.e. highlighting the text. This morning, for a scant minute, the properties tool bar appeared and I was able to refine the text in a text box. Then it disappeared never to be activated again this morning.
    I work half of my weekly hours at this client office and I only have this problem on their pc and adobe software (version 9 pro). When I am home, my laptop and the adobe software (version 10 pro) is fine. I can create the text boxes and refine the format at will with no issues. Could it be a software version and/or update issue? Thanks for any assistance.

  • How do I save a font and it's size and color in a text box as a default

    I am using Adobe Acrobat XI for Mac and can't figure out how to set a default font for text boxes. I don't seem to be able to access the properties to set the default by highlighting a properly formatted text box and pressing ctrl-e. Is there another key combination for Mac? Or another method for setting defaults? I'm finding I have to set the font, size and color every time I open a new Acrobat doc and want to add a text box. Also, the choices are not even saving with the document. The fonts already typed save correctly, but on reopening, I have to reset if I want to add more text.
    Thanks in advance for any help,
    Tom Carlson

    Thanks for the suggestions. I've got a Logitech G700S Mouse with a right click button, so right-clicking isn't an issue. Unfortunately, the I can't seem to find the menu to "Use Current Properties as New Defaults." I may not have described the problem correctly.
    I am adding text to a pre-existing pdf document, not creating a form. I would like to be able to set a default font, size and color for text, so that when I enter text in a text box onto the pdf document, it has those properties. If I select the text box that is properly formatted (not the text, but the box) and right click, the only choices I get are:
    Cut
    Copy
    Delete
    Select All
    Deselect All
    Arrange>
    Edit Using>
    So I gues my question is if one can even format a text box as a default or a "style" or the like. I tried setting a default font, size and color for "comments" also in the Acrobat preferences, but even that didn't seem to stick when I opened a new doc. This all may just be a Mac / Mavericks interaction flaw. Anybody have any other ideas?
    Tom

  • Find and Replace Font Colors in Multiple Text Boxes

    Hello,
    I have Illustrator version 15
    I made many text boxes with multiple colors, red and black on each letter. I was wondering if there is a find and replace tool for multiple text boxes. I want to change the reds to black and the blacks to light grey. I tried clicking on change swatch color but it only worked for the letter I had selected, even with the global option selected. I then when to select -> Same -> Color Stroke but it just selected each text box on the page....Is there anyway to do this?
    Jordan

    Not exactly a find and replace but you can do it.
    Select the text frames yu want to change the colors using the shift key to click select the frames.
    Then go to Edit>Edit Color>Recolor Art
    You wll see a dialog with red and black bars along side two shorter bars click the shorter bars to select a New Color a color picker will appear you can use the swatches or the color mixer.
    There is a live preview /so you will see the change in case you want to pick a different gray, of course you can always go back to the recolor art dialog.
    I am afraid you manually have to select text frames with multiple colors in order to accomplish what you want but the method above I believe is the only want to change the colors.
    This video shows how the dialog works but pretend the one frame I did not select is another color.
    http://www.wadezimmerman.com/videos/RecolorText.mov

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Can you no longer have a background color for the text box in the new version of hp photo creations

    just updated to the new version of HP Photo Creations, used to be able to have a colored background for the text box - is that no longer possible in this new (not better) version????!!!!! Uuuuuuuuuugh

    Hi Lainey.
    Thanks for asking. We're working on bringing back that feature. In the meantime, here's another way to add text backgrounds: Add a placeable graphic and then click the Arrange button to send it to the back, behind the text.
    That approach also gives you more interesting shapes. The new alignment guides make it a snap to align a graphic with a text box. In the example below (it may take a day for the image to show up here), I also used the new Premium Editing Features to change the color of the graphic.
    P.S. — Applying a thick border to an empty text box (also using the Premium Editing Features) is another way to create a background shape. That has the advantage of letting you pick any color for the box. You'll also find several new text styles at the bottom of the new text menu.
    Let us know if we can help further,
    RocketLife 
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • How do I add color to a text box border in Pages app?

    Can't find it anywhere. And don't have time to keep looking. Wondering if you can do this in Pages (in Word, you insert text box, then under Format you get in drop down menu "Borders and Shading" and then you can add color just to the border).
    Can you do this in Pages app? I've looked everywhere.
    Thanks! You'll save me a boatload of time.

    Pages ’09 v4.3
    Inspector > Graphic > Stroke
    Pages v5.2.2
    Format > Style > Border
    In either case, the color well will appear.

  • How to change color in menu text box

    In a pop up menu generated with spry, I get get colors for text and back ground as I want excet for the background color in the parent text box when the mouse goes over the text box. The background goes blue and I cannot find how to find. Where is this control in css??

    Add the following style rules to your document
    <style>
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible {
        background-color: pink;
        color: grey;
    </style>
    replacing the colours to suit your requirements.
    I hope this helps.
    Ben

  • Color in the text box

    hi friends,
    i am working on oracle forms 6i. I am having a text box with multiline. I used to display the values of 3 text boxes in to a single text box ( text box with multiline ). The values of the text boxes must be in different font color, so that it will be differentiated between them.
    text = multiline text
    text = text1 + text2 + text3 ( text1, text2, text3 must be in different color)
    please help.

    Hello,
    It is not possible to set different colors in the same text item.
    All you can do is to create sevreal text items, set them border bevel property to none, arrange them (arrange -> align components -> Horizontal : left, vertical : stacked)
    Then draw a rectangular shape arround and set it's border bevel property to inset.
    Then, you have 3 different items, but visually, you think there is just one.
    Francois

  • Font color in text box

    Here's the scenario.  User copies text from black and white document in acrobat 8.2.  User then goes and pastes the text into a text box on a different page.  When the user leaves the text box, the text all goes to the same color as the text box background and looks like the text has disappeared.  The text can then be selected (although you can't see it until you hit ctrl+A or drag mouse).  Once the text is selected it can then be changed to a different color and viewed.  Although, sometimes the text is now in a different font (Symbol as far as I've seen).  The default text color is black.  This doesn't happen every time for various text throughout the pdf.  It does happen when trying to select the same problematic text.  I've tried uninstalling/reinstalling Acrobat and I've been unable to reproduce the problem on two other computers working with the same document.  Selecting the text and changing the color is "too much work" for the user and I'd like to find a more permanent solution.  Any suggestions please...

    sorry folks, found my answer..
    if anyone else has the problem - select the text, go to View - then toolbars - the the properties bar and the font is in that bar...

  • Show text box from one combo box selection

    Total newb here and need help.  I tried searching for a javascript to copy/paste, but without any luck.  I am using Acrobat Pro 9.2.0.  If you could help me out with the javascript or with directions on how to make the following be accomplished, I would be greatly appreciative.
    I am creating a fillable PDF and currently have a combo box that is labeled "Internship Satisfied By" with the options of "TCoB PDP", "MRKTNG 4185", and "Other College".  I would like a hidden text box (where the end user can fill in to explain) to become visible only when the end user selects the "Other College" option, but stay hidden for the other selections.  The hidden text box is labeled "Internship Explained".
    Thanks in advance! Jarrod

    Use this code as the combo box's validation script:
    if (event.value == "Other College") {
    getField("Internship Explained").display = display.visible;
    } else {
    getField("Internship Explained").display = display.hidden;

  • How can I change the background color in text box using RGB format

    Can some one tell me if Mac Pages (version 5.0) allows users to customize the background color of a text box using RGB color format?  It appears that the text color can be changed using RGB but background color is limited to a few standard colors.   Thanks

    They are just sample swatches, use the Color Picker to choose anything you want.
    Peter

  • A text box should appear based on combo box selection in a jsp page.

    Hi,
    I have this problem. I ahve an option in the combo box"other". If other is selected then a text box shud appear . Can any one post a quick answer for me. may be a sample of how to do it will help me a lot.
    Thank You,
    Sagar.

    Hi Guys,
    Thnx all for ur replies. Let me explain u the scenario which i work in now. I have a combo box with 4 values "other " being the last of them. If i select "other" then a text box shud appear with the label. what happenes now is i have added onChange whn an option is changed . I have named that functiion refresh for which the code goes like this..
    function refresh()
    window.location.reload(true);
    whn i select an other option thn the whole page gets refreshed and the first value only appears. If i select other then the page refreshes and gets back again to the first value. These guys here use tags like <c: if> <C;choose> <c: otherwise> which am not familiar with. Do pls help me in retaining the option selected.. Thank You.

  • Color conflict when printing text boxes layered with images

    Thank you in advance for any insight on this question. I've got a text box grouped with an image in a Pages document. The text box is layered in front of an object and is transparent (no fill color in the text box). The object however, is filled with a color. When printing the document, the image comes out in two shades of blue even though the text box is transparent. Thoughts?

    Want to add that if you uncheck the Retain Slide Quality Settings, you'll have to keep the High setting.
    Another way to change slide quality is before publishing, and in that case I prefer Optimized to High (which is not possible when overriding the Slide Quality on publishing, there you only have the choice between Low and High).
    Still I'm puzzled because the simple TEB normally do not cause that kind of quality issue, have seen it happening with shapes (because they have transparent pixels) and images, but with TEB's? Wondering
    Lilybiri

Maybe you are looking for

  • How to get breakup of Supplier Liability A/c

    Hi, I am want to develop a report which gives breakup of Supplier Liability a/c. Liability A/c: 01-00-00-12111-00 Supplier: abc Invoice_number.................Invoice Date...................Invoice Amount................Remaining Amount Sub-Total Sup

  • Retrieve and read incoming emails and their attachments

    Hi, Does anyone have experience of retreiving incoming emails and their attachments using PLSQL? We have a requirement to process the data contained in csv files. These files are sent as attachments with emails and the number of attachments sent with

  • How do I open software instrument interfaces like ES1, etc?

    I am completely new to Logic. I just got Logic Pro X and even after browsing the manual, I can't figure out something that should be pretty simple: how do I open the special visual interfaces for the software instruments like ES1, Sculpture, etc.? I

  • Distribution Profile / Customer Specific Forecast Release

    Hello All, I have a small question about the distribution profiles in Demand Planning. We use MRP and VMI scenarios. 1. While using VMI, we release forecast from DP to SNP using a distribution profile for each location. We get the percentages based o

  • Check Out Records through Workflow

    Hi I want to Check Out records that are added through Import Mgr untill they are reviewed and approved. However, if i enable "Check Out Records" for Start activity and select "Action on Records" as "Check In" for Stop activity - the Workflow fails to