Complex question about masks - help needed please

Hello folks,
new to this forum and new to After Effects.  I hope you can help me achieve a particular animation.
The result I want is to move a pair of glasses across the frame and through the left lens of the glasses, the background image is made clearer.
I have 3 layers.  The bottom layer has one image (the image in focus), the middle layer up has another image (the same image as the bottom layer but out of focus), the top layer has an image of a pair of glasses.
I want to, first of all, select the area within the left lens of the glasses and make this a mask and have it move when the glasses move across the frame.
Is there an easy way to select a complex area like you have in Photoshop?
I then want this mask to subtract the middle layer image to reveal the background layer.
The mask would move with the pair of glasses.
How do I make the mask apply to the middle layer to cut it out to reveal the bottom layer?
Thanks in advance.

While you are reading the links Szalam gave you (I recommand you to read them all), here is how you could achieve this.
Create a new solid on top of your glasses, roughly the size of your lense (just a little bigger than the area you want to mask out).
Then use the pen tool to draw a mask with the shape to be used as a "hole" for your second layer. Be sure to have your solid layer selected before drawing the mask.
You will now a have a solid layer on top of your glasses with the shape of the lens. To make it follow your glasses, parent it to the glasses using the parent dropdown menu in the timeline, next to your layer's name.
Now in the stack, move your solid on top of your out of focus layer. Then select your out of focus layer, display the matte/mode column and in the matte dropdown select alpha (or alpha inverted). AE will then use your solid layer as a mask to cut out your out of focus layer.

