Skip to main content
Inspiring
July 23, 2017
Answered

Mask with other movieclip

  • July 23, 2017
  • 3 replies
  • 1503 views

Hi

I have already made a mask. I want it to look like a magnifying glass. How can I make the handle and the mask move together?

    This topic has been closed for replies.
    Correct answer Colin Holgate

    I tried that but the bigger picture inside is a still picture when I put the movieclip in the scene


    You would select the bigger picture, convert to symbol as MovieClip (F8), then give the movieclip a name that can be used to control it with code.

    Are you able to upload what you have so far? It might be quicker to fix what's wrong than to make a whole demo file for you.

    3 replies

    Colin Holgate
    Inspiring
    July 23, 2017

    One tricky part would be the moving around of the close up version of the image. It too would be in the same movieclip, and masked by the mask layer. As you move the whole movieclip around the stage you could make the close up image also be a movieclip, and you would move that in the opposite direction. The illusion would be that the close up isn't moving.

    There are a lot of YouTube videos on how to make a magnifier effect. Do a search for:

    how to do a magnifier in flash

    that will show up quite a few.

    Inspiring
    July 23, 2017

    I can not find any instructions on how to make mask with the handle

    Colin Holgate
    Inspiring
    July 23, 2017

    The rim, handle, and mask would all be inside one movieclip. You then move that movieclip around the stage.

    Inspiring
    July 23, 2017

    I have tried to make a movieclip with the handle and the mask,but the handle also becomes the mask.

    Colin Holgate
    Inspiring
    July 23, 2017

    The movieclip that includes the handle and the mask, that you drag around, would not be in a mask layer. Inside that movieclip the rim and handle would not be a mask layer, or masked, it would be on top. The mask layer would be the glass part of the magnifier, and under that mask layer would be the close up of the image you're trying to see.

    Legend
    July 23, 2017

    However you're currently moving the mask... do that for the handle too.

    Inspiring
    July 23, 2017

    Thank you for nothing