Flasher Archive

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

Subject: FLASH: Zoom/Move targets
From: Motomichi
Date: Tue, 29 Aug 2000 15:03:51 +0100

Hi to all,

Sorry to keep posting this but I am still hoping that someone might know
about this in this newsgroup.

I am working on an interactive map and the users can zoom in/out or move the
screen. I ma doing this in Flash 5 and I need to know if there is anyway
that I can set the limit of zoom or distance of movement to the users.

The script I have so far is as below. Thanks millions in advance.


(Moving Targets scrip[t)

on (release) {
setProperty ("/target_item", _x, Number(getproperty("/target_item",
x_value = getproperty("/target_item", _x);
y_value = getproperty("/target_item", _y);

(Zooming Targets scrip[t)

on (release) {
x_scale_value = int(getproperty("/target_item", _xscale)*1.1);
y_scale_value = int(getproperty("/target_item", _yscale)*1.1);
setProperty ("/target_item", _xscale, x_scale_value);
setProperty ("/target_item", _yscale, y_scale_value);
height_value = int(getproperty("/target_item", _height));
width_value = int(getproperty("/target_item", _width));
/target_item:scale_value =
x_value = getproperty("/target_item", _x);
y_value = getproperty("/target_item", _y);

NudeGuru.com is proud to sponsor the Flasher list
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

  FLASH: Loading HTML into a variable in F, Roland Combes

  FLASH: Flash stat, Brian

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