PDA

View Full Version : Need help with a menu idea!


evo
08-08-2005, 02:30 PM
hey -

i am designing a site for a friends band. I wish to have square objects at the bottom of the page which move horizontally, which will look seemingly random but will simply move on paths.

however, when menu items are clicked, i want a chosen 'square' to move up and expand onto the main content area, after which the content will show on top of it.

but i am having difficulty thinking of how the next part will work - i want the current content box thats expanded to then shrink and move back to its path when another menu item is clicked.

hope that made sense :eek:

thanks, evo.

stevehapp
08-10-2005, 02:13 AM
use some pseudocode to start with

// when mouse is clicked
// move background mc to position (_x,_y)
// change size ( _xscale, _yscale )
// move the old background back to small position

check out the properties of MovieClip

evo
08-10-2005, 10:08 AM
thanks thats really helpful :) , i can get my head around it a bit easier now.

but im still unsure how the old background back to small position
would work, how would it know which background was active for example?

thanks.