Need Image to be transperent so that the Text would be also visible below that .

Hi ,
I am having some Text content (About Companys information  3 paragraphs of data) , getting displayed on the
screen with the help of TextArea componet .
All this is working fine .
Now i am trying to display an Image on to  the screen , in such a way that both the Image and the text should be visible .
Means in one word i want image to be transperent so that the Text would be also visible .
Is this possible ?
Please share your ideas .
Thanks

Hi Kiran,
Try to use the below code and use the background image which you want to use for the Image Tag.
<mx:Canvas id="canvas"
   width="100%"
   height="100%"
   backgroundColor="#000000">
   <mx:Image
    source="assets/image/web20_Source.png"
    width="100%"
    height="100%"/>
   <mx:TextArea id="text"
    width="100%"
    height="100%"
    backgroundAlpha="0"
    focusIn="event.currentTarget.setStyle('backgroundAlpha',0.5)"
    focusOut="event.currentTarget.setStyle('backgroundAlpha',0)"
    color="#ffffff"
    >
    <mx:htmlText>
     <![CDATA[This is a demo for applying a background for TextArea.]]>
    </mx:htmlText>
   </mx:TextArea>
  </mx:Canvas>
If this post answers your question or helps, please kindly mark it as such.
Thanks,
Bhasker Chari

