Static text as mask doesn't work

I'm creating a button that uses static text as both content
and as a
mask (to create an inner shadow effect). The static text is
in a
symbol. It looks perfect in the IDE, but when I test the
movie or
publish it, the mask doesn't work. I originally had the text
in a
graphic symbol and that caused the mask to be completely
ignored. I
changed the symbol to a MovieClip, and that behaves
differently. The
mask is no longer ignored, but now the mask layer itself
appears and
covers up the other layers.
I've googled for this problem and have seen many comments
about it. The
typical solutions seem to be to convert the text to a symbol
(already
done) and use static text (already done). Yet it still
doesn't work.
I'm using Flash MX 2004.
Please help. Thanks.

apply it with actionscript,
make your text a movieclip and give it a name like "textClip"
then
make your mask a movieclip and give it an instance name like
"textMask" and use this code
textClip.setMask(textMask);
to disable the mask with actionscript use:
textClip.setMask(null);
good luck!

Similar Messages

  • Text replacements synchronization doesn't work on my Mac

    Hello, I cannot make text replacements synchronization work on Yosemite (the same problem was on Mavericks – I hoped, that Yosemite will fix it, but it didn't). The symptoms are:
    Synchronization backend work properly: when I add or update shortcuts on my iPad, the change will appear in sqlite database stored in ~/Library/Dictionaries/CoreDataUbiquitySupport/... on my Mac
    When I go to Keyboard Preferences → Text, I can see shortcuts synchronized from my iPad there
    The shortcuts doesn't work in applications at all (even if they are enabled via Edit menu)
    I started to play with brand new user account on my Mac and I was able to make synchronization work. After some investigation I found that shortcuts are automaticaly copied from ~/Library/Dictionaries/CoreDataUbiquitySupport/... to ~/Library/Preferences/.GlobalPreferences.plist under NSUserDictionaryReplacementItems key on this new account, but on my real account they don't appear there. If I add some shortcut to .GlobalPreferences.plist manualy, it works in applications as expected. So something which is responsible for keeping CoreDataUbiquitySupport and .GlobalPreferences.plist in sync doesn't work, probably. Any ideas, how this can be fixed?
    By the way, there is one more issue with shortcuts: add/remove/reset to defaults buttons are missing in Keyboard Preferences → Text.

    Try PRAM reset.

  • Annotating pdf documents in Preview - the text search feature doesn't work?

    Hi everyone,
    I'd like to annotate my pdf documents using preview. However, I realized the other day that as soon as I start annotating a document (with notes, shapes, highlighting, etc), the preview text search doesn't work anymore.
    Thanks for any help or advice!

    This is a known problem. I have seen one suggestion to print the annotated PDF as a new PDF in order to get search capability back. You can try the Apple Discussions "search" feature at the upper right corner to look for more suggestions.

  • My mask doesn't work for reading bits

    the following table represents a stream of bits. within the bits are certain fields that i need to be able to read, and extract. I tried writing code to do pretty much exactly what I need, but the mask isn't working. here is the exact situation of what I have:
    | 15 | 14 | 13| 12| 11| 10| 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
    |-----------------Word Count--------------------------------------| word 1
    | 0- | 1-- |-------------Message_ID------|----unused---------| word 2
    |---------------------stuff I don't care about here -------------| word 3
    | --------------- more stuff I don't care about here ---------| word 4
    My goal in writing this code was to extract the Message_ID and put it in its own file. to do that I wrote code to skip the first word (which is two bytes) and read the second word after shifting the Message_ID to the far right (at least thats what I thought the coding would do :) Again, thank you for all your guys' help
    well here is the short java file that I wrote, its not long so please look at it and tell me why it wont mask and shift the Message_ID and write it into a new file
    import java.io.*;
    public class Mask {
    public static void main(String[] arguments) {
    try {
    // create object to be read
    File bits = new File("c:/test.txt");
    FileInputStream file = new FileInputStream(bits);
    //skip the first two bytes
    file.skip(2);
    //read the next two bytes
    byte[] ary = new byte[2];
    //read file that contains bits
    file.read(ary);
    //create a mask
    int i = 0;
    int messageIDBits = (i >> 6) & 0xFF;
    //create object to write the bits which were read
    File txt = new File("c:/test1.txt");
    FileOutputStream messageID = new FileOutputStream(txt);
    //write the bits containing the Message_ID
    messageID.write(ary);
    //close the files
    file.close();
    messageID.close();
    } catch (Exception e) {
    System.out.println("Error -- " + e.toString());
    }

    Sorry it took so long - had a meeting. Here's the demo. Run it, study it, and let me know if you have any questions:import java.io.*;
    import java.util.*;
    class BytesDemo {
        private static Random rand = new Random();
        public static void main(String[] args) {
            new BytesDemo().go();
        void go() {
            byte[] testBytes = new byte[2];
            rand.nextBytes(testBytes);
            System.out.println("Here are our starting bytes (" +
                                testBytes[0] + ", " +
                                testBytes[1] + "):");
            System.out.println(toBinary(testBytes[0], 8) +
                             " " +
                             toBinary(testBytes[1], 8));
            System.out.println("\nNow, we'll call the getMessageId() method...");
            int messageId = getMessageId(testBytes);
            System.out.println("\nOur final message ID is: \n" + messageId);
            System.out.println("\nAnd here's the short version: " + getId(testBytes));
        int getMessageId(byte[] b) {
            if (b.length != 2) throw new IllegalArgumentException("I need two bytes!");
            System.out.println("\nFirst, we'll create the word.");
            System.out.println("Here is the first byte, shifted to the left: \n" +
                               toBinary(b[0] << 8, 16));
            System.out.println("\nHere is the second byte, kept as it is: \n" +
                               toBinary(b[1] & 0xFF, 16));
            System.out.println("\nNow we will OR the two together...");
            int word = (b[0] << 8) | (b[1] & 0xFF);
            System.out.println("...resulting in the word: \n" + toBinary(word, 16));
            System.out.println("\nThe first 6 bits aren't needed, so we'll shift the word:");
            word = word >> 6;
            System.out.println(toBinary(word, 16));
            int mask = 0xFF;
            System.out.println("\nOur mask looks like this: \n" + toBinary(mask, 16));
            System.out.println("\nSo now, we'll AND the shifted word and the mask together...");
            int messageId = word & mask;
            System.out.println(toBinary(messageId, 8));
            return messageId;
        int getId(byte[] b) {
            if (b.length != 2) throw new IllegalArgumentException("I need two bytes!");
            int word = (b[0] << 8) | (b[1] & 0xFF);
            return (word >> 6) & 0xFF;
        String toBinary(int num, int bits) {
            StringBuffer buf = new StringBuffer(Integer.toBinaryString(num));
            int len = buf.length();
            if (len > bits) buf.delete(0, len - bits);
            while (len++ < bits) {
                buf.insert(0, "0");
            return buf.toString();
    }

  • My text layer mask is not working when I test it

    My text layer mask does not appear when I test the movie. The
    mask works move the key along the timeline, but when I test the
    movie nothing shows up. I'm doing exactly the same thing I do when
    I mask images. I actually imported an image to the text layer and
    the mask worked correctly. What am I doing wrong?

    provide a link the fla - make sure your text layer is truly
    linked to the Mask layer. What is the
    font? Did you try breaking apart the font until it becomes
    raw shapes? not that you want to do that
    but save as with new name - try it and if it still doesnt
    work, then the issue is not with your font.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    bippity wrote:
    > This is driving me crazy! This should be the easiest
    part of the animation!
    >
    > I have tried every variable I can think of.
    >
    > Everything works except for a layer mask with text. The
    mask erases text
    > anywhere in the project.
    >

  • Build Text Express VI doesn't work without a variable

    I like the build text express VI because it lets me hide a lot of the clutter of building text strings on the code page itself, inside the express VI.
    Two questions:
    1) Why does the build text express VI require a single variable before 'Result' will contain text typed into the 'Text with Variables in Percents' field. If no variable is listed the result is always null.
    2) Is using many copies of this express VI a waste of memory or is it decent sized or possibly doesn't matter at all... I have just started using it so have no idea how well it works as far as adding bulk to the program.

    The express vi is a vi. Yes it will take more memory to use the build text vi that using the format into string function. The express vi if you right click on it and open front panel you will see what code is involved. A good example is to go and look at the vi metrics with a build text express vi and you will see that there are 42 different nodes in one express vi. If you put a format into string function you will see using vi metrics only 1 node. Another drawback is that the build text will only allow you to have 8 input variables. It is a easy tool to use but can be bulky if used improperly. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Group Text with Android Doesn't Work

    Hi- I had been using an iPhone for a few years, and decided to switch over to Android. It took some time to get my phone number disassociated from iMessage/iCloud, but I was eventually able to get that done. Since iOS8 came out, though, I'm starting to experience problems again. Specifically, whenever I group text with multiple iPhone users, everything works fine -- until my wife (an iPhone 6 user) is added into the group. When this happens, everything automatically switches back to iMessage and I stop receiving any messages.
    Has anyone else experienced this? Are there any fixes?
    Thanks

    Just in case other people found my post by Googling, here is my fix I added to my post on the OpenOffice forum.
    Re: Text to speech only reads the document title  
    by Trish8 » Sat Feb 14, 2015 9:58 am
    I tried as many suggestions as I could from the plethora of suggestions above. I'm sure you are correct, it must be the Mac's problem. I took a chance and downloaded LibreOffice; Text to Speech now works the same as it does on TextEdit, the internet, and PdF. Thanks for all the help, I mean that sincerely. OpenOffice is a really fine product.
    Patt

  • Tweening text problem (suddenly doesn't work)

    Hi,
    Hopefully someone has had this issue before and managed to
    resolve it. For the last couple of times I have opened Flash I have
    been unable to tween text. I am turning it into a Graphic symbol
    and using a Motion tween as I have always done. The tween is
    working (if I slide the timeline scrubber across I can see the
    effect working) but when I preview (CTRL, Enter) the text just
    stays in its full Alpha state and refuses to tween
    Any ideas!!?!?
    Thanks,
    Ben

    glad you worked it out - yeah searching the forums is the
    answer - i personally have helped answer
    this a number of times so it has been reported.
    -regards.
    --> Adobe Certified Expert *ACE*
    --> www.mudbubble.com
    --> www.keyframer.com
    bbben1 wrote:
    > For anyone searching through these forums with a similar
    issue:
    >
    > The problem I was having was related to the font I was
    trying to tween. It
    > appears that _sans is 'untweenable' - I used Arial which
    is almost identical
    > which worked fine!
    >
    > Ben
    >

  • Text Animation Menu doesn't work.

    I am new to Captivate. I have a registered Captivate 5 installed. After I started a blank slide and clicked Insert > Text Animation, nothing happened. No dialogue box appeared. Nothing happended at all. Other menues worked normally, though. I uninstalled and reinstalled it. Still, after clicking Insert > Text Animation, nothing happened. What went wrong? Please help.
    I am running CP5 on a 32-bit Vista Ultimate machine. 1GB of RAM.

    Hi all,
    My problems have been solved. I put up a case to Adobe and got a sucessful technical support.
    There are 5 steps to undertake;
    1. uninstall CP5.
    2. Delete pcd.db, caps.db, and cache.db (under program files\adobe\... )
    3. Create a new user account with Administrator Level permission.
    4. Restart the computer.
    5. Install CP5.
    With those 5 steps, I can see the text animation menu.
    thongjoon.

  • PDF and Illustrator CC opacity mask.  The opacity mask displays perfectly in the print preview, and in the pdf document when viewed on my computer, but when printed the gradient opacity mask doesn't work.  Any suggestions?  Have not had this problem in ot

    Never had this issues in previous versions.  This IS a black/white gradient opacity mask over a black and white photo, but still don't think that is the problem.

    You may try the forum LiveCycle Designer.

  • Ios 5 possible firmware bug for iPhone 4; Voice command/text-to-speech doesn't work properly.

    I upgraded an AT&T and Verizon iPhone 4 to the ios 5 firmware, and I am having the same exact issues for both phones.  When using the voice command a few times, the audio voice does not come through the "speaker" (referring to the speaker located at the bottom of the phone).  Instead, the audio voice goes through the receiver which is on the front face of the phone, on the right of the camera.
    For example, say you want to use the voice command to dial a phone number.  You would enable voice command by depressing and holding down the "Home" button and give the command "dial...1-800-452-3456", the phone would then repeat the phone number back to you through the "speaker".  However, when I did this a few times, the voice instantly goes to the receiver instead.  I found no way to fix this problem.  I tried the following and none of these solutions worked:
    Turned the phone off and back on again
    Hard reset (held down the Home and Lock button for 10 seconds)
    Restored the phone, and set the phone up as a "new iPhone" instead of restoring from back up
    After trying to restore both iPhones and still have the same issue, I made an appointment to visit Apple.  I took the Verizon iPhone 4 to Apple, and the employees handed over a refurbished iphone in hopes to solve this issue.  However, this refurbished phone still had the same exact issue. 

    Of course I checked my apps library and found nothing. However I'm looking at the status while sync is processing, I'm 100% sure that app is not synced to my iTunes library
    Yep, I can always manually "transfer purchases" to my iTunes library. But this is not the point. On my old iPhone 4 and new iPad (3rd gen), it will sync all newly installed apps from my iOS devices to my iTunes library, no need to click "Transfer Purchases" again.

  • [Flex 4.5.1] Regular Expressions - how to ignore case for cyrillic text /ignore flag doesn't work/ ?

    The only solution to this that I've found is to convert the text to lowercase before matching...
    Is there a more convenient way ?
    Thanks

    The only solution to this that I've found is to convert the text to lowercase before matching...
    Is there a more convenient way ?
    Thanks

  • IMessage to text message transition doesn't work.

    I've asked a few people this question and no one seems to be able to answer it.
    I have an iPhone 5 and I also have a data plan and wifi at home. Whenever I message someone else with an iPhone once we're both in wifi or using their cellular data the message sends as blue or as an iMessage.However when I turn off my data or wifi say to save battery life and I continue to message that person who has an iPhone my message sends as green or as a SMS text message and the person receives it as a text but it does not prompt them to reply as text rather it prompts them to send it as a iMessage which I won't be able to receive until I either turn wifi on or turn back on my cellular data. I've tried this with a few of my friends who have iPhones and its always the same thing. When I had my 3GS it never did that before so I'm wondering why it's doing that now, If anyone could help me I'd be eternally grateful.

    it's the whole point of  iMesage
    if both are online the msg is send as IM at only the cost of data
    if one or non are online the msg is send as sms at the cost of sms

  • Add-ons Manager / Extensions / Text-to-Speech doesn't work

    I use Natural Reader, a text-to-speech program.
    It won't let me highlight the text in Firefox Add-ons, so Natural Reader can read it to me.
    Some pages like snopes and enviroreporter . . . I have found that I need to disable javascript in order to make the text highlightable . . . you go into about:config . . . and double-click to disable: javascript.enabled
    So, I was looking into this, and found the NoScript plugin that has javascript disabled by default, and all other scripts on a page - this looks good for added security, so I will use it . . .
    But now I see this in Add-ons, where I can't highlight the text. Any idea what's going on? Thx.

    RightToClick . . . I don't see this in my Add-ons bar, or when I right click a page
    . . . the description for an Add-on is still unhighlightable . . . even if I right-click it with this Add-on . . . should I be able to highlight it? Or does it have some other way to make itself un-copyable, besides javascript?

  • Submenu HOVER change doesn't work

    I've tried everything I could think of (for the past 2
    hours).
    The Submenu Text Change Instruction doesn't work for me (PC,
    IE7 and Firefox)
    I've tried to add all kinds of properties to make the SUBMENU
    Item change when the mouse hovers over it. Whatever I do, it always
    shows only on the main menu item (the main menu item that contains
    the submenu).
    In the instructions it says to change this:
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    but it's just not working. SOMEBODY HELP PLEEEZE!!!!!
    THANKS! Very very greatful for any enlightenment at 1:30 in
    the morning. ;)
    (The submenu indication arrow "SpryMenuBarDown.gif" isn't
    showing up in the preview either, btw.... shows in DW but not when
    previewed in browsers. ...but, I guess, that's a separate problem.
    sigh.)

    ok, here is what I've come up with (not fully functional, for
    the color won't show but AT LEAST the underline shows on hover)
    IN THE SPRY STYLE SHEET I've added:
    a.submenulink:hover {
    color: #CC0000;
    text-decoration: underline;
    In the HTML code (directly in the 'a' tag of the submenu
    list) I've added:
    <li><a href="#" target="_self"
    class="MenuBarItemSubmenu">Hot Topics</a>
    <ul>
    <li><a href="#" target="_blank"
    class="submenulink">Water and Sewer</a></li>
    <li><a href="#" target="_blank"
    class="submenulink">Green Buildings</a></li>
    NOTICE that the first link is the MAIN MENU item (not in the
    submenu but the header of the menu, if you will).

Maybe you are looking for