You simply get the distance from the mouse to a point (the stage center for
example) and use that to alter the image._x property.  You can also add in
the _y property if you want to pan up and down too.

Charles P.


On 12/20/05, Kevin Aebig <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
>
>
> I've seen a few examples of a scenic landscape that is "scrolled" to view
> more by the mouse cursor and can't seem to find any references to them a
> la
> google. Does anyone have a clue where to find these sources or have an
> example handy?
>
>
>
> I've just gotten pinned by my boss to have this done by the end of the
> day,
> or I'd do it from scratch.
>
>
>
> Cheers,
>
>
>
> Kevin
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to