Be a Supporter!

How do you make a load button?

  • 191 Views
  • 2 Replies
New Topic Respond to this Topic
Legodude2000
Legodude2000
  • Member since: Nov. 28, 2008
  • Offline.
Forum Stats
Member
Level 16
Game Developer
How do you make a load button? 2011-03-01 12:04:18 Reply

All i want is a simple code for a load button, one that when you click the load button it leads to the frame you last time left off. How do you do this


- LegoDudeStudios

BBS Signature
potatopower
potatopower
  • Member since: Feb. 24, 2010
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to How do you make a load button? 2011-03-01 12:07:44 Reply

var myLocalData:SharedObject = SharedObject.getLocal("frameNumber");
Wait... why am I giving you code?
shoulda searched google
http://www.google.com/search?q=how+to+us e+shared+object+actionscript+3&ie=utf-8&
oe=utf-8&aq=t&rls=org.mozilla
:en-US:offi cial&client=firefox-a


AS3 programmer.
Learn AS3, it's for your own good.

Callum123456
Callum123456
  • Member since: Mar. 7, 2009
  • Offline.
Forum Stats
Member
Level 24
Blank Slate
Response to How do you make a load button? 2011-03-01 12:08:19 Reply

Using shared objects.
AS3
AS2