A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do you move a bigger rectangle behind a smaller one please?

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    21
    Hello,

    What I want is this:

    I want a rectangle on the screen. Behind it is another rectangle with words on which can be moved around with the mouse. In other words the front rectangle is like a picture frame. When you move the rectangle around, only the bit of it within the centre of the other rectangle can be viewed.

    How can I do this please?

    Many thanks

    James

  2. #2
    Where have I been ??
    Join Date
    Oct 2001
    Posts
    305

    Hmm..

    Not exactly sure what you are trying to achieve. What it sounds like, is that you have a BIG rectangle in the background with words all over it that you can only see... by looking THROUGH the small rectangle that is in the front. The small one in front you click on and drag around to see the words on the larger rectangle. If this is anything what you want, you need to make the small rectangle a button, then use it as a Mask on the larger one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center