Next: Registration
Up: Protecting your applications
Previous: Bypassing the default handler
Contents
Check if it is expired
Since the default handler is passed by, you should check if it is expired by yourself.
In frame 1 of the main movie add a FSCommand.
FSCommand("FFish_Run", "CheckExpiry");
Insert the "CheckExpiry" script in SWFKit, and insert the following code into it
if (Application.isExpired && !isRegistered())
{
// the application is expired
FlashPlayer.targetGotoLabel("_root", "Expired");
}
Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.