Pure actionscript AIR application

Hi,

I have an AIR app that I made with FlashDevelop in pure actionscript so I only use Flex SDK to compile and package into .air package.Can I use LimeLM to handle licensing? Is there an example for this or I can follow the flex version.Also my application is an only desktop app and I am not selling it through the internet becaue the app is sold with a specific hardware. So I want to email activation codes to customers when they payment arrive. Is it possible to use TurboActivation without a seller's website? What would be the way to set this up?THanks a bunch for any info.

Best regards,Greg

Hey Greg,

Yes, LimeLM and TurboActivate work with Adobe AIR. Follow that tutorial to learn how to use the various parts.

You'll have to build a native installer (instead of a *.air package) due to the way Adobe restricts things, but that shouldn't be a problem.

Tell me if that helps.

Hi,

So I went ahead and I integrated TA in my app. I created a license to do testing. So far so good.The license I created had 30 days trial. It detected it was not activated, but it detected the trial so the app ran good.After I erased the trial period from the license but the app kept detecting 30 days. Then I activated the app and it went good. Then I revoked the license but it still detects as it was activated and genuine and as if it had still 30 days trial. Even today when it should have taken one day down if it was counting as it should.I am calling is genuine in my code but it returns it is genuine even if it was revoked.Is there something I am doing wrong?

ThanksGreg

Just un update on this.So about the isGenuine call. The problem was that I forgot to test the boolean cases. I was just testing for error.Now as I am testing for the boolean it is ok I get correctly the product key revoked message.

But the trial mistery still persist. It detects 30 days trial even when the license is revoked and it was set before 0 days. So I need to check genuine license when it would enter into trial mode because otherwise it would just assume it is ok to run since there is the trial periode.Is it normal?

ThanksGreg

The trial system is completely separate from the activation system. If you set a trial of 30 days then the user has a 30 day trial whether your revoke their product key or not.

If you change the trial length then you need to download the new TurboActivate.dat file and include it with your app.

Ahhhh, OK. Thanks a lot! I must have missed this detail.So great!So I can reassure everyone that LimeLM works great with pure actionscript and you don't need flex code to make it work!

Best regards,Greg

I'm glad to help.