Flasher Archive

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


Subject: FLASH: moving an object with a button ....again.....
From: HoebeeNYC
Date: Mon, 6 Dec 1999 00:52:14 GMT

a short while back there were clear instructions on this subject.... that
went like this:
I want to click a button and have an object move up 5 pixels.
Any of these will work for a movie clip with an Instance name of MC:

On (Press)
Set Property ("/MC", Y Position) = GetProperty ( "/MC", _y ) - 5
End On

On (Press)
Set Property ("/MC", Y Position) = /MC:_y - 5
End On

On (Press)
Begin Tell Target ("/MC")
Set Property ("", Y Position) = _y - 5
End Tell Target
End On

Thanks for this info.....was very helpful to me also...but now I'd like to
know how to do basically the same thing , but have the change be
continuous.....ie so that as long as the button is pressed, the change in the
movie clip keeps on going ....in this case....the Y position continuously
changes ,the movie clip keeps moving as long as the button is pressed...or
whatever change...such as rotation or alpha.......I mean not just in
increments....thanks....


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: moving an object with a butto, Colin Moock
  Re: FLASH: moving an object with a butto, Branden Hall

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