PDA

View Full Version : buttons to jump to another scene


justiio
09-22-2010, 02:52 PM
so i'm a beginner...and i am really having trouble with a couple of buttons used on a site i'm trying to finish...so the thing is i can't get them to work...i've used codes from tutorials and so on but NOTHING ...can u help me pls?
i am currently trying with the code snippets in cs5:


st.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene);

function fl_ClickToGoToScene(event:MouseEvent):void
{
MovieClip(this.root).gotoAndPlay(1, "scene 3");
}


pls anyone help?:-s