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

BUG? with statusbar when showing PDFs in Adobe Air (& Animate CC) AS3

Community Beginner ,
Jul 27, 2017 Jul 27, 2017

Anyone else having this specific issue?

Regardless of settings in Adobe Reader AND adding #scrollbar=0&toolbar=0&statusbar=0&messages=0&navpanes=0 to the PDF this little widget shows up on my application.... I'd be fine with it if it didn't allow the user to print or go to the internet (by blicking the acrobat logo then the "?") but I use Adobe Animate to create locked down touch screen kiosks and allowing the user to browse the net is not acceptable.

I've tried:

Various settings in acrobat reader... various PDF files.... various computers (all running Win10)  htmlLoader (my preference) and this... stagewebview.

Issue:   seemingly randomly upon opening the stagewebview  (statusbar?  see below photo)  become visible even though its been dissabled.   In my original full project it manifests when i leave the page and come back.... sometimes.... rarely... but when it does... its back for good until i restart the application)

Can be recreated by:

Running the open and close functions over and over again with various different timings between them (perhaps i'm stepping on them loading?)

I had try/catch's in there before I just removed to keep the code short.

Help!  I have a multiple kiosks that have this issue.  I'm hoping somebody else on here (or Adobe)  has come upon this issue and created a workaround to show PDFs without giving the user access to the printer and internet.

2017-07-27_15-27-28.jpg

Here is an example of what happens.... admittedly it did it quickly in this recording... i've had it take 5 minutes before

BELOW IS THE CODE:

Dropbox - PDFIssue.fla

import flash.display.MovieClip;

import flash.media.StageWebView;

import flash.geom.Rectangle;

import flash.desktop.NativeApplication;

import flash.events.MouseEvent;

import flash.filesystem.File;

stop();

var myStageWebView: StageWebView;

reviewButton_mc.addEventListener(MouseEvent.CLICK, step1ButtonOnClick);

closeButton_mc.addEventListener(MouseEvent.CLICK, qualificationCloseButtonOnClick);

function step1ButtonOnClick(event: MouseEvent): void {

                myStageWebView = new StageWebView(true);

                myStageWebView.viewPort = new Rectangle(172, 172, 1200, 600);

                myStageWebView.loadURL("https://www.fsa.usda.gov/Internet/FSA_File/tech_assist.pdf#scrollbar=0&toolbar=0&statusbar=0&message...");

                myStageWebView.stage = this.stage;

}

function qualificationCloseButtonOnClick(event: MouseEvent): void {

                myStageWebView.stage = null;

                myStageWebView.viewPort = null;

                myStageWebView.dispose();

                myStageWebView = null;

}

930
Translate
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 ,
Jul 27, 2017 Jul 27, 2017

This is not an Animate question, it's a question about the Adobe PDF reader plugin. All Animate is doing here is opening a URL.

That being said:

Turning off Read Mode while viewing PDFs in your Browser

Of course the best solution would be to convert these documents to HTML and not use the PDF plugin at all.

Translate
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
Community Beginner ,
Jul 27, 2017 Jul 27, 2017

I had great hopes in that option but it didn't work.   

I'll post this info in the acrobat plugin folder but I don't see an issue with the functionality in my browser

Translate
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 ,
Jul 27, 2017 Jul 27, 2017

One thing worth trying is AIR 26. It uses a more modern StageWebView, and hopefully might work out.

Do you see the status bar before opening the web view?

Translate
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
Community Beginner ,
Jul 27, 2017 Jul 27, 2017

I'm using Adobe Animate to create and it only has the option of AIR 23 Desktop as far as i can tell.  (is that a Beta Thing?)

You can see in the video what it does... it doesn't show the statusbar (or readmode bar whatever ya call it in the picture above) until ive opened and closed the web view several times...

-EDIT:  looks like i already installed the ADOBE AIR 26 BETA today...   though I don't see an option within Adobe Animate to use.

Cross posted here:

BUG? with statusbar when showing PDFs in Adobe Air (& Animate CC) AS3

Translate
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 ,
Jul 27, 2017 Jul 27, 2017

AIR 26 did get released, you could download the release one, or get the latest beta. Either way you would go to the Help menu and choose the Manage AIR SDKs option. In there you can add an SDK, and point it into the folder of files that you downloaded. You then choose AIR 26 as the target in the Properties panel.

Translate
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
Community Beginner ,
Jul 27, 2017 Jul 27, 2017

Installed and switched my target player to 26..... no dice.... works.. but same issue... that statusbar loves to popup after awhile...

Translate
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
Community Beginner ,
Aug 02, 2017 Aug 02, 2017
Translate
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
Adobe Employee ,
Aug 04, 2017 Aug 04, 2017
LATEST

I suggest sharing these details with the product team using this form Feature Request/Bug Report Form  to help the team investigate the issue.

Thanks,

Preran

Translate
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