Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zoom into part of a movie

Status
Not open for further replies.

wilcdr

Programmer
Jan 4, 2001
19
CA
Hi all,

I'm using Flash 5 and I'm wondering if there's a way to create a magnifying glass effect NOT on a bitmap but on the actual stage content?

So, you will move a magnifying glass thing around the stage, and say a "window" on a corner of the stage will show a zoomed in version of where the cursor is on the stage. The zoomed in version should look exactly like it is on the stage, so if there is an animation happening on the stage, the zoomed in version should have the same animation going on.

Any help will be greatly appreciated!

Thanks!

Willy
 
ok try this

You put your image on the stage in one layer.
You create a second layer, with this image transformed by say 200%.
Create a mask layer for this second image, where the mask itself is a graphic within a movie-clip. Give the movie-clip an instance name like "zoom".
Create a dragmovieclip action on the mc within the mask.

This way you drag you're mouse over the image and the 200%one is visible through the magnifying mask.

dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
Hi,

Thanks for your time. I have been using a method more or less the same as yours, but I have buttons and other interactive stuffs on the stage, so making two copies of the thing on the stage would make it difficult to synchronize the events in them.

But I guess there is no other way of doing this, eh? I was hoping to find a way to do a true magnifying thing where it is actually magnifying the stage instead of a copy of the stage.

Thanks!

Willy
 
hi wild, just a quick update because Sam asked for a different version and it got me thinking again, so here's one without the requirement for two clips. The original movie is duplicated to another level by an action in the first frame, and controlled by a separate clip:




dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top