Setting FillColor to transparent

Hello all,
I am having a problem with a form I am laying out in LiveCycle Designer. I have a textfield that users click on and enter information. After the users are done updating the text field, if the text field contains a value I want it the fillcolor to be white. If the text field contains no value, I want it to be tranparent.
I already have the code to check to see if the text field is empty or if it has a value. My problem is in making the field transparent. In previous versions of Acrobat I used to use:
this.getField("FieldName").fillColor = color.white;
and
this.getField("FieldNme").fillColor = color.transparent;
this.getField no longer works with this new Acrobat. Instead, with LiveCycle Designer, for white, I am using:
this.fillColor = "255", "255", "255";
which works perfectly. I don't know how to set the transparency.
this.fillColor = color.transparent;
does absolutely nothing.
Does anyone know what I am doing wrong?
Thanks in advance,
Matt

Chris, first off thank you so much for your patience. I really appreciate it.
I opened your sample file and it works perfectly. But when I create something similar myself it simply doesn't work. I created a brand new file, inserted an image, and inserted a textbox on top of it. I gave the textbox a white fill, and I copied and pasted your code into the text field's Exit event. And it just doesn't work.
What's more, I tried copying and pasting your textbox and image into a file of mine, and yours didn't work in my file.
I have uploaded my sample. I don't know how to attach files to these messages, so you can find it at:
If you could just take a quick look at it and let me know what I am doing wrong that would be great. I'm sure it's something minor.
Oh, and for the record, I am using Adobe LiveCycle Designer Version 7, 0, 041126, 0 Cipher: 128-bit, in case that has something to do with it.
This is driving me up a wall. I thought this would take 2 minutes to do and I have literally spent hours trying to make it work.

