Search found 9 matches

by Kenn
16 May 2009, 09:30
Forum: Server Side Extension Development
Topic: Database/sendResponse problem
Replies: 4
Views: 6307

Aha, found the problem, the column name had to be in caps..

trace("Name: "+o.list[0].NAME) instead of trace("Name: "+o.list[0].name)
by Kenn
16 May 2009, 09:05
Forum: Server Side Extension Development
Topic: Database/sendResponse problem
Replies: 4
Views: 6307

Thanks for the reply! Sadly it gives me the exact same thing, only now it gives me the right amount of rows.

output:
0:
1:
2:
3:
This is really confusing :/ ..
by Kenn
15 May 2009, 14:48
Forum: Server Side Extension Development
Topic: Database/sendResponse problem
Replies: 4
Views: 6307

I must be stupid, but i really cant get this to work :/ ..

trace(o._cmd); works fine, traces the current value, however trace(o.list); returns nothing (" "), but it populates the datagrid component with the corrent values..

Surely there must be some way to use the data outside the datagrid ...
by Kenn
15 May 2009, 11:59
Forum: Server Side Extension Development
Topic: Database/sendResponse problem
Replies: 4
Views: 6307

Database/sendResponse problem

Hello!

Ive been playing around with the internalDbExample.fla files, trying to understand it. I managed to understand most of it, and altered it to fit my needs.

Problem is i dont really understand how to read the values that i send back to the client. Putting the values into the datagrid ...
by Kenn
14 Apr 2009, 11:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: buddylist example error
Replies: 4
Views: 6156

After a few days of scratching my head wondering why it the first add refused to work, while second, third, and so on, worked, i found out that my input-text had "render text as html" enabled for some reason..

After disabling "render text as html" even the first add works fine!
by Kenn
06 Apr 2009, 14:43
Forum: The Bug Trap
Topic: onPrivateMessage Documentation
Replies: 2
Views: 154

Seeing how this post is few months old ill stress this issue again, please do look over the docs!

roomId traces userId, and the other way around. This is very confusing..
by Kenn
06 Apr 2009, 12:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: buddylist example error
Replies: 4
Views: 6156

Here is the code if thats to any help.. :)

This works without any problems.
function addBuddy() {
var item:Object = chatPanel.mainList_lb.getSelectedItem()
if (item != undefined) {
smartfox.addBuddy(item.label)
}
}


This works after a friend is added (using this button OR the addBuddy ...
by Kenn
06 Apr 2009, 09:20
Forum: SmartFoxServer 1.x Discussions and Help
Topic: buddylist example error
Replies: 4
Views: 6156

Hmm weird, it was pointing to the right API, it just took a reboot for it to show! Thanks mate :)

Ive been playing around all morning trying to learn the basics of the buddylist functions, and ran in to a rather weird bug, was hoping you could help me out a bit!

I made two diffrent ways of adding ...
by Kenn
03 Apr 2009, 12:37
Forum: SmartFoxServer 1.x Discussions and Help
Topic: buddylist example error
Replies: 4
Views: 6156

buddylist example error

Hey, i cant get the 24_pro_buddyList2 (as2) example to work.. I have changed the classpath to the latest as2 API, but i still get these errors:

There is no property with the name 'onBuddyPermissionRequest'.
There is no method with the name 'sendBuddyPermissionResponse'.
There is no method with the ...