ForumsProgramming ForumAC2 Help Needed

7 7069
mikecranbo
offline
mikecranbo
45 posts
Nomad

Hi Guys I'm making a quiz game and i have to make it so that when you press a button it goes to the next frames I'm having problems because i have been trying to find this out for a while and i need some help.

  • 7 Replies
akunu
offline
akunu
35 posts
Nomad

As2 on the main timeline:
btn.onPress = function()
{
_root.gotoAndStop(_root.currentFrame + 1);
}

mikecranbo
offline
mikecranbo
45 posts
Nomad

It Doesn't seem to work it has like 4 errors.

akunu
offline
akunu
35 posts
Nomad

Try opening the proporties panel, then click your button, in the instance name box tipe "btn" without the quotes. Then copy and paste any errors you get.

mikecranbo
offline
mikecranbo
45 posts
Nomad

Sorry for this dumb question but main timeline?what do you mean by that do you mean the actions timeline or the buttons actions?

mikecranbo
offline
mikecranbo
45 posts
Nomad

hey her is a link to a screen video i made please watch the hole thing.
Link//www.youtube.com/watch?v=kHF029b697I
off topic sorry but how do you do the thing were you put a textlink
in the description Example:click here and it would lead you to some link

Darkroot
offline
Darkroot
2,763 posts
Peasant

Cool code

You have to use armorgames functions for bold,italic,link,image and quote. They are above the post in blue boxes. Just highlight your text and click on of them.

is AC2 new?


No it's old. AS3 is pretty old itself.
weirdlike
offline
weirdlike
1,299 posts
Prince

bumped by a spambot :O

Locked!

Showing 1-7 of 7