I'm trying to install but having no luck. When trying to test the game it stops part way through,
"Generating SWF". When trying to publish, the following message appears:
Unable to export SWF to the requested location.(Check your logs. Usually, the cause is an incompatible sound file.)
(I currently have no sound files in the game file I'm using)
Here's what I've done so far:
I copy-pasted the .as files into separate Freeform behaviours. Wasn't sure what to use for the,
"Classname" or if it was even important. Tried using their respective file names as well as,
"GameTracker" for both. Didn't appear to make a difference.
From FGL's instructions:
Once you have a list of the data that you would like to collect, the next step is to initialize the API to make it ready to use. Start by creating an instance of the GameTracker class somewhere in your code.
My guess is that this is the same as
You must call new GameTracker(); before it can be used!
So, I placed,
"new GameTracker();" into a code block and Create wrapper(see attachment)
If I remove this code block, it tests and publishes fine. I also tried copying the FGL folder into my game folder as per
Copy the FGL directory into your game folder so that your code can access the FGL.GameTracker package.
But without the Freeform behaviours, I get this error message:
Behavior contains fields that are either empty or filled with bad data...Call to a possibly undefined method GameTracker.
I'm still using v2.20, so my guess is either I missed something or FGL's GameTracker will not work with 2.2.0.
Here are the links to FGL's instructions
https://www.fgl.com/view_library.php?page=gametrackerhttps://www.fgl.com/GameTrackerAPI.phpAnyone have any thoughts?