bright, fresh software
Downloads  |  Buy

LimeLM for HTML/Javascript Programmers w/ no Flex Experience

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is OFF
Smilies are ON
Topic review
   

Expand view Topic review: LimeLM for HTML/Javascript Programmers w/ no Flex Experience

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by -Vijay » September 27th, 2011, 1:13 pm

Please take a look at these steps from adobe to incorporate inmarket licensing which is not supported anymore.

http://learn.adobe.com/wiki/display/InMarket/Integrating+Licensing+into+an+HTML+application.

Thinking that LimeLM could be substituted where adobe licensing code is used.

This method enables to package the html app into a flex container.

This method also required no porting from AS to JS. Possibly an interface might be needed to handle cases of trial, limited, full versions etc.

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Wyatt » September 26th, 2011, 11:01 am

We've been working on it. We're trying to get it out in a few days. Unfortunately HTML/JS AIR apps are second class citizens in Adobe's eyes and they don't provide very good tools to work with.

If you're especially rushed you could always convert the TurboActivate.as and TurboActivateEvent.as files from actionscript to Javascript. That's what we're doing now. Everything else will be identical.

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by vijay » September 26th, 2011, 10:49 am

Wyatt,

Can you please provide an update on the html/javascript AIR integration sample app?

Thanks,
-Vijay

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Wyatt » September 13th, 2011, 9:29 pm

Hey Vijay,

We're putting together an HTML/JS AIR example now. We're trying to get it out in about a week.

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Vijay » September 13th, 2011, 8:41 pm

Wyatt,

I am in the same boat, I am not sure how you can include actionscript file into a html/js AIR application. :?:

I have gotten to the point where extendedDesktop is supported but stuck on how to incorporate the licensing files TurboActivate.as & TurboActivateEvent.as into the html / javascript files.

I think one would need to create a swf file as a library containing the two as files and build an Actionscript to JS interface on the html page.

Would you be able to provide a sample for an Abobe Air Application built using only html and javascript. Just FYI, http://www.adobe.com/devnet/air/samples_javascript.html.

Thanks,
Vijay

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Wyatt » August 31st, 2011, 1:10 pm

Send it to wyatt@wyday.com and I'll take a look at it this weekend. There will be no charge -- the real life code will be useful in making a proper AIR HTML/JS example (not that we'll use your code in an example, just that it will let us implement it in real-life way).

Would that help?

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by snatcher » August 31st, 2011, 12:02 pm

Wyatt,

How much would you charge to implement this into my project for me?

Thanks

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Wyatt » August 28th, 2011, 4:07 pm

OK, we'll add an HTML/AIR example with TurboActivate 3.1.

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by snatcher » August 28th, 2011, 9:59 am

Wyatt,

Thank you for your help. However after countless hours of attempting to make this work I have come to the conclusion that HTML/Javascript AIR Apps and FLEX/Actionscript AIR apps are two totally different monsters.

The code provided is not even remotely applicable from my trials and I hope that in the future you come out with a separate tutorial on AIR projects specific to HTML/Javascript. (If you visit Adobe's help site you'll notice they have entirely different help libraries for the two programming environments).

Thanks

Re: LimeLM for HTML/Javascript Programmers w/ no Flex Experi

Post by Wyatt » August 27th, 2011, 7:20 pm

The "Using TurboActivate with Adobe AIR" article explains how to use the TurboActivate functions. In the code you've posted you're already using the event handlers (which is a good start). These event handlers will get the response of any functions you call.

If you read on in the article you'll see the example expanded by using the "IsActivated()" function:

Code: Select all
public function init():void
{
...
    ta.addEventListener(TurboActivateEvent.IS_ACTIVATED, onIsActivated);
...
    ta.IsActivated();
}



After adding the "ta.IsActivated()" line to your init() function compile and re-run your application. If you see any exceptions read the error. For instance, if you haven't yet put the systa.exe, TurboActivate.dll, and TurboActivate.dat files in your debug folder then you'll get an exception.


Tell me if this helps.

Top