D
duckshappen
Guest
I am using Flash 8 Professional (from a torrent i got at Mininova) and a tutorial book i bought at a local bookstore. The Flash book is based on Flash MX, though, which makes it a little inappropriate for my self-studying. but i couldn't find any other copy which was as cheap as my copy.
anyway, i have a problem with making buttons.
on my book it said that you could create a button in two ways:
1) by using this code:
on (release) {
gotoAndPlay(10); //may change//
}
2) myButton(name of btn instance).onRelease = function () {
gotoAndPlay (10); //may change//
};
my problem now is that the second way does not work on my flash 8. i always have error "statement must be in line with function"
i really need help. thanks. much appreciated flash dudes out their.
anyway, i have a problem with making buttons.
on my book it said that you could create a button in two ways:
1) by using this code:
on (release) {
gotoAndPlay(10); //may change//
}
2) myButton(name of btn instance).onRelease = function () {
gotoAndPlay (10); //may change//
};
my problem now is that the second way does not work on my flash 8. i always have error "statement must be in line with function"
i really need help. thanks. much appreciated flash dudes out their.