Similar Messages

  • Help needed please.. how do I remove my credit card from itunes? just discovered over $450 of charges when I looked at my email... Kids had no clue they were using our money and not their gift cards

    Help needed please.... I just discovered over $450 charges to my credit card from Itunes. The kids had no idea they were using our credit card and not their itunes gift cards and 4 year old just clicks on anything! I didnt save my credit card details so am a bit miffed at this... I cant find anywhere in itunes to remove it. Edit.. but not remove. Editing does not remove it.. HELP

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Changing Account Information  >  http://support.apple.com/kb/HT1918

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • I recently had to restore my Iphone 4s and ever since I cannot double click the home button whilst the phone is locked and change my music. The controls come up and I can adjust the volume but I cannot change the songs. Help needed please!!

    I recently had to restore my Iphone 4s and ever since I cannot double click the home button whilst the phone is locked and change my music. The controls come up and I can adjust the volume but I cannot change the songs. Help needed please!!

    Have you guys been able to activate your iphone yet? I bought an iphone 4s from eBay and it worked fine, but the previous user had left some data on it, so last night I used the "erased all content and settings" to restore it to factory setting so I can start fresh and restore my backup. But now I'm stuck at the activation screen (I get the same "the activation server is temporarily unavailable")  and can't get it to activate, even if I use my old deactivated AT&T sim card (I'm on straighttalk now).
    I might try activating it with an active AT&T sim card from my fiancee's phone when she gets home, so I'll let you know how that works outs.
    If it's true that the server is down; anyone know when it will be back up again? Thanks in advance.
    iPhone 4s iOS 5.1.1 (9B206)
    Carrier AT&T 12.0
    Modem Firmware 2.0.12

  • HT201303 I need to change my security question because I do not know the answer to the car question can someone help me please.

    the security question about which was your favorite car and least fav I cannot remmeber my answer how do i go about changing this or getting a new set up question ?

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • New Hard drive, can't access certain aspects. Help needed please

    Hi everyone.
    I have an HP Pavilion dv6-6052ea laptop.
    I've been having problems with the hard drive so got a new one installed.
    My main issues are since getting it back, I can't access any of the original HP installations etc (I've downloaded all the drivers I know about through HP).
    The 2 main things I'm missing are 2 things that came with the laptop.
    1: Beats Audio sound system 
    2: Video Graphics: AMD Radeon HD 6490M (1 GB DDR5)
    and I have no idea how to get them back. Can anyone help. Do I need to install specific drivers? I can't find any trace that they exist on my laptop now apart from the stickers on the laptop! Any help is greatly appreciated. 
    I never had any CD back ups for the laptop. I do have the old HP back up etc saved on a USB but I don't know enough about the folders and files to know what I need to look for. (I still have the old hardrive.)
    Again, any help is massively appreciated. Thank you!
    Tony 

    If you used your HP Recovery Media, all factory install drivers and software would have been installed. If you didn't create your HP Recovery Media when you first setup your computer, please contact official HP support in your region / country, via the HP Worldwide Support Portal, to see if HP Recovery Media is available for your computer.
    If a generic Windows 7 installation disc was used, you will need to install all HP specific driver for your computer. Please try IDT High-Definition (HD) Audio Driver, Intel High-Definition (HD) Graphics Driver, and AMD High-Definition Graphics Driver to resolve your missing drivers issues. Windows 7 64-bit driver for your computer can be found on the HP Pavilion dv6-6052ea Entertainment Notebook PC Drivers page.
    If you have any further questions, please don't hesitate to ask.
    Please click the White KUDOS "Thumbs Up" to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • HELP NEEDED PLEASE

    Hi everyone
    Programming help needed here. Any advice would be greatly appreciated!!!
    I have been assigned some work for a program called Processing 1.0 availale at http://processing.org/download
    I was give the 9 individual programs I needed to make however they were converted to Java files from .pde files. The program is based on Java but only runs .pde files and NOTHING else!
    I decompiled the files and got the source code, but it is a slight variation of the original someone made in processing, and needs some tidying to get it to run.
    I think the programs are very simple for a programmer, although I AM NOT.
    CODE is BELOW
    // Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov Date: 02/05/2009 13:15:00
    // Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name: Assign2_1.java
    import processing.core.PApplet;
    public class Assign2_1 extends PApplet
    public Assign2_1()
    SquareSide = 20;
    Rank = Nums.length;
    Side = SquareSide * Rank;
    Green = color(0, 255, 0);
    Yellow = color(255, 255, 0);
    BG = Yellow;
    public void setup()
    size(Side, Side);
    background(BG);
    fill(Green);
    for(int i = 0; i < Rank; i++)
    rect(i * SquareSide, 0.0F, SquareSide, SquareSide * Nums);
    public static void main(String args[])
    PApplet.main(new String[] {
    "--bgcolor=#ece9d8", "Assign2_1"
    int Nums[] = {
    6, 14, 8, 9, 2, 3, 4, 2, 8, 3,
    9, 2, 0, 5
    int SquareSide;
    int Rank;
    int Side;
    int Green;
    int Yellow;
    int BG;
    Edited by: chevy1 on May 2, 2009 7:32 AM

    HELP NEEDED PLEASEShouting is a good way ensure you don't get help. Also you should give a meaningful subject.
    Any advice would be greatly appreciated!!!I suggest you ask a question after providing enough information to be able to answer it.
    Also use CODE tags when posting code as it make the code more readable.
    We are more likely to help people who are trying to learn Java rather than someone who might be looking for an easy way out of doing an assignment.

  • A serious question  ,could someone help me please just a little problem

    this is a program to let me open a file and read birthday and related name, and then type name we can fetch the birthday, everything is ok ,whenever i input a name, it always find nothing, can some experts help me please
    there are three class i defined, one is birth_reader, another is date to record the date have been read from specified file, one is the name stored firstname and last name, the file my lecture give me is just a simple txt file which is example like:
    1 31 1984 robin ralu
    i realised maybe i shoud add a equals() to test ,but how can i do that , i have really no idea
    please
    import java.util.Scanner.*;
    import java.util.*;
    import java.io.*;
    public class birth_reader
    public static void main(String[] args)throws IOException
    birth_reader haha=new birth_reader();
    Map <name,date> book=new HashMap<name,date>();
    Scanner input=new Scanner(System.in);
    name b;
    FileReader fin = new FileReader("birthday.txt");
    Scanner sc = new Scanner(fin);
    while(sc.hasNext())
    int cat=sc.nextInt();
    int cta=sc.nextInt();
    int atc=sc.nextInt();
    String first_name=sc.next();
    String last_name=sc.next();
    date a=new date(cat,cta,atc);
    b=new name(first_name,last_name);
    book.put(b,a);
    System.out.println(book);
    System.out.println("please enter the name");
    String f=input.next();
    String l=input.next();
    b.firstname=f;
    b.lastname=l;
    date p=book.get(b);
    if((p!=null))
    System.out.println(b+":"+p);
    else{ System.out.println("no person here"+" "+b);
    public class name
    String firstname,lastname;
    public name(String firstname,String lastname)
    this.firstname=firstname;
    this.lastname=lastname;
    public String toString()
    return firstname+" "+lastname;
    public class date
    int year,month,day;
    public date(int year,int month,int day)
    this.year=year;
    this.month=month;
    this.day=day;
    public String toString()
    return year+" "+month+" "+day;
    public int getyear()
    return year;
    public int getmonth()
    return month;
    public int getday()
    return day;
    }

    Why do you suppose you should add an equals method?
    In what class would you add it?
    How would that change the behaviour of your code?
    What else should you keep in mind when overriding equals?

  • ITunes corrupt file message - urgent help needed please

    I have an iPod video 30GB, i downloded the latest iTunes & Quicktime version, and updated my iPod also to the latest update. When i connect my iPod and start downloading music from the library in iTunes, the iPod keeps on disconnecting and restarting by itself, and i get a message that the file iTunes.exe is corrupt. I tried Apple support and did all what they said by downloading the latest updates and versions, and also did the Chkdsk utility on Windows, but still it did not work, the iPod keep on restarting and i cannot download anything on it, i had it now for a week and did not use it at all because of this problem, can somebody with a technical background help me please, i use Windows XP.

    I have an iPod video 30GB, i downloded the latest iTunes & Quicktime version, and updated my iPod also to the latest update. When i connect my iPod and start downloading music from the library in iTunes, the iPod keeps on disconnecting and restarting by itself, and i get a message that the file iTunes.exe is corrupt. I tried Apple support and did all what they said by downloading the latest updates and versions, and also did the Chkdsk utility on Windows, but still it did not work, the iPod keep on restarting and i cannot download anything on it, i had it now for a week and did not use it at all because of this problem, can somebody with a technical background help me please, i use Windows XP.

  • MP3 burning help needed please

    Hi,
    I'm hoping someone can help me please.
    I'm wanting to burn a mp3 cd but with the songs in separate folders so that when i play them in my car i can flick between the albums instead of having to go through all the singles one after another.
    Does anyone know of a good mp3 burner that can do this, and where to get it from too.
    All and any help in this matter is greatly appreciated
    Cheers
    Paul

    You want them in separate Album folders?
    Put the songs into the playlist.
    Sort the playlist by Album then burn it as MP3* disc.
    This will put the songs into Album folders.
    Likewise, if you sort by Artist, songs will be put into Artist/Album/ folders.
    * Note that only MP3 files will be burned to the disc. If the files are not already MP3 format, they will be skipped.
    If you burn it as a DataCD, it wil work the same except it will copy the files regardless of format. I do this as my CD player will work with both AAC & MP3 formats.

  • WLC Logs!!! Quick Help needed please!

    Hello,
       My client want to check who owned a certain IP address on the WLC and from which AP he was associated. I looked at the system logs in the GUI but couldn't get beyond 6 hours. Is there a place I can download last day logs from CLI/GUI? Or Can I login via SSH and extract the logs via CLI?
    Please this is vital and I appreciate your help,
    Regards,

    Please note that the customer is using Pass-Through Web Authentication for the Guest WLAN.
    Thanks,

  • Question about hard drive, need help lol.

    Hey I'm kinda new to the MacBook world and have a stupid question. I am getting a late 2009 MacBook unibody (white polycarbonate, model MacBook 6.1... I believe) I am switching the original 250gb 5400 rpm hard drive out for a Seagate Momentus XT 750gb 7400 rpm hybrid hard drive. I want to keep everything on the original hard drive and just pop the new hard drive and start fresh with Snow Leopard. I'm going to purchase the SL cd from apple but I do not have the original  grey start up cd that came with it (my girlfriends little sister lost it). Do I need to call apple for that cd in order to start fresh on my new hard drive or is everything I need on the SL cd?
    Also how do I go about wiping the whole computer when I put the hard drive in and use SL? I want to essentially have a completely clean laptop with a new hard drive.
    Thanks for your help in advance.

    The SL disc you get from Apple will do everything you need. When you nstall the new hard drive there will be nothing to wipe, the drive is the only piece of that Mac hat stores anything so you don't need to worry about that. Post back and let me know how that hybrid drive works out....I'm interested.

  • Basic question about Flash video. Please Help

    Hello,
    Sorry for the noob question but I'm struggling with the basic
    understanding about the Flash video.
    I just need to reduce a large video file to a small size with
    a nice quality and the Flash Video Encoder does very god job with
    that. But when I double click the compressed .flv file it opens as
    a blank screen in the stand alone player without playing any video.
    I can use Dreamweaver to produce a web page playing the file, but I
    don't need this file for posting it on a web page, I just want the
    file smaller and to simply play it on my computer or send it to
    others.
    What is the way to do this?
    I appreciate your help.

    It sounds like you're not having problems with the actual
    compression of the videos, just the playback, correct? All you need
    is a standalone player that plays FLVs. Like Quicktime Player plays
    MOVs, and Windows Media Player plays WMVs, you need something to
    play the FLV files. There are many free options available. On a
    mac, I use something called, strangely enough, SWF & FLV
    Player. You can find it here:
    http://mac.eltima.com/freeflashplayer.html
    Just do a search for FLV players and you should find
    something appropriate. The only downside is you'll need to make
    sure anyone you're distributing the videos to also has an FLV
    player. If you're sending your files to just a few people, no big
    deal. If this is for the public in general, you would want to embed
    a Flash video player in an HTML page and send it like that.
    Hope that helps.

  • Question about ipohone 4s battery please help

    hi guys well i need everyones relpy please
    my new iphone 4s losing battery without even using it  !
    the iphone is on sleep mood and i am not doing any thing
    and i am losing battery about 1 % every 10 min
    so is this problem only in my phone
    or is it to all like the problem
    of the battery dying so fast
    or is it only a problem in my phone
    please guys i need you answers so i
    should know if i get it back to apple store
    and thanks

    I've got this same problem with my 4S Apple wants to kill my iPhone 4s

  • Questions about themes...please help!

    This is my first time using iMovie and I am trying to make a slideshow of pictures. For some reason it won't let me choose a theme for my pictures (only shows the titles and no "set theme" option. Is there a reason this button isn't appearing?
    Another question, is there a way to apply text to all of the pictures instead of dragging to the picture on at a time? I would appreciate ANY help.
    Thanks so much!

    Which version of iMovie are you on? You need 8.0.3 (iMovie 09) for themes.
    7.1.4 (iMovie 08) does not have themes.
    You can check by clicking iMovie/About

Maybe you are looking for