[Kongregate API] AS3 Integration page 6 (locked)

Subscribe to [Kongregate API] AS3 Integration 129 posts, 66 voices

Sign in to reply


 
avatar for Polaris666 Polaris666 1 post
Flag Post
Hello, I'm implementing the API in an AS3 game for the first time and I have two questions. ------------------------------------------------------------------------------------------------------------- 1) I'm using Flex to make my game, is it possible to load the API's SWC into the project through the Library Path? You know, going into Project -> Properties -> ActionScript Build Path -> Library Path -> Add SWC. I want to know because it is a lot easier than the whole Loader stuff, at least for me. ------------------------------------------------------------------------------------------------------------- 2) I been reading the tutorials and they say that once I come up with the statistics I want to keep track of, I should add /statistics to the end of the game's URL in order to set them up. Does this mean I can't have the game with the API working right after uploading it?
 
avatar for TheElusiveTrout TheElusiveTrout 4 posts
Flag Post

I’ve been checking the documentation and help for a long time but I haven’t found my answer. I recently uploaded a new game which should be implemented with the AS3 stats API. It worked perfectly in the offline shadow version, and it’s running smooth online. However, it doesn’t seem to be reporting. I tried installing Firebug, and using the ?debug_level=4 as mentioned in the tutorial but I couldn’t get any indication if things were being sent. Even when I tried it on the Kongregate Chat game. I’m tripled checked all my steps… is there something I’m missing that anyone can think of?

 
avatar for TheElusiveTrout TheElusiveTrout 4 posts
Flag Post

Oooook then… new approach. I have a preloader swf that loads and addChild()s my game SWF. Pretty Standard. Right now all my kongregate api code is in my game SWF, and mostly in my document class. I ended up using the component because my game was freezing online when I manually loaded, even though the Shadow services were perfect.
Do i need to load kongregate in my preloader SWF? Could that be the reason its not working?

 
avatar for d4m4s74 d4m4s74 8 posts
Flag Post

I don’t use flash, I write pure AS3 and compile using flex.

Is it possible to simply get an AS file?

Sign in to reply


Click Here