• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Export html5 canvas as AIR app for desktop

Participant ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

I have a perfect html5 canvas video player app created using html5 canvas with perfect code and actions.  Works perfectly in a browser.

When I export it as an AIR for desktop app all actions are commented out and video player objects are gone.  Do I have to recode everything using AC3? Then can I still use the JS listener actions for returning to menu when movies end? Am I better off just using this in a browser?

Sorry for being a newbie, appreciate the guidance.  rg

Views

356

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 22, 2018 May 22, 2018

AIR apps have StageWebView. You could make a shell app that just places a StageWebView, and then sets it source to be your already working project.

The documentation has some examples. They are AS3, you'll have to learn at least a little bit to get it all going:

StageWebView - Adobe ActionScript® 3 (AS3 ) API Reference

If you're doing something which is to be a kiosk installation, just running your project in Chrome in its full screen mode might be simpler.

Votes

Translate

Translate
LEGEND ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

AIR apps have StageWebView. You could make a shell app that just places a StageWebView, and then sets it source to be your already working project.

The documentation has some examples. They are AS3, you'll have to learn at least a little bit to get it all going:

StageWebView - Adobe ActionScript® 3 (AS3 ) API Reference

If you're doing something which is to be a kiosk installation, just running your project in Chrome in its full screen mode might be simpler.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

Colin,

Thanks.  I think your final suggestion is the best since it is working.  It's a large touch-screen video player and works in Firefox.  We are just trying to eliminate the possibility of users holding finger on screen too long and bringing up like a "right-click" menu.

I think I will try to get my IT person to work more with the hardware and Chrome to kill that problem.

thanks for the confidence boost.  rg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

LATEST

Your IT guy may know about this already, but there are ways to disable the right click:

Disable mouse right click, cut, copy and paste using jQuery - CodexWorld

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines