Making a pause button in AS2

A place for tutorials on how to get the most out of Flash

Making a pause button in AS2

Postby oneeyezero » Sat Jan 18, 2014 7:19 am

Hi, been working on the Adventures of Captain Cutie for almost 2 years now and I’m finally coming to the end. Before I make the final chapter I want to go back and add some features that have been giving me some issues (hence why I saved them for last). There are 3 main issues, one is figuring out how to make a pause button work in AS2. If anyone knows then please help, I’m so close to being done with this thing!
oneeyezero
 
Joined: Sat Feb 18, 2012 8:45 am

Re: Making a pause button in AS2

Postby OwnerOfSuccuby » Sat Jan 18, 2014 10:03 am

The one way of adding pause button is create var Pasue =false - and in all actions that you create if Pause != true {action}

Then on pause button you wil change Pause = true/false.

Unfortunatly i do not know another ways of adding it.
OwnerOfSuccuby
 
Joined: Fri Jun 11, 2010 9:33 pm

Re: Making a pause button in AS2

Postby oneeyezero » Thu Feb 06, 2014 7:40 am

Unfortunately I was unable to figure out how to get your method to work. I’m a visual person so I’d need to see a video or example explaining the code for me to really get it. Thanks anyway, I appreciate you taking the time to answer my question.
oneeyezero
 
Joined: Sat Feb 18, 2012 8:45 am


Return to Tutorials



Who is online

Users browsing this forum: No registered users