PDA

View Full Version : Menu problem (mayB simple but i dont get is :( )


Mutty
10-13-2002, 04:32 AM
okay heres my problem,
i am in the middle of a menu
this menu has 5 catagroies stacked upon each other,
when u click the top 1 the 4 beloe it move down n reveal the sub catagrories, and when u clikc the 1 under it, the other 3 catagories move down n reveal the next set of sub catagories,

what i want, is for when u click the second catagory (with the first catagory open) the first catagory will close while the next opens

i have very basic actionscripting n tweening involved right now,
on(release){
this.play();
}

taht is all that is on the buttons, but i am thinkin i need something such as

on(release){
this.play();
if (_root.home << this is wot i dont get? i dont know how to make it say, hey _root.home is on frame 10, taht means i play _root.home now >> please if u can help me please help me, if i am confusing please let me know and i will try to explain in moer detail.

thank you

farafiro
10-13-2002, 08:24 AM
if u r making it with frames animation within one mc u just can't tell the playhead to play 2 different frames in the same time.
but if u r making them all as a seperate mc so u can caal them likeon(release){
this.play()
if(_root.firstButtonMenu._currentFrame == //any){
_root.firstButtonMenu.gotoAndPlay(//any)
}
}