[FMX] Need help button: play 20-30, then go to 70

[FONT=Times New Roman][LEFT]Hello!

I need help with creating a few buttons:

button home: gotoAndPlay frames 20-30, then jump to frame 50
button gallery: gotoAndPlay frames 20-30, then jump to 100

I hope you see what I want to make :s: I need all buttons play between frame 20 and 30, and then jump to some frame.

[/LEFT]
Thanks for answers,
[/FONT]

do you intend to create as many posts as you have frames?

[AS]
a.onRelease = function() {
_root.option = “a”;
_root.gotoAndPlay(20);
}

b.onRelease = function() {
_root.option = “b”;
_root.gotoAndPlay(20);
}
[/AS]

and in 30 frame put this
[AS]
if (_root.option == “a”) {
_root.gotoAndPlay(50);
} else if (_root.option == “b”) {
_root.gotoAndPlay(100);
}[/AS]

hello

I want to make flash web site, but i want to make a 5 buttons, when click any button i want to play an effect as x effect in link below and after effect go to the linked page of it’s button, [COLOR=red]how to make this button?[/COLOR]

[U]http://www.geocities.com/dutch_delusion/button.html[/U]

thx for all hard works!