Similar Messages

  • Setting Transfer Mode & Transparency level in a text box

    I am writing a text file to import into a quickTime movie to create subtitles. I would like to set the transfer mode and the transparency level inside my text file. Is there a way to do this?

    It's not as easy with QuickTime version 7 as it was in previous versions so some trial and error export may be required:
    http://docs.info.apple.com/jarticle.html?artnum=42643-en
    Two of my many "movies" that use text tracks:
    http://homepage.mac.com/kkirkster/Lemon_Trees/
    http://homepage.mac.com/kkirkster/03war/
    Adjustments to the "text with descriptors" file can be set with the Movie Properties window of QuickTime Player Pro.

  • How do I create a set of framed transparent windows?

    Hello All,
    I want to create a set of framed windows that are transparent, so that I can place any image below the frame in the stacking order, and the image will show through the windows.
    If it worked, the image below would show the trees though the five windows instead of the five white rounded rectangles, but the grey gradiant and the text would remain.
    I thought masking could do it, but
    Masking crops the image to the window, but it also removes the grey gradiant frame, and
    I can't get masking to work with more than on window, even if I group the five windows.
    Thanks in advance for any assistance with this little puzzle.

    For my part you are welcome, ac.
    To get the round corners appearance to work, you can just select all the rectangles with the Rounded Corner effect and Object>Expand Appearance: that will change them to simple/regular rounded rectangles.
    when you make a compound path, it's stacks at the top of the layer
    Not quite: it is stacked where the topmost constituent path was, so at least one of the rectangles with the Rounded Rectangle effects must have been above the live Type.

  • Setting image background transparent

    I want to know how can I set the background of an existing images to transparent. I am a web desginer and currently i want's to change background color of one of my site http://twxdroid.com but here the problem arises that some of my used images background won't match up site background, so someone plz tell me how to change existing image background transparent. I heard about using magic wand selection tool or quick selection tool to make transparent but still can't figure out how to use them.

    • if the Layer is a Background Layer change it to a regular one by double-clicking it
    • make a Selection with whatever Selection Tool is appropriate
    • if you selected the background use Select > Inverse to invert the Selection
    • Layer > Layer Mask > From Transparency
    • if further corrections are needed paint on the Layer Mask – black to hide, white to show the Layer’s content
    • save the layered file as psd, psb or tif
    • File > Save for Web … to save a copy a format that fits your needs (png-24 for example)

  • Set Transfer Mode & Transparency in a QuickTime Movie

    Greetings All,
    Working with QuickTime, I would like to know how to set the transfer mode to blend and the transparency of a text box to 50 using an applescript.
    Any ideas?
    Message was edited by: johnmiller1950

    I figured it out. I added the following lines when building a script
    set transfer mode of track "Track Name" of front document to blend
    set transparency of track ""Track Name" of front document to 50

  • How to set Window background transparent?

    hello
    i have a splash screen with an Image on it and i want the background of the Window object would be transparent, how can i do it?
    here it is:
    public class SplashWindow extends JWindow{
       public SplashWindow(){
          try{
             JLabel img=new JLabel(new ImageIcon("images/splash.gif"));
             getContentPane().add(img);
             setSize(473,534);
             setLocation(300,300);
             setVisible(true);
          }catch(Exception e){
             e.printStackTrace();
    thank a lot.

    Generally, transaprent backgrounds are fake. What happens is that you set an image as yoru window background and listen for window's moves. When the window is moved, you read the new location and the desktop background and update your window background with the portion of desktop image you have below your window.
    Choub

  • PS CS4: Automatically set background to transparent

    Hi!
    I have a small but annoying problem:
    After a fresh Windows installation I installed Photoshop CS4 again. Since then, whenever I open an image of any format, when I cut out a segment, the background underneath appears white, whereas before the new installation, it had automatically been transparent, regardless of the file format.
    Now, when I want a transparent background, I have to double-click on the "layers" window so that a new layer ("layer 0") is created. Then, when I cut out a segment, the background automatically is transparent.
    Now, my question is, how do I set up Photoshop so that the background of any image opened in Photoshop automatically is transparent?
    It used to be the case before the new installment.
    I know, it's a small problem, but a very annoying one.
    Thanks!

    Sorry, I can't believe your statement:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    ... it had automatically been transparent, regardless of the file format.
    A JPG image for example NEVER can have a transparent background.
    How do you open your images?
    Is it something like Copy > File New > Paste?
    What file formats do you edit generally?
    miss_marple

  • Non smooth text became antialiasing when set stageStyle to TRANSPARENT

    The smooth attribute of a Text was set to false, it works fine when stageStyle is decorated or undecorated. However, when stageStyle was set to TRANSPARENT, the Text was changed to antialiasing automatically. Anybody knows how to fix this problem?
    Thanks in advance,
    Cecil

    Bryan,
    I attempted to adjust the white level, the field order, but don't think ever got to messing around with FCP's processing settings...I am actually encoding the film right now as I was under the gun and actually found the "scroll" plugin in FCP to work just as good if not better than Motion without any tweaking so had to roll wth that. I will attempt to tweak the Motion file again though as I cannot bear sub-par credits. Will also email you the Motion file if you don't mind.

  • Muse cc 2014 - browser fill can't set back to transparent

    in muse cc 2014 i can set my browser fill to any solid color, but then when I try and set it back to "transparent/none" it doesn't work...
    not sure why, is this a bug?..
    -thanks

    It's not currently supported by Muse, but there is a case where it's useful. Using an <iframe> one web page can appear within another. In that context you sometimes want the child web page to have a transparent background so the content of the web page it's appearing within is visible.

  • Switches have a VTP Mode set to "server" can I set them to "Transparent" on a live network?

    Currently our cisco 2960 switches at location "B" have a VTP Mode set to “server” I want to change this to “Transparent”
    They have VLAN1-default (active) 10.1.10.81; VLAN2-patron(active) 192.168.10.2; VLAN3-vlan0003(suspended) no ipaddress; VLAN4-vlan0004(suspended) 192.168.20.2
    I want to delete VLAN3 and VLAN4
    The connection between loc "A" and "B" is set to “Static Access VLAN1” I need to change it to “Trunk Nonnegotiate Vlan all” for our vlan2 at loc "B" to work.
    Reason for this change, when I added these switches to our network about 6 months ago it brought my network down, Knowing what I know now I think they wrote their settings to all the other switches that were vtp server switches on our network, VLAN3 and 4 were set to active at that time.

    Switching from server to transparent vtp mode will not disrupt your network, the existing vlans will still be available, modifications however will need to be executed manually on the transparent mode switches.
    If the interfaces between location A and B are configured as access ports, VTP will not work as it is only in effect on trunk links.
    Before adding switches to an existing VTP domain, best practise is to configure transparent mode to set the revision number to 0. This way the VLAN database of existing switches will not be altered when connecting the switch.
    HTH,
    Bert

  • How do I set the opacity/transparency of a text box

    Hello,
    I am trying to make a simple applescript to make a "FPO" which will be transparent at 50%
    tell application "Adobe InDesign CC 2014"
      tell active document
      set FPOimage to make text frame with properties {geometric bounds:{".25", ".25", "1.5", "4.2"}}
      set contents of FPOimage to "FPO"
      tell paragraph 1 of FPOimage
      tell paragraphs to set justification to center align
      set point size to 125
      set applied font to "Arial Black"
      set font style of paragraph 1 to "Regular"
      end tell
      tell text frame preferences of FPOimage
      set vertical justification to center align
      set opacity to 50
      end tell
      end tell
    end tell
    BUT ITS NOT WORKING...help?

    I figured it out...
      tell FPOimage
      tell transparency settings
      set properties of blending settings to {blend mode:normal, opacity:40.0}
      end tell
      end tell
    thank god for the internet, i do hope this helps anyone else looking to do the same thing. Next challenge is to make a dialog box so that the user can put any text in it and color they want.
    - Cheers!

  • How to set alpha or transparency of ComboBox

    Hi,
    I'm using AS2 with Flash CS4. How can I change the alpha of a ComboBox?
    I tried:
    MyCombo._alpha = 25;
    // and
    MyCombo.alpha = 25;
    but both have no effect on my ComboBox, it just appears to have the alpha set to 100.
    Many thanks in advance

    Nevermind, I solved it by not using _root. in front of the combobox name.
    Does anyone know how to set the alpha of the background only of a combobox? Currently the entire combobox is being faded so the text and border is hard to see.

  • Setting backgroundColor to transparent

    Hi All,
    I'm using the tree component, and wondered if there was a way
    to set the backgroundColor style to "none".
    I saw one user used this.tree.setStyle("_alpha","0"); This
    had some success, but it also removed all color for my depthColors.
    Basically, is there a way to remove background color for the whole
    component and still have depthColors?
    Thanks
    Dave
    However I also want to have

    Chris, first off thank you so much for your patience. I really appreciate it.
    I opened your sample file and it works perfectly. But when I create something similar myself it simply doesn't work. I created a brand new file, inserted an image, and inserted a textbox on top of it. I gave the textbox a white fill, and I copied and pasted your code into the text field's Exit event. And it just doesn't work.
    What's more, I tried copying and pasting your textbox and image into a file of mine, and yours didn't work in my file.
    I have uploaded my sample. I don't know how to attach files to these messages, so you can find it at:
    If you could just take a quick look at it and let me know what I am doing wrong that would be great. I'm sure it's something minor.
    Oh, and for the record, I am using Adobe LiveCycle Designer Version 7, 0, 041126, 0 Cipher: 128-bit, in case that has something to do with it.
    This is driving me up a wall. I thought this would take 2 minutes to do and I have literally spent hours trying to make it work.

  • Set FDF file path

    Greetings,
    I have created a form that checks if fields are complete and if so, attaches a FDF file to an email.
    Here is my code:
    var f1 = this.getField("0_type").value;
    var rFields = new Array(
    ["0_type", "Form Type"],
    ["1_account_number", "Account Number"],
    ["1_name_sale_source", "Your Name and Sales Source Number"],
    ["1_pu_facility", "Pickup Facility"],
    ["1_territory", "Pickup Territory"],
    ["3_billing_name", "Billing Contact Name"],
    ["3_company_name", "Billing Company Name"],
    ["3_phone", "Billing Contact Phone"]);
    if(f1 == "re")
    function FormComplete()
    var bComplete = true;
    var errMsg = "";
    RemoveHighlights(["0_type", "1_account_number", "1_name_sale_source", "1_pu_facility", "1_territory", "3_billing_name", "3_company_name", "3_phone"]);
    for (i = 0; i < rFields.length; i++)
    if
    (this.getField(rFields[i][0]).valueAsString == " ")
    bComplete = false;
    errMsg = errMsg + rFields[i][1] + "\n";
    this.getField(rFields[i][0]).fillColor = color.red;
    if (bComplete != true)
    app.alert("The following field(s) need to be completed for a Reactivation request:\n\n" + errMsg,
    1, 1);
    return bComplete;
    function RemoveHighlights(aFields)
    console.println(aFields.length);
    for (i = 0; i < aFields.length; i++)
    this.getField(aFields[i]).fillColor = color.transparent;
    return;
    if(FormComplete())
    this.submitForm({cURL:"mailto:[email protected]?subject=Reactivation Request for "+this.getField("3_company_name").value+" #"+this.getField("1_account_number").value+"&body=Thank you for completing this form.%0A%0AReactivation requests require management approval. Once approval is granted your request will be processed.%0A%0AThank you,%0ASales Support Team&[email protected]"});
    Here's my problem:
    Users are saving the source file in different locations on their hard drives. And, some times they rename their files for future reference. When the exported FDF file arrives it is looking for that source file in the obscure location and when it doesn't find it, prompts the user to locate the file for it. We then navigate to the correct file and the FDF opens correctly.
    Here's my question:
    Using javascript, can I set a specific file path and file name that the FDF will look for when opened? In other words, if a user saves the file in some obscure place with a weird name (like XYZ), the FDF will always look for ABCD file on the desktop.
    Possible? If so, please kindly post a sample script.
    Thx,
    rob

    Not with the submitForm() method.<br /><br />You could use var myFDF = app.newFDF() then set the /F tag with myFDF.addEmbeddedFile(<path>);<br /><br />The only problem is that newFDF() is a security-restricted method so you cannot use it in document-level JavaScript, only folder-level.  If your workflow requires that you use document-level JavaScript then you will not be able to overwrite the /F tag in the FDF generated by submitForm() using any SDK methods.

  • How can I make a window transparent but keep its objects opaque in Cocoa-Applescript?

    How can I do this in Cocoa-Applescript, Xcode? As well, is it possible to blur the area behind where the transparent window is?

    You can set the window transparency with something like:
    theWindow's setBackgroundColor:(current application's NSColor's clearColor)
    theWindow's setOpaque:false
    I haven't seen a way using public APIs to blur behind the window, but I'm not sure about using ASObjC with stuff like Core Image, anyway.
    You might also try something like setting the background to a gray color and play with the grayscale and alpha values (colorWithCalibratedWhite:0.0 alpha:0.2, for example).

Maybe you are looking for

  • Burning NTSC vs. PAL

    I have moved a great deal of my DVD library into iTunes and have never cared about NTSC v PAL. However, I may be moving from the US to a country where PAL is the standard. What should I be worried about? Are the videos in my library going to be usabl

  • Youtube video stops mid video

    Watching videos on youtube it happens that videos tend to stop somewhere while playing. Going to the end thumbnails, so its not buffering. It will play past the point if reloaded but is very likely to do the same thing again. Any idea what could be c

  • Partitioning Fact Tables -- experiences, notes, documentation

    I have gone through section 3.8 of the OBIA Installation and Configuration Guide -- "Partitioning Guidelines for Large Fact Tables". Frankly, I find that documentation inadequate and using a poor example. I am looking at partitioning W_GL_BALANCE_F .

  • Assertion: verticalPosition 0

    Hi all I am suporting user that has received error message like this within berowsing some reports results. I am new in BI therefore any help will be realy appreciated 500 Internal Server Error   BEx Web Application Failed to process request; contact

  • Organizational structure in export mode

    hi all,        pls help me out in knowing abt the organizational structure in  expert mode in detail. thank you.