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

stagewebview on desktop debug fine publish do not work

New Here ,
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

In a desktop project I use stagewebview to load a local html file,this html file include flash player a map and use js call as to control the swf display in flash player.When i run in debug mode is OK,but when i publish to air or exe it dees not work,the map is no problem,but the swf does not been load.

Code is here:

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

  webView.stage = this.stage;

  webView.viewPort = new Rectangle( 0, 0, stage.stageWidth, stage.stageHeight);

  var fPath:String = new File(new File("app:/examples/StreetViewWithMap.html").nativePath).url;

  webView.loadURL(fPath);

TOPICS
Development

Views

175

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