Ask a Question related to Macromedia Flash, Design and Development.
-
HC #1
Zoom and Pan
I'm looking for a behaviour that will allow a user to zoom in and out on an
image and pan it by dragging the mouse in any direction. Is there something
available, or a sample FLA file I can learn from?
Thanks
HC Guest
-
Can not zoom in
The previous versions of Flash Player allow web customer to Zoom In or Zoom Out. However, it seems that when people installed Flash 8 player, they... -
Zoom Bug?
InDesign CS 3.01, August patch, Windows 2000 Years ago I adopted the habit of zooming with Ctrl-Spacebar and the mouse to select the area. This... -
I want no zoom on my .swf
Hi there, When you rigth click on flash movies with you're mouse, you get options like- zoom in, zoom out, 100%, show all....... ect. ect. ... -
zoom!
hey, does anyone know how the zoom effect on this site was done in flash? it's really great, you can zoom in and zoom out to your liking. any tips or... -
Zoom in or out
How do we do this with director mx (Please see attachment)? http://webforums.macromedia.com/attachments/bounce.zip -
\Martin Voegeli, vom\ #2
Re: Zoom and Pan
"HC" wrote:
Fortunately, I have an example online. I'm not very accurate in the> I'm looking for a behaviour that will allow a user to zoom in
> and out on an image and pan it by dragging the mouse in any
> direction. Is there something available, or a sample FLA file
> I can learn from? Thanks
example. I use the centerpoint of "clipImage" (MovieClip) for the
zooming center (and not the center of the rectangle masking the image):
[url]http://birdy1976.com/2004/zoom-image-or-movieclip.html[/url]
// place this code in the main timeline
// and associate the functions with buttons:
function zoomIn() {
clipImage._xscale *= 1.1;
clipImage._yscale *= 1.1;
}
function zoomOut() {
clipImage._xscale *= 0.9;
clipImage._yscale *= 0.9;
}
// place this code on "clipImage":
onClipEvent (load) {
this.onPress = function() {
this.startDrag();
};
this.onRelease = function() {
this.stopDrag();
};
}
Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
\Martin Voegeli, vom\ Guest
-
HC #3
Re: Zoom and Pan
Thanks for the help!
Harv
""Martin Voegeli, vom"" <MartinVoegeli@gmx.ch> wrote in message
news:bup0ma$ka99g$1@ID-169229.news.uni-berlin.de...> "HC" wrote:>> > I'm looking for a behaviour that will allow a user to zoom in
> > and out on an image and pan it by dragging the mouse in any
> > direction. Is there something available, or a sample FLA file
> > I can learn from? Thanks
> Fortunately, I have an example online. I'm not very accurate in the
> example. I use the centerpoint of "clipImage" (MovieClip) for the
> zooming center (and not the center of the rectangle masking the image):
>
> [url]http://birdy1976.com/2004/zoom-image-or-movieclip.html[/url]
>
> // place this code in the main timeline
> // and associate the functions with buttons:
> function zoomIn() {
> clipImage._xscale *= 1.1;
> clipImage._yscale *= 1.1;
> }
> function zoomOut() {
> clipImage._xscale *= 0.9;
> clipImage._yscale *= 0.9;
> }
>
> // place this code on "clipImage":
> onClipEvent (load) {
> this.onPress = function() {
> this.startDrag();
> };
> this.onRelease = function() {
> this.stopDrag();
> };
> }
>
> Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
>
>
HC Guest
-
Anker #4
zoom and pan
I'm looking for a quick receipe on zoom and pan buttons? Need it for a map
with a lot of detail.
Anker
Anker Guest
-
Nex #5
Re: zoom and pan
have you considered using the magnifying glass idea? it's a lot of fun
and easier than clicking on pan & zoom buttons all the time.
try [url]www.flashkit.com[/url] for a few fla's to get you going
Nex
On Mon, 5 Apr 2004 10:25:21 +0200, "Anker" <an@rfsf.dk> wrote:
>I'm looking for a quick receipe on zoom and pan buttons? Need it for a map
>with a lot of detail.
>
>Anker
>Nex Guest
-
Unregistered #6
Re: Zoom and Pan
Is there a way to put limits onto how much it zooms and drags?
Unregistered Guest



Reply With Quote

