Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Trouble centering a scaled movie clip
From: Kevin Hays
Date: Tue, 2 Jan 2001 10:46:45 GMT

Hi all,

This is a simple concept that may be difficult to explain so here we go...

I have a movie clip (called "mapsource") which contain a map and is quite
large. I have it placed on stage behind and mask layer. I have a slider
clip which sets the Xscale and Yscale of the mapsource clip. The user can
zoom into the map and click on it to drag it around inside the mask viewing
different parts up close.

The problem: when zoomed in close and a user drags to any corner, when the
user then zooms back out to full size, the map does not center inside the
mask window and it's edges can be seen. I can't seem to wrap my head around
the math required to center up the mapsource clip if it has been dragged off
center.

Anybody have a method I can use? The scale range for the mapsource clip is
from 35% (full view) to 220% (max zoom).

If you want to see the FLA file I can send it. It's 280K

Thanks for any help,
...Kevin


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

K E V I N H A Y S
MARS Productions, Inc.

617 868 6044
http://www.marsinc.com
khaysatmarsinc [dot] com

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Truth in Advertising 101:
FREE PUPPIES: 1/2 COCKER SPANIEL, 1/2 SNEAKY NEIGHBOR'S DOG


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Trouble centering a scaled mo, Matthijs Koevoets

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]