Flasher Archive

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


Subject: RE: FLASH: Reseting Drag Movie
From: Paul Willoughby
Date: Thu, 21 Sep 2000 16:56:02 +0100

Hi Sohrab

I don't think there's any built in function to do this (i'm talking about
F4). The easiest workaround would be to put code like this in frame 1 of
your movie:

SetVariable: "defaultmenux" = GetProperty ("/yourtarget", _x)
SetVariable: "defaultmenuy" = GetProperty ("/yourtarget", _y)

(The benefit of using code to calculate default positions, rather than using
absolute values, means that you can play around with your design without
having to edit this code)

Then on your reset button or frame:
Set Property ("/yourtarget", X Position) = /:defaultmenux
Set Property ("/yourtarget", X Position) = /:defaultmenux

You'd have to repeat these lines of code for however many items there were,
or if you name them appropraitely you could set up a loop to set the default
variables and reset actions.

hth

Paul

-----Original Message-----
From: Sohrab Pirayesh [sohrabat2mtc [dot] com (mailto:sohrabat2mtc [dot] com)]
Sent: 21 September 2000 16:08
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Reseting Drag Movie


Im creating a movie where the user can customize their navigation via drag
movie.

I was wondering if there is a funtion where i could reset the movie clip
positions to their original positions.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


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