swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] A newby question : create magnifying tool


From: Matthias Kramm
Subject: Re: [Swftools-common] A newby question : create magnifying tool
Date: Sun, 27 Jul 2008 12:28:28 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jul 23, 2008 at 02:39:38AM -0700, Jean <address@hidden> wrote:
> Using swfc, I would like to create a magnifier.
> The aim of this is to create a swf which can take 2 parameters :
> - the URL of the low resolution image
> - the URL of the high resolution image (proportional to low resoution)
> 
> The swf should load the 2 images, and displays a rectangle at the
> cursor showing the part of the low resolution image under the cursor
> zoomed in.

Actually, this should be pretty easy- 
use .jpeg for both images, .put one into the scene, and wrap the second
around a .startclip/.end- all that's left is to modify the position of
the second image according to the current mouse position with some
ActionScript.

However, if you want to do a zoom tool like this properly, you should
probably be using tiles. (Depending on what resolution the high
resolution has)

Greetings

Matthias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]