Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
163 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | ||
xmlns:s="library://ns.adobe.com/flex/spark" | ||
xmlns:mx="library://ns.adobe.com/flex/mx" | ||
windowComplete="onWindowComplete()" | ||
width="1024" height="768" | ||
backgroundColor="#F1F1F1"> | ||
<fx:Script> | ||
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | ||
xmlns:s="library://ns.adobe.com/flex/spark" | ||
xmlns:mx="library://ns.adobe.com/flex/mx" | ||
windowComplete="onWindowComplete()" | ||
width="1024" height="768" | ||
backgroundColor="#F1F1F1"> | ||
|
||
<fx:Script> | ||
<![CDATA[ | ||
import com.tuarua.CommonDependencies; | ||
import com.tuarua.WebViewANE; | ||
import com.tuarua.webview.Settings; | ||
private var commonDependenciesANE:CommonDependencies = new CommonDependencies();//must create before all others | ||
private var webview:WebViewANE = new WebViewANE(); | ||
protected function onWindowComplete():void { | ||
var viewport:Rectangle = getBounds(this); | ||
var settings:Settings = new Settings(); | ||
webview.init(stage, viewport, "https://html5test.com", settings, 1, 0xFFF1F1F1, true); | ||
webview.visible = true; | ||
} | ||
]]> | ||
import com.tuarua.CommonDependencies; | ||
import com.tuarua.WebViewANE; | ||
import com.tuarua.webview.Settings; | ||
private var commonDependenciesANE:CommonDependencies = new CommonDependencies();//must create before all others | ||
private var webview:WebViewANE = new WebViewANE(); | ||
protected function onWindowComplete():void { | ||
this.stage.nativeWindow.addEventListener(NativeWindowBoundsEvent.RESIZE, onResize); | ||
var viewport:Rectangle = getBounds(this); | ||
var settings:Settings = new Settings(); | ||
webview.init(stage, viewport, "https://html5test.com", settings, 1, 0xFFF1F1F1); | ||
webview.visible = true; | ||
} | ||
private function onResize(event:NativeWindowBoundsEvent):void { | ||
webview.viewPort = new Rectangle(0, 0, event.afterBounds.width, event.afterBounds.height); | ||
} | ||
]]> | ||
</fx:Script> | ||
|
||
</s:WindowedApplication> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
native_extension/ane/platforms/win/x64/release/WebViewANE.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
native_extension/ane/platforms/win/x86/release/WebViewANE.dll
Binary file not shown.
Oops, something went wrong.