1 Reply Latest reply on Nov 21, 2007 2:33 AM by Tal_CS

    Flash Integration

    Blindgator
      I am trying to submit my shockwave game to Kongregate and they have this system for flash to connect to their high score system. The two lines that you need to put in flash to connect are
      _root.kongregateServices.connect();
      _root.kongregateScores.submit(1000); // The user got a score of 1000
      Is there anyway to import a file from flash with those codes and use some of my variables from Director to submit the high scores to Kongregate?
      Thanks,
      Brian
        • 1. Re: Flash Integration
          Tal_CS
          Brian, I suggest you'll try to call a function in Flash that performs the code you mentioned.
          Here's a quote from the reference:

          quote:

          To execute a Flash method:
          Use the following syntax:
          spriteReference.myFlashMethod()



          I used an swf within director and changed it's text var like this, but you should try calling a function, as described above: