Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

sample image

Here is my dilemma. I am making a scrolling text gif. I need the background on this gif to be transparent with a white box centered in the middle with the text showing ONLY in the white box. This means that the text needs to only show up on the box and not the transparent background.

share|improve this question
2  
Could you post an example? My assumption is that you are talking about masks but I could be wrong. If you are talking about masks, then this would be a worthwhile read. At which point you'd want to mask your text to only stay in the white box. –  Johannes May 13 '13 at 15:22
    
I tried to post a sample of what i was trying to accomplish but I dont have enough reputation in the forums to be able to post an image. –  user12702 May 13 '13 at 15:37
    
Ive used masks in photoshop on occasion. Im not sure if it would help in this occasion. What I need is more of some way to make the text transparent when its in the blank part of the canvas, then start showing once it hits the white rectangle, scroll through the rectangle and then disappear again as it goes back into the transparent background on the other end of the graphic. –  user12702 May 13 '13 at 15:44
    
Just edit your question, add the image and delete the leading ! A user with more rep can activate your image for you :-) –  Kurt May 13 '13 at 15:49
2  
To tell you the truth, I think Johannes comment is probably the key to what im attempting to accomplish. Ive been playing with the masks and almost have it I think. Thanks everyone for your suggestions and your time. Thank you again everyone! –  user12702 May 13 '13 at 16:41
show 3 more comments

1 Answer

Johannes' comment was correct. You simply need a mask to hide the text outside the rounded rectangle.

I'm merely using your posted gif as a base. The actual Photoshop document will most likely be set up differently, but this is the basic item you need.

Highlight all but the bottom layer in the Layers Panel and group those layers (Layer > Group Layers).

Create a selection which matches the rounded rectangle. Then with the Group highlighted in the Layers Panel, and the selection active, click the little mask icon at the bottom of the Layers Panel. This will add a mask to the group.

layers

This will then hide the text outside the rectangle. (I've increased the animation speed considerably so it can be seen better.)

animation

When setting up the animation, I assume you have only one layer for the scrolling text and are moving it and then creating a motion tween between frames. When you do that, you want to unlink the layer and the mask by clicking the little chain icon between them. This will allow you to move the text, while leaving the mask in a stationary position.

share|improve this answer
1  
Great Scott !!!!!!!!!!!!!!! –  Bala May 13 '13 at 17:47
    
Brilliant! Thats exactly what it is I needed to do. I've rarely used animation in Photoshop so im not as familiar with it as I would like. I appreciate everyone's input on this immensely! Have an epic day! –  user12702 May 13 '13 at 17:52
    
@Bala I know, this is heavy! –  JohnB May 13 '13 at 18:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.