bright, fresh software
Downloads  |  Buy

Is there a proper Adobe AIR Example for TurboActivate?

Is there a proper Adobe AIR Example for TurboActivate?

Postby Confused » July 23rd, 2011, 12:13 pm

The only AIR example I see in the zip archive is written in some bizarre .mxml format that the flash editor won't load, and I don't see how anyone can really use this if the licensing/activation window code won't work with AIR/Flash. Is there a proper Adobe AIR example with .fla or .as files?

I have been painfully trying to reconstruct what the mxml junk does into .as files, but no luck so far. Am I overlooking something?
Confused
 

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Wyatt » July 23rd, 2011, 12:31 pm

The Adobe AIR example was built using the Flash Builder. Here's what the files mean.

  • AIRTester-app.xml: The configuration of the AIR app.
  • AIRTester.mxml: The "main window" of the example app.
  • PKey.mxml: The "pkey entry" window of the example app.
  • TrialExtension.mxml: The "trial extension" windows of the example app.
  • TurboActivate.as: The class that contains all the TurboActivate calls.
  • TurboActivateEvent.as: A helper class used by TurboActivate.

Does this make sense? What program are you using to edit your AIR app? It doesn't sound like Flash Builder.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Confused » July 23rd, 2011, 12:56 pm

I am using Adobe Flash CS5.5 from Adobe, of course. Using the official Flash editor to create the Flash based AIR apps should make perfect sense. I don't know why anyone would use anything else.

If it just had .AS files for the window classes (PKey and TrialExtension) instead of .mxml, I think it would work. The license code from the AIRTester.mxml I *think* can be pasted into an .fla or .as without much editing. But there is no way for me to load or import those funky mxml classes. I am also having a hard time searching the web for the source files of the mx.core.* library used by the windows so that I can reconstruct this in a normal format.

The TurboActivate.as and TurboActivateEvent.as seem to work fine.
Confused
 

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Wyatt » July 23rd, 2011, 5:07 pm

We'll fix the example so it works with both Adobe Flash Builder and Adobe Flash Professional.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Confused » July 23rd, 2011, 5:24 pm

Ok, thanks a bunch.

I have gotten it to do something, by monkeying around with the code, but I don't think I should trust my own rigging of it...

I think most of the code can be reused, it just needs to be in a different format and maybe use different interface techniques (i don't think the flex "Window" class exists on Flash Pro, but I think you can use NativeWindow).

Any idea when you might have it ready?
Confused
 

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Wyatt » July 23rd, 2011, 5:56 pm

We'll add it to TurboActivate 3.0 that we're trying to get out by the end of this week (7/29) or early next week.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby MarkPBC » September 8th, 2011, 6:40 pm

[quote="Wyatt"]We'll add it to TurboActivate 3.0 that we're trying to get out by the end of this week (7/29) or early next week.[/quote]

Did this happen? Will a Flash Professional example be added to Help?
MarkPBC
 

Re: Is there a proper Adobe AIR Example for TurboActivate?

Postby Wyatt » September 8th, 2011, 8:03 pm

Hey Mark,

TurboActivate 3.0 is out but we haven't finished the Flash Professional example project. We're working on the Flash Professional example and it will be out soon.

In the mean time the code is easy enough to use. Include "TurboActivate.as" and "TurboActivateEvent.as" to your project. Then follow the tutorial to learn how to use the functions and callback events.

You can open the "AIRTester.mxml" in a text editor to see how to use the TurboActivate files.


We're sorry we couldn't squeeze the example projects into the 3.0 release.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to LimeLM & TurboActivate Support