Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

buttons died

Status
Not open for further replies.

silverswim

Programmer
Oct 17, 2001
50
GB

Hi , on a rainy day ...: :
: : :
: : ::
I am using this to go from scene to scene:

on(release){
gotoAndPlay("seasons", 1);
}

I put it on the button by clicking the button instance on the stage and going into the actions panel.
In order to check for errors, I did it in normal mode too, but what happens is that the player goes back to the beginning of the current scene and just plays from there.

I have completely deleted the button, made a new one and put the code in again.

Have I got the code wrong??

Thanks people.

 
could it be that this button is in scene "seasons"? and therefore starts its own scsne again? regards

Firegambler
 
Hi Firegambler

its definatley not going to its own scene. Its own scene is called KRoo

cheers.
 
Sometimes I get scene-jumping quirkiness on buttons.

What I have often ended up doing is keeping my scene-jumping actions on the main timeline, in their own frame. Then from the button I send the main timeline to the frame I need to access that scene.

Kind of a round about way of doing it, but it works.
 
Thanks frozenpeas,

I did as you said. It didnt respond when I did test scene. But then I ran the debugger and it was fine. And the published swf is working too. But in the fla, it still doesnt show the buttons working in the test scene facility.

So alls well that ends well..., but its still strange; surely it should test too. Will listen out 'bout it.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top