Flasher Archive

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


Subject: Re: FLASH: Changing variables on the fly...
From: Randy Kato
Date: Wed, 11 Oct 2000 20:15:41 +0100

OK, I think I get it. Yeah, you'll need to make those coordinates dynamic so no
matter where it is the button always does it's thing. So for example if the
button is going to move the clip 20 pixels to the right it's a relative thing:

myClip._x = myClip._x + 20;

Good luck!
Randy

Ken Grygienc wrote:

> Well I guess if I had the actual script I wrote that would help but I don't.
>
> I think what you coded was what I need. I have 2 buttons, one for each
> direction(right, left). The movieclip is just a series of photos side by
> side, a la Barney's. So every time you click a button the clip moves to the
> specified coordinates. But once the movie has moved, those coordinates in
> that button have to change so you can move the movie further along.

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.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: Changing variables on the fly, Ken Grygienc

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