Flasher Archive

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


Subject: RE: FLASH: Zoom/Move targets
From: Ed Harvey
Date: Tue, 29 Aug 2000 20:15:38 +0100

There is an example on how to do this in the "Flash 4 Magic" book.

Ed

> ----------
> From: Motomichi
> Reply To: flasheratchinwag [dot] com
> Sent: Tuesday, August 29, 2000 1:11 PM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: Zoom/Move targets
>
> Hi there,
>
> Sorry but I don't really get what you mean. Which drag movie click action?
> Could you please explain to me more?
>
> Thanks thanks,
> mm
> >
> > Think u have to check 'Constraint to rectangle' under the drag movie
> click
> > action.
> >
> > -----Original Message-----
> > From: Motomichi <motomichiatmail [dot] juvenilemedia [dot] com>
> > To: flasheratchinwag [dot] com <flasheratchinwag [dot] com>
> > Date: Tuesday, August 29, 2000 9:47 PM
> > Subject: FLASH: Zoom/Move targets
> >
> >
> >> 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.
> >>
> >> mm
> >>
> >> (Moving Targets scrip[t)
> >>
> >> on (release) {
> >> setProperty ("/target_item", _x, Number(getproperty("/target_item",
> >> _x))+18);
> >> 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 =
> >> (int(("/target_item:scale_value"*1.1)*1000))/1000;
> >> x_value = getproperty("/target_item", _x);
> >> y_value = getproperty("/target_item", _y);
> >> }
> >>
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> NudeGuru.com is proud to sponsor the Flasher list
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> IT'S THE ART OF MONEY, HONEY!
> >> 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
> >>
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > NudeGuru.com is proud to sponsor the Flasher list
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > IT'S THE ART OF MONEY, HONEY!
> > 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
> >
> >
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> 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
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
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


Replies
  Re: FLASH: Zoom/Move targets, Motomichi
  FLASH: 6 flash 5 flas, fritz

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