How do I make a fixed edge feather over an object in motion?

This is probably something really simple to do, but I'm struggling trying to find instructions anywhere on how to do this.
Anyways, I have an image that I added motion to so it moves across the screen. I want an edge feather on both sides of the screen though so it fades in instead of just appearing from the edge of the video. When I try to apple an edge feather filter, it feathers the edges of the image and moves with it. Is there a way I can do this? Maybe a mask of some sort? I tried using a slug and positioning it and feathering it as I want, but a slug is a solid color and then it blocks out the video behind it.
Thanks!

Assuming your keyframed shot isn't scaled down, move it up to V3 and on V2 insert a Square
shape from the generators tab. Scale and add softness according to the amount of 'Fade' you require
and select composite mode 'Travel Matte-Luma' to V3. You should see V3 fade in but retain it's hard edge.

Similar Messages

  • How can i make this game to be over in 3 minutes?

    i'm really a total beginner, and this is the race game code for my school assignment.
    How can i possibly make this game to be over in 3 minutes?
    It says "game over" when you hit 20 cars.
    I want to make it say "you've made it!" or something when they survive for 3 minutes with less than 20 crashes.
    please help! T.T
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.Timer;
    public class BugRace extends Applet implements KeyListener, Runnable{
      Image buff;
      Canvas Panel;
      Graphics2D gPanel;
      Graphics2D gBuffer;
      Bug redBug;
      Bug[] rivals=new Bug[20];
      Button StartButton;
      //Button StopButton;
      Thread game;
      Timer time;
      private boolean loop=true;
      Dimension dim=new Dimension(200, 300);
      private int road;
      Random rnd=new Random();
      private int crash = 0;
      public void init(){     
        prepareResource();
        setBackground(Color.gray);
        setSize(400,400);
        initPanel();
        add(Panel);
        // Start Button
        StartButton=new Button("START");
        add(StartButton);
        StartButton.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            // request focus for Panel to get key event
            Panel.requestFocus();
            if(!game.isAlive()){
                 game.start();}else if(game.isAlive()){
                 game.start();}
        /*StopButton=new Button("STOP");
        add(StopButton);
        //StopButton.addActionListener(new ActionListener(){
         public void actionPerformed(ActionEvent ae){
            //Panel.requestFocus();
              if(game.isAlive())
                   game.stop();}
      public void prepareResource(){ //load bug images
        Image imgRed=getImage(getCodeBase(),"redbug.gif");
        Image imgBlue=getImage(getCodeBase(),"bluebug.gif");
        Image imgYellow=getImage(getCodeBase(),"yellowbug.gif");
        Image imgPurple=getImage(getCodeBase(),"purplebug.gif");
        MediaTracker mt=new MediaTracker(this);
        try{
          mt.addImage(imgRed, 0);
          mt.addImage(imgBlue, 1);
          mt.addImage(imgYellow, 2);
          mt.addImage(imgPurple, 3);
          mt.waitForAll();
        }catch(Exception e){}
        buff=createImage((int)dim.getWidth(), (int)dim.getHeight());
        gBuffer=(Graphics2D)buff.getGraphics();
        redBug=new Bug(imgRed, 80,250, dim);  // user's bug
        for(int i=0;i<10;i++){
           rivals=new Bug(imgBlue, 0, 0); // rival blue bug
    for(int i=5;i<rivals.length;i++){
    rivals[i]=new Bug(imgYellow, 0, 0); // rival yellow bug
    for(int i=10;i<rivals.length;i++){
    rivals[i]=new Bug(imgPurple, 0, 0); // rival purple bug
    for(int i=0;i<rivals.length;i++){  // set locations for rival bugs
    setrivals(i);
    game=new Thread(this); // game thread for controlling
    public void stop(){
    loop=false; // stop the thread
    public void run(){
    while(loop){
    drawPanel(); // draw game screen
    try{ Thread.sleep(50);}catch(Exception e){}
    public void initPanel(){    // initialize the panel
    Panel=new Canvas(){
    public void paint(Graphics g){
    if(gPanel==null){
         gPanel=(Graphics2D)Panel.getGraphics();
    drawPanel();
    Panel.setSize(dim); // size of the panel
    Panel.addKeyListener(this); //add keylistener for the game
    // set rival bugs' location randomly, and make them not intersect each other
    void setrivals(int en){ 
    int x, y;
    next:while(true){
    x=rnd.nextInt((int)dim.getWidth()-rivals[en].getWidth());
    y=-rnd.nextInt(5000)-200;
    // if (x,y) intersect to each other, go to next
    for(int j=0;j<rivals.length;j++){
    if(j!=en && rivals[j].collision(x, y))continue next;
    // set (x, y) as en rival bug's location and exit from while loop.
    rivals[en].setLocation(x, y);
    break;
    void check(Bug en){       // check if bugs collides
    if(redBug.collision(en)){        // if collide,
    if(redBug.getX()>en.getX()){  // if rival bug is on the left side from user's,            
    en.move(-10, 0); // move rival bug in 10 to the left
    redBug.move(10, 0); // move user's bug in 10 to the right
    crash++;          //add # of crash
    else{                     // if rival bug is on the right side from user's,
    en.move(10,0); // move rival bug in 10 to the right
    redBug.move(-10, 0); // move user's bug in 10 to the left
    crash++;          //add # of crash
    synchronized void drawPanel(){                        // draw panel
    gBuffer.clearRect(0, 0, (int)dim.getWidth(), (int)dim.getHeight()); //clear buffer
    gBuffer.setPaint(new Color(0, 150, 0));          //fill background in green
    gBuffer.fillRect(0, 0, (int)dim.getWidth(), (int)dim.getHeight());
    drawRoad(); // draw the road
    // draw rival bugs moving down
    for(int i=0;i<rivals.length;i++){
    rivals[i].move(0, 15); // move rival bugs down
    rivals[i].draw(gBuffer, Panel); // draw the bugs in panel
    if(rivals[i].getY()>dim.getHeight()){ //if a rival bug is out of panel
         setrivals(i);} // set it at initial position
              check(rivals[i]); // check if they intersect
    redBug.draw(gBuffer, Panel); // draw user's bug
    gPanel.drawImage(buff, 0,0, Panel); // draw buffer in panel
    if(crash<20){
         gPanel.setFont(new Font(null,Font.BOLD,15));
         gPanel.drawString("crash:"+crash,30, 30);}
    else{
         gPanel.setFont(new Font(null,Font.BOLD,15));
         gPanel.drawString("crash:"+crash,30, 30);
         gPanel.setFont(new Font(null,Font.BOLD,20));
         gPanel.drawString("Game Over", 50, 100);
              gPanel.dispose();
    void drawRoad(){ // draw yellow center line
    road+=80;
    gBuffer.setPaint(Color.yellow);
    gBuffer.fillRect((int)dim.getWidth()/2, road,10,150);
    if(road>=dim.getHeight()){ //if the line goes lower than  panel
         road=-150;                    //move it up again
    }else if(crash >20){
         road=0;
    public void keyPressed(KeyEvent ke){       
    if(ke.getKeyCode()==KeyEvent.VK_LEFT){     // if left arrow is pressed,
    redBug.move(-20,0); // the bug moves to the left
    else if(ke.getKeyCode()==KeyEvent.VK_RIGHT){  // if right arrow is pressed
    redBug.move(20,0); // the bug moves to the right
    public void keyReleased(KeyEvent ke){}
    public void keyTyped(KeyEvent ke){}

    import java.util.Timer;
    import java.util.TimerTask;
    public class Test {
        public static void main (String[] args) {
            final Timer timer = new Timer ();
            System.out.println ("I'm gonna do something in 5 seconds.");
            timer.schedule (new TimerTask () {
                public void run () {
                    System.out.println ("Time's up !");
                    timer.cancel ();
            }, 5000);
    }if you want to display the time left it's better to make your own Thread that updates a "timeleft variable:
    {code}
    public class Test {
    //set the time Left to 3 mins.
    private long secondsLeft = 3 * 60;
    public Test () {
    new Thread (new Runnable () {
    public void run () {
    try {
    while (secondsLeft > 0) {
    //Let's update the timer every second.
    Thread.sleep (1000);
    secondsLeft = secondsLeft - 1;
    System.out.println ("Time left: " + (secondsLeft / 60) + ":" + (secondsLeft % 60));
    System.out.println ("Grats !");
    } catch (InterruptedException e) {}
    }).start ();
    public static void main (String[] args) {
    new Test ();
    {code}

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • How do I make columns fixed in the CAT2 view

    We are using CATS in SAP version 4.6c.
    I would like to make the left columns, in the CAT2 timesheet view, fixed (eg. rec. cost center), so when you scoll only the weekdays/time columns "moves".
    Anybody who know how to do that if possible at all?
    /Finn

    Hi Finn,
    In CAT2 screen, in the right most side of Data Entry Area(Table control), there is button called 'Configuration' (it has a Table icon). Clik that button & then clik on
    'Administrator' there you will see the settings i.e.
    'No. of fixed columns'. Choose '4' or what ever you want & activate & close it. You will get the disired output.
    All the Best!
    Thanks,
    Sarika.

  • How do you make a fixed gradient background?

    I want to make a background for my site that operates like the one on Newgrounds and many, many others ( http://www.newgrounds.com/portal/ ). The background outside of all the content in the center, that is. Where it starts as kind of an intricate design and then fades into a solid color, which continues all the way down.
    How do I go about doing that?

    I think the ZOOM feature in some web browsers may be giving you a false impression.
    If you don't have it already, download Firefox.
    Hit View > Zoom, text only.
    All of the sites you mentioned are fixed-width, centered designs, not liquid.
    Background images can be repeated vertically (repeat-y), horizontally (repeat-x) or both (repeat) to fill available viewport.  Obviously the image needs to be seamless for this tiling effect to look good.
    More on Background images:
    http://alt-web.com/Backgrounds.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web-design.blogspot.com/

  • How can I make a fixed layout illustrated ebook using indesign?

    I ave the book ready in Indesign and I have successfully exported it in pdf, but there seems no way to turn it into a successfull kindle format book or a working epub. Everything moves around and the images get small. I am using creative cloud, the amazon pugin does not work and I don't know how to proceed.

    Creating fixed layout ePub books is quite complex. This new book might help:
    http://www.amazon.com/Creating-Fixed-Layout-eBooks-ePublishing-InDesign-ebook/dp/B00BLTVDC I/ref=sr_1_2?ie=UTF8&qid=1391081316&sr=8-2&keywords=pariah+burke
    Derek

  • How can I make an image (gif) go over the screen with javascript?

    Hello,
    I'm working on a website for an archery club. Everything works great but I want an arrow going from one side to the other on a certain moment.
    I cannot find a script that works like I want. The image should start out of the screen and has to leave on the other side with a certain speed.
    I'm not able to write such a script myself. I'm not certain how or when it should start but I can fix that in the script I guess.
    Thanks for any help,
    Regards,
    Theo

    Use jQuery with JSTween animation plugin.
    http://www.jstween.org/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • 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).

  • In Keynote '09 distribute objects horizontally/vertically is distributing objects beyond the slide. How do I make the left-most and right-most objects the limit of the distribution?

    I used to have the option of distributing objects so that they would overlap, but the current "distribute" tool is functioning as if overlapping isn't allowed. The result is that the objects move beyond the limits of the slide. Any suggestions?

    I know that's what *should* happen, but it just doesn't. I've made screen-grabs of the entire process:
    Like I said, this use to work just as you've described it. Is there a box I accidentally selected? I just really don't understand why the tool has changed the way it functions...

  • How do I make a FFT filter fade over time?

    I am trying to apply a FFT filter (underwater shallow) to an audio track, but I want it to gradually fade until we here the original non-filtered audio at the end. I've created a multitrack session, but Show Envelopes does not unclude the FFT filter. Surely there is a way to accomplish this? Please help!

    If you add the FFT filter to the Effects Rack for your audio track you can then select Rack Mix in the Automation track and use it to fade between the "wet" treated version and the "dry" untreated version.

  • How to make a fix width for a select list

    APEX 4
    good day everyone I have an apex_item selectlist. My question is How do I make a fix width on it?

    http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_item.htm#CHDHJJAB
    APEX_ITEM.SELECT_LIST(
        p_idx           IN   NUMBER,
        p_value         IN   VARCHAR2 DEFAULT NULL,
        p_list_values   IN   VARCHAR2 DEFAULT NULL,
        p_attributes    IN   VARCHAR2 DEFAULT NULL,
        p_show_null     IN   VARCHAR2 DEFAULT 'NO',
        p_null_value    IN   VARCHAR2 DEFAULT '%NULL%',
        p_null_text     IN   VARCHAR2 DEFAULT '%',
        p_item_id       IN   VARCHAR2 DEFAULT NULL,
        p_item_label    IN   VARCHAR2 DEFAULT NULL,
        p_show_extra    IN   VARCHAR2 DEFAULT 'YES')
        RETURN VARCHAR2;Specify
    p_attributes => 'style="width: 200px;"'for a width of 200px.
    Ta,
    Trent

  • How can I make ANY vector  graphics with graphics2D and save on clipboard?

    I am at my wits end here, and need some help. Simply put, I have a program that creates a basic x-y graph, drawn in a jpanel. I want to create the graph as a vector (emf, eps, svg, I don't care anymore, any of them would be good). But, all I get is a jpg or bitmap.
    I tried using the infamous FreeHEP programs, but it won't recognize the output as anything but "image" which means bitmap/jpg.
         The user enters x/y data, clicks a button, which crreates a jpanel thusly:
    public class GraphMaker extends JPanel {
    static BufferedImage image = new BufferedImage(600, 500, BufferedImage.TYPE_INT_ARGB);
    GraphMaker(double[] xVals, double[] yVals, double[] sems){
    setPreferredSize(new Dimension (600,500));     
    symSize = 10;
    XminV = 0;
    XmaxV = 0;
    // code here just converts input x and y's to pixel coordinates, spacing of ticks, etc...
    for (int i =0;i < ArLn; i++){
    gX[i] = xO + (gX[i] * xRat);
    gX[i] -= xStart;
    gY[i] = gY[i] * yRat;
    gY[i] = yEnd - gY;
    semVal[i] = semVal[i]*yRat;
         Ymin = yEnd - (Ymin*yRat);
         Ymax = yEnd - (Ymax*yRat);
    BufferedImage anImage = new BufferedImage(600, 500, BufferedImage.TYPE_INT_ARGB);
    Graphics2D g2 = anImage.createGraphics();
    g2.setBackground(white);
    g2.setColor( Color.WHITE );
    g2.fillRect(0,0,600,500);
    g2.setStroke(stroke);
    // here I use the values to draw lines and circles - nothing spectacular:
              g2.setPaint(Color.blue);
              int ii = 0;
              for ( int j = 0; j < ArLn[ii]; j++ ) {
    g2.fill(new Ellipse2D.Float(LgX[ii][j] - symOffst, gY[ii][j]-symOffst, symSize,symSize));
    g2.draw(new Line2D.Float(LgX[ii][j],(gY[ii][j]-semVal[ii][j]),LgX[ii][j],(gY[ii][j]+semVal[ii][j])));
    g2.draw(new Line2D.Float(LgX[ii][j]-2.0f,(gY[ii][j]-semVal[ii][j]),LgX[ii][j]+2.0f,(gY[ii][j]-semVal[ii][j])));
    g2.draw(new Line2D.Float(LgX[ii][j]-2.0f,(gY[ii][j]+semVal[ii][j]),LgX[ii][j]+2.0f,(gY[ii][j]+semVal[ii][j])));
                        g2.draw(new Line2D.Float(xLoVal[ii],yLoVal[ii],xHiVal[ii],yHiVal[ii]));
    image = anImage;
    And, when the user clicks on the "copy" button, invokes this:
    public class Freep implements Transferable, ClipboardOwner {
         public static final DataFlavor POSTSCRIPT_FLAVOR = new DataFlavor("application/postscript", "Postscript");
         private static DataFlavor[] supportedFlavors = {
              DataFlavor.imageFlavor,
              POSTSCRIPT_FLAVOR,
              DataFlavor.stringFlavor
         private static JPanel chart;
         private int width;
         private int height;
         public Freep(JPanel theGraph, int width, int height) {
              this.theGraph = Graphs;
              this.width = width;
              this.height = height;
    //******This is the key method right here: It is ALWAYS imageFlavor, never anything else. How do I make this an EPS flavor?
         public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
    if (flavor.equals(DataFlavor.imageFlavor)) {
    return GraphMaker.image;
    else if (flavor.equals(POSTSCRIPT_FLAVOR)) {
                   return new ByteArrayInputStream(epsOutputStream().toByteArray());
    else if (flavor.equals(DataFlavor.stringFlavor)) {
                   return epsOutputStream().toString();
              } else{
                   throw new UnsupportedFlavorException(flavor);
         private ByteArrayOutputStream epsOutputStream() throws IOException {
    EPSDocumentGraphics2D g2d = new EPSDocumentGraphics2D(false);
    g2d.setGraphicContext(new org.apache.xmlgraphics.java2d.GraphicContext());
    ByteArrayOutputStream out = new ByteArrayOutputStream();
         public DataFlavor[] getTransferDataFlavors() {
              return supportedFlavors;
         public boolean isDataFlavorSupported(DataFlavor flavor) {
              for(DataFlavor f : supportedFlavors) {
                   if (f.equals(flavor))
                        return true;
              return false;
         public void lostOwnership(Clipboard arg, Transferable arg1) {
    The same happens with FreeHEP - I want the flavor to be EMF, but the program sees an image so it is always imageFlavor. I know I am missing something, but what, I don't know.
    thanks for your help.

    I don't think there's a built-in solution. One workaround I've seen is to create a dummy graphics class that overrides the desired drawing functions. Instead of actually drawing pixels, the object writes postscript commands to a buffer. There also seems to be commercial code that does exactly this.

  • Fill in Illustrator is transparent and showing object behind. How do I make it a solid opaque fill?

    The fill here keeps showing the object behind (the stright line). How do I make it opaque and not show any object or lines behind it? Thanks!

    I may help to see the layers panel and the appearence panel. My guess is the line object has no fill and therefore you can see the red fill of the object behind it. In other words, if the red fill is to be on top of that line, then that object must be moved to the front or atleast one higher than the line object. The easiest way to do that is drag the object in the layers panel. Moving up the layers brings it forward and moving down the layers moves it towards the back. So the red layer should be above the line layer.
    But thats a guess since I can not see your layers or appearance panels.

  • How can I make a slideshow of animated slides in Edge?

    I've watched Paul Trani's great tutorial on making an interactive slideshow of images in which people can click through the images (https://www.youtube.com/watch?v=teYOHY5bGyk) and I've made a nice slideshow.
    But I now want to make a slideshow just like that but use animated Edge compositions instead of JPEGs or PNGs for the slides that will play when that slide appears . . . does anyone know how to do this?
    Thank you so much for your help!

    Erin, most of Pauls tutorial demonstrations ave source files available for download.
    For that particular slideshow demo, it is here http://paultrani.com/2013/07/how-to-create-a-slideshow-in-edge-animate/
    Darrell

  • How can I make a gradient like this? (Edge between colors is hard, and bends)

    I'm using Illustrator CS5
    Looking to make a gradient similar to the one in the "BubbleBoddy" font here -
    What's the smartest way to go about doing this? I have a basic understanding of gradients, but I have no idea how to get the gradient line to bend like that, or how to get such a "hard edge" between the light and dark pink.
    Any help is greatly appreciated! Thank you!

    draw a curve, copy it, colour it, blend 'em (alt + ctrl + B or Object > Blend > Make
    then use your text as a mask.

Maybe you are looking for

  • Backing Up And Restoring Address Book

    To my dismay I have to completely reinstall my operating system, which happens to be OS X Snow Leopard 10.6.4. I need to back-up my address book to my external hard drive and then put it back the way it was after the OS install. Can someone please wa

  • FaceTime not working properly

    Hi, I just recently upgraded to 13" i5 MBP with Lion OS. I noticed that my FaceTime is not working properly. I have an iPad 2 also and I used it most of the time for my FaceTime which is why I didn't notice that the FaceTime of my new MBP is not work

  • JOptionPane Pain

    The JOptionPane.showOptionDialog(...) is causing me a lot of pain. I simply want to create a Yes/No confirmation box that functions like the Windows equivalent. (Basically if you press "Y" -yes- gets selected. Likewise if you press "N" -no- should be

  • [SOLVED]Youtube and Video Codecs

    Hey guys Ok basically today i went to make a screen recording for a friend. and i got this command line of the internet, youtube itself actually. i do remember the guy on the video saying he converts it later The recording went fine. better than fine

  • DEVICE ERROR 365- HARDWARE PROBLEM !!!!!

    Hi all, thanks for you help. 1. I plugged my charger into my Blackberry 8900, return to it and the phone turns off.  2. I reset it- pulling the battery out, putting it back in.  3. It then says: DEVICE ERROR 365: RESET  4. I've tryed to reload the OS