This content has been marked as final. Show 4 replies
Make sure there is a stop() action in the intro frame.
gotoAndPlay() and gotoAndStop() methods expect frame number as their parameter and not a string.
Replace "intro" by a frame number to which frame it is labelled.
sorry.........ignore my previous reply
declare x to be global in the very first frame .
"vnorthw" <firstname.lastname@example.org> wrote in message
> I'm having an interesting problem with a flash game I'm creating.
> It is a basic space ship shooter game I'm making and my issue at the
> moment is
> with the gotoAndStop function.
> I have several labeled frames, at the moment specifically "intro" and
> While in the game I want the user to be able to exit to the intro page
> 'x'. In my key listener I coded gotoAndStop( "intro" ) to the x button.
> However, when the code is executed the space ship and enemy crafts
> continue to
> exist and fly through my intro screen.
> If anyone has any insight as to how I may rectify this, It would be