Answered
NEWBIE HELP - Button Scripting
I'm completely new to this, so no need to tell me how stupid
the coding is, and please keep the answers simple, hehe.. Thanks in
advance to everyone who can help me out here! :)
Situation:
I have a menu with four moving (classic tweened) buttons, all coded the same.
Two of them works, but two of them won't play/move. Everything is done exactly the same, instance-names are correct, and so on - but the debug'er says there's something wrong with the third button (line 10, marked with a *) - and gives me this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at 5_fla::MainTimeline/frame1()
And if there's a better way of doing this (which I'm sure there is plenty of), I'd love to know how you'd do it :)
All help is appreciated!
Here's my first attempt at flash coding:
____________________________________________________
Situation:
I have a menu with four moving (classic tweened) buttons, all coded the same.
Two of them works, but two of them won't play/move. Everything is done exactly the same, instance-names are correct, and so on - but the debug'er says there's something wrong with the third button (line 10, marked with a *) - and gives me this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at 5_fla::MainTimeline/frame1()
And if there's a better way of doing this (which I'm sure there is plenty of), I'd love to know how you'd do it :)
All help is appreciated!
Here's my first attempt at flash coding:
____________________________________________________