Similar Messages

  • I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    While not in edit mode:
    - if start typing numbers, then it enters number mode.
    - if start typing text, then it enters text mode.
    Using the arrow keys exits edit mode. So this should work for you:
    1 Type text into a cell, which enters text mode.
    2 Press Return to move to the next cell.
    3 Press right arrow key to exit edit mode.
    4 Press left arrow key to get back to the cell.
    5 Type a number, which enters number mode.
    Another method that requires more planning ahead of time is to format the cells as text or number before starting the data entry. Then when you navigate to a cell while in edit mode, you will be in the appropriate mode (without having to exit edit mode).
    This all works fine for me. Hopefullly it does for you also.

  • When preview my ibook on IPAD the text on the edge of the text box is not visible.  How do I fix that?

    When I preview my ibod created in Ibook Author on my IPAD some of the text on the edge of the text box is not visible.  How do I fix that?

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    Does it happen when you reply to an email? If so, it might be that there's content in the original email (like an image or something similar) that overflows the window content, therefore the Mail app, when you hit the border, follows the content below instead of going on a new line. You might wanna try that.
    Also: Please do not post the whole question in the question title.

  • When i open facebook and only text shows and all is to the left and when i open hotmail nothing shows on my screen and other webpages have problems also when click at a link all the text comes up also to the left in my screen whats wrong ???

    When i open facebook and only text shows and all is to the left and when i open hotmail nothing shows on my screen and other webpages have problems also when click at a link all the text comes up also to the left in my screen whats wrong ???

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    * http://kb.mozillazine.org/Websites_look_wrong
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • Is there a new virus that affects Firefox? My browser is fine for a while and then the text will disappear, also some of the control buttons.

    This has been going on at least 3 months with the browser. The back arrow will disappear, sometimes the text completely disappears, sometimes you can see it but its unreadable, looks like the letters are missing pixels. Sometimes the images get corrupted with black pixelation. If you quit and restart it goes away, for a while.
    The problem seems to be affecting my online games as well. I play "Steampunk Tower" on Yahoo!'s free game tab and it always crashes my machine hard, as in abruptly shuts down the system with no warning. This is not the only game to be affected.
    I have both McAfee and Norton 360 and they find nothing when I scan, but they can only detect what they know about so I'm looking for something new and unreported. Or maybe an update failed or has corrupted a file, I don't know. I do know that its very irritating and I'd like to fix it, if possible.

    hello, maybe that's an issue with hardware acceleration - please try [[Upgrade your graphics drivers to use hardware acceleration and WebGL|updating your graphics driver]], or in case this doesn't solve the issue or there is no new version available at the moment, disable hardware acceleration in ''firefox > options > advanced > general''.

  • Why when i paste an image in a textflow it adds the text image name too?

    Hi,
    I'm trying to solve this behaviour:
    I copy an image in my desktop with CTRL+C/CMD+C.
    Then in my application I paste the image in the textflow with CTRL+V/CMD+V... but it adds the image and the image name (as text), instead I want it adds only the image!
    So, I'm listening the Event.PASTE event and get image from Clipboard.
    I save the file in the FILE_LIST_FORMAT in an object and I try reset other formats, like TEXT_FORMAT, where Clipboard store my image name...
    but nothing change.
    Do you have any suggestion please?
    Thanks!

    You might be able to handle it by listening for the paste event in the textFlow
              myTextFlow.addEventListener(FlowOperationEvent.FLOW_OPERATION_BEGIN, handleFlowEvents);
    private function handleFlowEvents(e:FlowOperationEvent):void {
                                  if (e.operation is PasteOperation) {
                                                 trapPaste(e.operation as PasteOperation);
    And then manipulate the PasteOperation in trapPaste()

  • How Do You Make an Image Flow with the Text?

    Hello all,
    I am using CS4 InDesign on Windows Vista. I am fairly new to Indesign but try to do my research and homework well before asking what I hope is not a really dumb question.
    I am writing a book of approx. 350 pages that is an illustrated encyclopedia of 156 plants and their oils.
    Each 2 page spread is a single entry for a plant. The graphics frames on each spread are identical in size, position and styles for a consistent look throughout the document.As you can see (hopefully) each page is a single column. See screenshot below
    In order to overcome my first problem of positioning and sizing the graphics frames uniformly, I created the master pages with the graphics placeholders sized, positioned and formatted to my liking. This worked wonderfully and I placed all of my 300+ graphics by simply over riding each frame.
    Then in my editing I decided to add another 2 page spread somewhere in the middle of this fairly large document.
    What a NIGHTMARE. The text predictably shifted but now ALL of my graphics were no longer associated with the corresponding text! Arrrgghhh.I had not anticipated this behavior (used MS Word for 15 years) or I would have done something different.
    3 hours later I finished re -"placing" the images associated with the correct text.
    I researched the help file and found out about the neccessity of anchoring graphics to text. I have read through the threads in this forum, followed links to "indesignsecrets.com/make-an-image-flow-with-the-text" and " Working with anchored objects by Anne Marie Concepcion"
    My concerns are this.
    An inline graphic places the graphic back onto your text layer for some reason ( Previously my graphics each had their own layer)
    Not wanting to start (again) from scratch with my graphics I converted them to inline/custom anchored objects.
    But to select then cut then paste every pre existing graphic to anchor it inline seems to be cumbersome and counter intuitive although the top smaller graphic did position well and the text seemed to wrap ok.
    When I placed the larger bottom graphic on the left facing page using custom positioning I was not able to get the text to wrap at all.( The in line anchoring did not seem to allow for positioning on anything but the 'Y' axis).
    It seems that there would be a simpler way to place text and graphics where you want them and have them associate and flow together (or not) when you want them to and have text wrap easily around an anchored object without keyboard gymnastics. It would seem that the concept of a certain graphic being associated or linked with certain text would not be an unusual concept in desktop publishing.
    Am I missing something?
    Can you place an anchored graphics frame on the master page with your desired options?
    How would this be done if possible?
    Is there any other way (i.e grouping) to keep graphics associated with the desired text so that it flows together if extra pages are added?
    Is the fact that my graphics frames are on my master pages responsible for my text wrap difficulty? (I have text wrap enabled on my master pages)
    Are there any settings, redundant or otherwise, I need to be aware of?
    Thank you in advance for any suggestions or directions
    L.N.

    Hello Again,
    Thank You Bob but I am still a little fuzzy on this. I have already created object styles for the graphics frames. For instance the small graphic underneath the heading (Its a drop of oil) has an object style applied. Now I checked and it has the anchored object options checked in the style dialog box. When I reapply the style to the next similar graphics nothing happens. It is still not anchored. Do I need to create a new style based on "nothing" add my effects plus the anchoring options? Basically start over. If thats what I need to do thats OK. As to your instruction that object styles could accomodate this anchoring thing...thats what I thought too but somehow I can't get it to work. See object style dialog box screenshot below:
    For the larger graphic on the bottom of the left facing page. I still cannot get any text to wrap. In the screenshot example the text describing this particular plant doesn't go to the bottom of the page so the wrapping issue on this page is moot. However I have some entries where the body of the description is more involved and does go to the bottom of the page and the text WOULD need to wrap around the plant (larger ) graphic.
    Hi there Harb, Yes I found out early on that object styles can't apply size (that would be on my wish list for sure) That is why I found that creating my graphics frames on the master page with the correct size, effects and positioning tickled me so much. Can you believe I originally went through and MANUALLY resized and repositioned each and every 300+ graphics in this book but it still wasn't right. I'm nothing if not persistent. (Now if I could just get my grown sons to pick up their socks!)
    Anyway the master page graphics frames idea would be perfect if I could get the images to anchor in their respective spots on the master page as well.
    For your second suggestion. I am not clear about why I would need to break the threads of each spread so that each spread is a seperate article. Is the threading issue the thing that is causing my text to move on leaving their associated graphics behind? If so how do I go about doing this?
    So to recap:
    1. I need to know if I can modify my object style or recreate from scratch with the anchoring option (as I said it didn't work)
    2. Can't get text to wrap around the Custom anchored graphic at bottom of page at all
    3. Im not clear on the breaking the threading on the spreads
    I am willing to go back through and start from scratch (new master pages, styles etc ) if neccesary. This book is the culmination of 7 years of research and artwork.Basically the project is DONE. Now if I can just format it correctly.
    I can't thank you both enough for your time, suggestions, expertise and patience.
    Thanks again
    LN

  • What has happened to the iPad 2 finger select and drag technique? Since upgrading to iOS7 it does not work? I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What has happened to the iPad 2 finger select and drag technique?
    Since upgrading to iOS7 it does not work?
    I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What would you like us to tell you? If it doesn't work, there is nothing that we users can do about it.
    Please submit your feature request to Apple at this link: http://www.apple.com/feedback

  • If Image is Saved As a Text, Would the Image Text, As a Link, Be Indexed by Search Engines.

    Hi I want to put a text long the height of the brown box.
    The text would be vertical as one looking at the page.
    I believe with page make the text can be rotated.
    If Image is Saved As a Text, Would the Image Text, As a Link, Be Indexed by Search Engines.
    or how else to do this?
    an

    If Image is Saved As a Text
    Impossible. It's either image or text.  Save a JPEG as a Word document.  Try it.  Seriously, change the file extension, open it in Word and see what happens.
    Would the Image Text, As a Link,
    Huh?  You lost me here.
    Be Indexed by Search Engines.
    Indexing of search engines.  Yes, Google sees links and Google sees alt text for images.  Google does not see images nor Flash.

  • How to retrieve the text in pa20 (HR-ABAP)

    Hi HR-ABAP experts,
    I Need to retrieve the text stored for a emplyee.below i am giving the full details,
    In Pa20 transaction if we give the perso. no and select the 0008 infotype.then click on overview tab.then in overview screen if  i select any record i.e any period of dates and clicks on display.in display window menu bar
    <b>EDIT-> maintain text</b> .
    they are maintaing some text in that.if i click on display text the text was displaying.
    i need to fetch that data in my custom report.
    can anybody helps from where this text can be selected.which ifotype?.
    hope my question is understood .
    Thanks,
    JK.
    Message was edited by:
            janakiram reddy madi reddy

    Hi,
    <ItemType name="uwl.task.webflow.decision.TS91100000" connector="WebFlowConnector" defaultView="DefaultView">
    <ItemTypeCriteria connector="WebFlowConnector" externalType="TS91100000"/>
    <Actions>
      <Action name="accept" groupAction="yes" handler="UserDecisionHandler">
       <Properties>
        <Property name="decisionKey" value="2"/>
        <Property name="UserDecisionNote" value="true"/>
       </Properties>
      </Action>
      <Action name="reject" groupAction="yes" handler="UserDecisionHandler">
       <Properties>
        <Property name="decisionKey" value="1"/>
       </Properties>
      </Action>
    </Actions>
    </ItemType>
    I have implemented the above code and i got the Text Box,  but now the problem is i couldnt retrieve the
    text entered in the Text box.  I checked in the  attachobjects   container element related to the task and the subsequent task but the text is not appearing there.  Can you help me to get the text entered in the text box.
    Thanks & Regards,
    Manikandan.S

  • Setting a label with the text from cmd

    I know that label.setText("sdf"); usually prints out what ever we set in the label. But what i need help in is actually to get the text from the command prompt and print it unto the label. I'm doing a school project that requires users to click a GUI component menu "start server". This actually calls a batch file that connects the pc and a mobile phone with bluetooth. So, actually when the server(pc) is connecting, it prints out text like : "connecting..." . I want to disable the command prompt and actually print all those text unto a label on the GUI. Please help me somebody.

    these are three classes that object_au suggested might help me to print things from a cmd to a label:-
    ------------------------AutoReader.java---------------------------
    package au.com.objects.io;
    import java.io.*;
    import java.util.*;
    * Reads a text stream line by line notifying registered listeners of it's progress.
    public class AutoReader implements Runnable
         private BufferedReader In = null;
         private ArrayList Listeners = new ArrayList();
         * Constructor
         * @param in stream to read, line by line
         public AutoReader(InputStream in)
              this(new InputStreamReader(in));
         * Constructor
         * @param in reader to read, line by line
         public AutoReader(Reader in)
              In = new BufferedReader(in);
         * Adds listener interested in progress of reading
         * @param listener listener to add
         public void addListener(Listener listener)
              Listeners.add(listener);
         * Removes listener interested in progress of reading
         * @param listener listener to remove
         public void removeListener(Listener listener)
              Listeners.remove(listener);
         * Handles reading from stream until eof, notify registered listeners of progress.
         public void run()
              try
                   String line = null;
                   while (null!=(line = In.readLine()))
                        fireLineRead(line);
              catch (IOException ex)
                   fireError(ex);
              finally
                   fireEOF();
         * Interface listeners must implement
         public interface Listener
              * Invoked after each new line is read from stream
              * @param reader where line was read from
              * @param line line read
              public void lineRead(AutoReader reader, String line);
              * Invoked if an I/O error occurs during reading
              * @param reader where error occurred
              * @param ex exception that was thrown
              public void error(AutoReader reader, IOException ex);
              * Invoked after EOF is reached
              * @param reader where EOF has occurred
              public void eof(AutoReader reader);
         * Notifies registered listeners that a line has been read
         private void fireLineRead(String line)
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).lineRead(this, line);
         * Notifies registered listeners that an error occurred during reading
         private void fireError(IOException ex)
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).error(this, ex);
         * Notifies registered listeners that EOF has been reached
         private void fireEOF()
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).eof(this);
    ------------------------AutoReaderDocument .java---------------------------
    package au.com.objects.swing.text;
    import javax.swing.text.*;
    import java.io.*;
    import au.com.objects.io.*;
    import java.awt.*;
    * Document implementation that automatically reads it's contents from multiple readers.
    * Each Reader is handled by a seperate thread.
    public class AutoReaderDocument extends PlainDocument
         implements AutoReader.Listener
         * Default Constructor, creates empty document
         public AutoReaderDocument()
         * Adds a new source Reader to read test from. The reading is handled
         * in a seperate dedicated thread.
         public void addReader(Reader in)
              AutoReader auto = new AutoReader(in);
              auto.addListener(this);
              new Thread(auto).start();
         * Invoked when a line is read from one of threads.
         * Appends line of text to document.
         * @param reader where line was read from
         * @param line line read
         public void lineRead(AutoReader in, final String line)
              EventQueue.invokeLater(new Runnable() { public void run()
                   try
                        insertString(getLength(), line+'\n', null);
                   catch (BadLocationException ex)
                        ex.printStackTrace();
         public void error(AutoReader in, IOException ex)
              ex.printStackTrace();
         public void eof(AutoReader in)
    ------------------------SwingExecExample.java---------------------------
    package au.com.objects.examples;
    import au.com.objects.swing.text.*;
    import java.util.*;
    import javax.swing.*;
    import java.io.*;
    * Example demonstrating reading output from Process.exec() into a JTextArea.
    public class SwingExecExample
         public static void main(String[] args)
              AutoReaderDocument output = new AutoReaderDocument();
              JFrame f = new JFrame("exec");
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(new JScrollPane(new JTextArea(output)));
              f.setSize(400, 200);
              f.show();
              try
                   Process p = Runtime.getRuntime().exec(args);
                   output.addReader(new InputStreamReader(p.getInputStream()));
                   output.addReader(new InputStreamReader(p.getErrorStream()));
              catch (IOException ex)
                   ex.printStackTrace();

  • Format for hiding the text in sap script

    Hello gurus,
    I waanted to know if there is any tag column to hide a text in corresponding line. My detail requirement is that I need to add GUID as a indicator at the beginning of the formatting text but that should not be visible to the user. currently you can protect the text i.e not allowing the user to make changes to the text by using tag '>X'. Like that is there any tag for hiding. I am not able to get it.
    thanks and regards.

    Hi,
    Try it using
    Hidden - Standard Attribute for Character Formats
    The character string is not printed. The text is only visible in the text editor.
    Also, check
    http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
    Regards,
    Edited by: Neenu Jose on Nov 5, 2008 5:04 AM
    Edited by: Neenu Jose on Nov 5, 2008 5:06 AM

  • Grab the text under the cursor

    Hey folks,
    I have a jtextarea that has some text in it.
    I need to know how i can get the text that is displayed when the cursor focuses on each line. any ideas
    thx in advance

    Not sure exactly what you mean.
    If you focus on the textare you can get the caretPosition and then ask the document the text at the caret position.
    You have also to methods you can use to translate between x,y coordinates and caret position: modelToView and viewToModel(don't recall the exact names but search in the api.
    Eduardo.

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

Maybe you are looking for