Criterz Forum
Please log-in. If you don't have an account, PLEASE register. You will get extra benefits to the criterz forums!!

Criterz Forum

the criterz mmorpg game forum!
 
HomePortalGalleryFAQSearchMemberlistChatPlayBlog/NewsRegisterLog in
Idk if we will keep all of our users and posts, and what not. But soon-ish we will be moving from forumotion to SMF or somthing.
Sorry for the no updates the past two weeks. VERY soon, there will be a new forum, and friday features will start up again.

Share
 

 Two codes, very basic, a lot of problem

Go down 
AuthorMessage
supportfth
I post too much
supportfth

Number of posts : 366
Age : 22
Location : Brazil
Registration date : 2009-01-18

Two codes, very basic, a lot of problem Empty
PostSubject: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem EmptyFri Jan 23, 2009 12:12 pm

The saving system has alredy been designed... codes are more or less structured, there is just.... um....

well, ive got 2 little problems...

1. i can get to create a user, with a username that the person writes in a text box... heres the code:

Quote :

stop();
//cookie stuff
//cookie creation/opening
var desiredUser = ""
var desiredPassword = ""
var myCookie:SharedObject = SharedObject.getLocal("savegame");
//stablishing vars
register_btn.onRelease = function() {
myCookie.data.username = desiredUsername.text
myCookie.data.password = desiredPassword.text
myCookie.data.coins = 100
myCookie.data.inventorySlot1 = "0"
myCookie.data.inventorySlot2 = "0"
myCookie.data.inventorySlot3 = "0"
myCookie.data.inventorySlot4 = "0"
myCookie.data.inventorySlot5 = "0"
myCookie.data.inventorySlot6 = "0"
myCookie.data.inventorySlot7 = "0"
myCookie.data.inventorySlot8 = "0"
myCookie.data.inventorySlot9 = "0"
myCookie.data.inventorySlot10 = "0"
myCookie.flush();
_root.error._visible = true
_root.error.errorDescription = "User Created. Username:" + myCookie.data.username + "Password: " + myCookie.data.password
};


also, i cant' get to do a easy thing, but, anyways, it is that whern you click on the box of the beta hats, your money goes up by 10, but, until now, nothing worked... Sad here is the code:

Quote :

on (press) {
_root.object.gotoAndStop(2);
_root.isbeta = true;
}
on (rollOver) {
_root.boxopner.gotoAndPlay(2);
}
//below there is a coin saving test code
on (press) {
var coins = myCookie.data.coins;
myCookie.data.coins++10;
myCookie.flush();
}

everything else is runing fine.... until now....

_________________
Two codes, very basic, a lot of problem 25586_Flash-Programmer
Two codes, very basic, a lot of problem 25611_Dreamweaver_User
Two codes, very basic, a lot of problem 25634_Fireworks_User
Two codes, very basic, a lot of problem 25652_Photoshop_User
Two codes, very basic, a lot of problem 25669_Google_is_for_Noobs
Back to top Go down
View user profile http://redprintproject.webs.com/
seandude
critter


Number of posts : 5
Registration date : 2008-11-29

Two codes, very basic, a lot of problem Empty
PostSubject: Re: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem EmptySun Jan 25, 2009 7:52 pm

it would be easy if you post a download of the new criterz so that we could edit it.
Back to top Go down
View user profile
supportfth
I post too much
supportfth

Number of posts : 366
Age : 22
Location : Brazil
Registration date : 2009-01-18

Two codes, very basic, a lot of problem Empty
PostSubject: Re: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem EmptyMon Jan 26, 2009 4:31 am

seandude wrote:
it would be easy if you post a download of the new criterz so that we could edit it.

well, i fixed the first, but, if hoagie gives me permission, i post the .fla here

_________________
Two codes, very basic, a lot of problem 25586_Flash-Programmer
Two codes, very basic, a lot of problem 25611_Dreamweaver_User
Two codes, very basic, a lot of problem 25634_Fireworks_User
Two codes, very basic, a lot of problem 25652_Photoshop_User
Two codes, very basic, a lot of problem 25669_Google_is_for_Noobs
Back to top Go down
View user profile http://redprintproject.webs.com/
hoagie master 12
all hail hoagie master xD
hoagie master 12

Number of posts : 361
Registration date : 2008-07-31

Two codes, very basic, a lot of problem Empty
PostSubject: Re: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem EmptyMon Jan 26, 2009 4:34 am

pm it to him. he his a programmer. he is trusted.

_________________
Wow this sig is old. Visit www.criterz.com!
Back to top Go down
View user profile http://criterz.forumotion.net
supportfth
I post too much
supportfth

Number of posts : 366
Age : 22
Location : Brazil
Registration date : 2009-01-18

Two codes, very basic, a lot of problem Empty
PostSubject: Re: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem EmptyMon Jan 26, 2009 4:37 am

hoagie master 12 wrote:
pm it to him. he his a programmer. he is trusted.

ok

_________________
Two codes, very basic, a lot of problem 25586_Flash-Programmer
Two codes, very basic, a lot of problem 25611_Dreamweaver_User
Two codes, very basic, a lot of problem 25634_Fireworks_User
Two codes, very basic, a lot of problem 25652_Photoshop_User
Two codes, very basic, a lot of problem 25669_Google_is_for_Noobs
Back to top Go down
View user profile http://redprintproject.webs.com/
Sponsored content




Two codes, very basic, a lot of problem Empty
PostSubject: Re: Two codes, very basic, a lot of problem   Two codes, very basic, a lot of problem Empty

Back to top Go down
 
Two codes, very basic, a lot of problem
Back to top 
Page 1 of 1
 Similar topics
-
» A list of CSS codes i need
» Can Crying Solve Problems...?
» Freaky Forms: Your creations, alive impressions.
» Trojan Problem
» Nuqel.e problem

Permissions in this forum:You cannot reply to topics in this forum
Criterz Forum :: criter development :: programing-
Jump to: