Is it possible to detect when the mouse is clicked and the window is not in focus? so the click was outside of the application window.
Posts by Skeets
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
so how exactly do you use PHP or a mySQL-Database in MMF? or how can I use the playtomic-extension? I just want to save a list of strings.
-
Where should online flash games place their save game files?
-
Has anyone got this to work? All that's really needed is to connect and send stats, which it should already do, however I can't even get it to connect... Another helpful feature would be to grab the username of the player (from their kongregate profile)
I myself tried to make this extension, but I failed pretty quickly. If you're having trouble with the connection part Pharanygitis, post your question here or better yet the kongregate forum, they are really helpful with the API, I was just not familiar enough with actionscript to use their help...
-
Condition: Always
Event: storyboard controls-> scrollings -> Center window position in frame. Then select the character. -
This fire effect I found in this forum, but I noticed it doesn't seem to work on an SWF, while it works fine on an EXE. Why is that? Attached is the MMF, the EXE, and the SWF/html.
-
I would also be willing to test this out, if theres still room, I have a G1 phone.
-
so Kongregate says that:
Note that to access FlashVars in AS3, you must have access to the root object, either from a DisplayObject already in the display list, or a reference saved from an active DisplayObject. The means in which you handle this is your choice.
How do I get access to the root object?
-
This requires the component though, as described on the page. The component is a flash extension. The API must be loaded manually using the manual guide on that page. However, this gives me an error for using "this":
The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code.
can I replace the word "this" with something else? heres the code i'm trying to fix:
Quote from code
package Extensions
{
import Actions.*;
import Conditions.*;
import Expressions.*;
import Objects.*;
import RunLoop.*;
import Services.*;
import Sprites.*;
import flash.events.*;
import flash.net.*;
import flash.display.LoaderInfo;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.system.Security;
public class CRuntest extends CRunExtension
{
// Pull the API path from the FlashVars
var paramObj:Object = LoaderInfo(root.loaderInfo).parameters;
// The API path. The "shadow" API will load if testing locally.
var apiPath:String = paramObj.kongregate_api_path
"Please login to see this link.";
// Allow the API access to this SWF
Security.allowDomain(apiPath);
// Load the API
var request:URLRequest = new URLRequest(apiPath);
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load(request);
this.addChild(loader);
// Kongregate API reference
var kongregate:*; -
Loading configuration file C:\Program Files\Multimedia Fusion 2\Data\Runtime\Flash\Flex\frameworks\flex-config.xml
C:\Documents and Settings\Skeets\Local Settings\Temp\Fla3BF.tmp\Extensions\CRuntest.as(96): col: 1 Error: Access of undefined property _global._global.kongregate.services.connect();
So obviously it's not going to recognize "_global." until its uploaded on Kongregate, so how do I get it to build?
btw, edif is Genius! I have never made an extension in my life and its so easy!
-
I know I'm supposed to wait for tutorials and all, but I'm figuring out most of it, i'm just hung up on one part: how do you implement a line of AS? is that done in the JSON file in the actions section? I have all the parameters figured out, I just need to actually use them in a line of AS.
-
Thanks! i didn't have it in the extensions folder, I thought it was supposed to be outside... oops.
-
it wasn't like that before, thanks that fixed that problem. Now i'm getting
Loading configuration file C:\Program Files\Multimedia Fusion 2\Data\Runtime\Flash\Flex\frameworks\flex-config.xml
C:\Documents and Settings\Skeets\Local Settings\Temp\Fla2CD.tmp\CRuntest.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'Extensions'. -
Loading configuration file C:\Program Files\Multimedia Fusion 2\Data\Runtime\Flash\Flex\frameworks\flex-config.xml
C:\Documents and Settings\Skeets\Local Settings\Temp\Fla231.tmp\Extensions\CExtLoad.as(44): col: 12 Error: Call to a possibly undefined method CRuntest.object=new CRuntest();
^
I get this error when trying to export as a swf. I placed the CRunget file where it was supposed to be and renamed it CRuntest. Did I miss a step or do something wrong? -
I was just wondering if there was a estimated time window this will come out in, a few days, a month, longer?
Thanks.
-
a demonstration would be very helpful, I've tried to get this working for hours with not much progress... Kongregate made an example using a JPG, but it isn't swf, and not very similar, so it wasn't very helpful.
-
Please login to see this link.
Is it possible to use the flash player object to call these functions? I tried this, but got an error. Maybe I was doing it wrong.... the function I called was
"kongregateAPI.loadAPI"
(exactly like that) -
changing the initial frame rate to 1000 raises the frame rate on the flash program to about 60 on a blank application.... but this is still not fast enough to detect a single microsecond, can the frame rate be increased further?
-
Why is the frame rate locked at 50? events that alter frame rate are not allowed in flash... anyway to increase the frame rate? (a blank application only has 50 frame rate)
-
Ok, I figured it out. Turns out, if you make a string visible, then it recreates itself if it was destroyed.