Skip to main content
Known Participant
April 23, 2010
Question

about tweening????

  • April 23, 2010
  • 1 reply
  • 779 views

if this is my code:

stop();

button1.addEventListener(MouseEvent.CLICK, button1_clicked);

function button1_clicked(e:MouseEvent):void{
    gotoAndStop("page1");
}

If button 1 is pressed, i want that there is a tweening transition from where page its button located going to page1... pls help me

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 23, 2010

you'll need to create a page outro on the timeline or code for the transition using actionscript.

yvez16Author
Known Participant
April 23, 2010

then, what shall i do???

kglad
Community Expert
Community Expert
April 23, 2010

depends which you do.  if you use the timeline then use the goto methods.  if you use actionscript, you're done.