How to add a watermark in Flex?

Posted on 2009-02-18
Last Modified: 2012-06-27

I would like to create a watermark component in Flex, like those that we can see in commercial products (i.e. transparent letters with grey surroundings).
I have already created a canvas containing a Label object, but I have met 3 problems:
- I cannot make my label letters transparent,
- Which filter effect must I apply to obtain the grey borders,
- How can I set my label object properties (or anything else) to "let the event be received by components that are located below" (my below component have a handler function on the click event but that event is not fired when clicking on the label).

Maybe the label component is not the right one, I am open to any suggestion to create a "commercial like watermark".


Question by:Guy2
    LVL 18

    Assisted Solution

    You cant alpha a label.

    Use an Image to draw your watermark with the border etc, then you can place it and use Alpha.

    Accepted Solution

    Hi Plucka and thanks for the answer.

    Following your advice, I created a basic image watermark with transparent background.
    However, my problems are still there:
    - Which type of image filter can I use to obtain the grey fading borders (assuming my letters are transparent too)?
    - How can the components located below the image (which is set to be 100% of my application width & height) to rceceive my mouse events?


    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
    Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
    The viewer will learn how to download, install, and customize fonts inside Adobe Illustrator CS6. To install and use a font: Go to and download a premade font : Unzip it, and open it up by double-clicking: Press “Install This Font” in…
    Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now