help on on (release) function - need it to do this then that

  • spyyder
  • Newbie
  • Newbie
  • spyyder
  • Posts: 8
  • Loc: United Kingdom

Post 3+ Months Ago

My current code:
on (release) {
this._parent.gotoAndPlay("aboutout");
this._parent.gotoAndPlay("satisfacin");
}

basically I want (when the button is pressed) it to play the "aboutout" frame, then the "satisfacin" frame after that automatically. Currently if i press the button it plays "aboutout" frame then stops, and then if I press it againit plays "satisfacin" - which is not what I want ("satisfacin" should automatically play right after "aboutout".

I know that the other solution is to make a seperate frame that links both the "aboutout" and "satisfacin" frames together but I have about 24 sets of these on my flash file and I would rather try it this way first.

Any help is greatly appreciated
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

okay u cant do it this way ...
what u need to do is :

on (release) {
this._parent.gotoAndPlay("aboutout");
}


and at the end og the aboutout frame insert this

this.gotoAndPlay("satisfacin");
or just
gotoAndPlay("satisfacin");
  • spyyder
  • Newbie
  • Newbie
  • spyyder
  • Posts: 8
  • Loc: United Kingdom

Post 3+ Months Ago

Thanks

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.