Skip navigation
Alphonse23
Currently Being Moderated

transparent layer over something opaque

Jul 30, 2012 1:45 PM

Hi I'm trying to put an image over a webcam video. Is it possible to put a transparent layer over the video so it makes the video form into a shape.

Like here's the webcam ->

-----------------

|                    |  

|                    |

-----------------

 

Can I put a image layer over it that is transparent, that will show the background through? Like this ->

------------

|              |___ <- this is an image layered over the webcam with the background visible.

|                    |

-----------------

 

Thanks if anyone can lend me a hand.

 
Replies
  • Currently Being Moderated
    Jul 30, 2012 2:22 PM   in reply to Alphonse23

    set the image into a Movie Clip Container i.e. convert the image to a Movie Clip (F8)

     

    in the poperties panel set a instance name (imageContainer)

     

     

    after init the webacam viedeo

     

    addChildAt(imageContainer, numChildren) // this to send to forward the image

     

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 30, 2012 4:10 PM   in reply to Alphonse23
    Sorry I wrote only half

    The video should also be kept in a container (videoContainer)
    after placing the video

    addChildAt (ImageContainer, numChildren)
    videoContainer.mask = ImageContainer;

     

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 20, 2012 4:49 AM   in reply to esdebon

    Hi...

     

    Looks like we are trying to do the same thing - unfortunately we don't know much about coding, so we don't quit understand what to do.

    we would like to place an image on top of the webcamera Skærmbillede 2012-11-20 kl. 13.47.19.png

    so that the image of whats is being recorded is behind this image.

     

    is it possible?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points