Problem With Database Connection

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

hyuval1511
Posts: 13
Joined: 17 Oct 2011, 14:57

Problem With Database Connection

Postby hyuval1511 » 06 Aug 2012, 16:16

Hi
I'm building a virtual world Using your platform and I have a problem
I downloaded from the Internet a file of courses of Dan ran into a problem I have on the server boys and girls existing software can change all the parts inside I added another category that is kept in a database and added a button that allows to perform but rest of the buttons when I press them I get the options eg Option 1 green hair 2 blue 3 red 4 yellow
Each click it goes in the future but it does not happen unfortunately is not working the function code named Min button
Here's the code
stop();

btn_heads.onPress = function(){
if(av_heads._currentframe == 4){
av_heads.gotoAndStop(1);
}else{
av_heads.nextFrame();
}
}

btn_ears.onPress = function(){
if(av_ears._currentframe == 4){
av_ears.gotoAndStop(1);
}else{
av_ears.nextFrame();
}
}

btn_hair.onPress = function(){
if(av_hair._currentframe == 4){
av_hair.gotoAndStop(1);
}else{
av_hair.nextFrame();
}
}

btn_eyes.onPress = function(){
if(av_eyes._currentframe == 4){
av_eyes.gotoAndStop(1);
}else{
av_eyes.nextFrame();
}
}

btn_mouths.onPress = function(){
if(av_mouths._currentframe == 4){
av_mouths.gotoAndStop(1);
}else{
av_mouths.nextFrame();
}
}
btn_Min.onPress = function(){
if(av_Min._currentframe == 2){
av_Min.gotoAndStop(1);
}else{
av_Min.nextFrame();
}
}

What saved it undefined instead of having any number we have exhausted the species
If you need something more tell me
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Problem With Database Connection

Postby rjgtav » 07 Aug 2012, 10:27

Hello.
I'm sorry but I can't understand your problem... Can you please rephrase it?

Thanks
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
hyuval1511
Posts: 13
Joined: 17 Oct 2011, 14:57

Re: Problem With Database Connection

Postby hyuval1511 » 07 Aug 2012, 12:37

Hi
I have Dan's file I downloaded it from courses here:
www.danscourses.com/images/Dans/inet185 ... 0files.zip
Now the file can be replaced by eyes ears and all organs of the Face I want to have a shirt you can also replace all the places I added another cell of the shirt Dan's existing file if I click the button I see the options but I made ​​this button does not work
If you need further information let me know
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Problem With Database Connection

Postby rjgtav » 08 Aug 2012, 14:58

I'm sorry but this sounds like a flash only problem, related with some bug with the code. If that so, we don't provide general actionscript support here, only support to the SmartFoxServer and associated products and to the examples, not custom made ones.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 73 guests