Flash: Collision Detection?
- Started
- Last post
- 7 Responses
- twosixohfive
Right, setting up a navigation menu, where the buttons react to each other i.e a rollover on one button in a row makes it expand, pushes away the others.
Think it's something to do with collision detection, but not sure.
Anyone got any ideas on how to do it? The Actionscript involved etc?
Cheers.
- smoothblend0
???
- twosixohfive0
Just like that, but on rollover rather than click.
- twosixohfive0
This is msot like what i want to do:
- UndoUndo0
nothing to do with collision detection. it is all about animating the size of the window and using _width to set _x for the other buttons
- imakedesign0
somthing like...
button1.onRollOver = function () {
button2._x = 250
button3._x = 450
button4._x =550}
then reset the values in RollOut.
this is very basic you should look into easing equations.
- twosixohfive0
Do you know any utorials on _width to set_x 'ing' , haven't got a clue on it i'm afraid.
- UndoUndo0
http://www.kirupa.com very useful resource :)