Flasher Archive

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


Subject: Re: FLASH: moving an object with a button ....again.....
From: Branden Hall
Date: Mon, 6 Dec 1999 01:56:19 GMT

The easiest way to do this is:
First of all, create a new movie clip and place in the first frame of it
your button.
Then create a new layer, and name it actions. Then add the following
actions to 3 consecutive frames in that layer.
frame 1:
STOP
frame 2:
Set Property ("/MC", Y Position) = _y - 5
frame 3:
goto and play frame 2

Finally add frames to the button layer so it exists for those 3 frames and
add the following actions to the button:

on press
play
end on
on release
goto and stop 1
end on

That't it!

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

----- Original Message -----
From: <HoebeeNYCataol [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Sunday, December 05, 1999 7:41 PM
Subject: FLASH: moving an object with a button ....again.....


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



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
  FLASH: moving an object with a button ., HoebeeNYC

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