royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [royale-asjs.wiki] branch master updated: Give it a bit more body
Date Tue, 03 Oct 2017 09:22:48 GMT
This is an automated email from the ASF dual-hosted git repository.

erikdebruin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 456a558  Give it a bit more body
456a558 is described below

commit 456a5584140dd707e68eec61649d48a9042bf275
Author: Erik de Bruin <erik@ixsoftware.nl>
AuthorDate: Tue Oct 3 11:22:42 2017 +0200

    Give it a bit more body
    
    Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
---
 Quick-Start.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 50 insertions(+), 4 deletions(-)

diff --git a/Quick-Start.md b/Quick-Start.md
index f4d1dce..5c0ff7d 100644
--- a/Quick-Start.md
+++ b/Quick-Start.md
@@ -1,7 +1,53 @@
-1) Set prerequisites; get and build source ([Project README](https://github.com/apache/royale-asjs))
+- Set prerequisites; get and build source ([Project README](https://github.com/apache/royale-asjs))
 
-2) Download and install Visual Studio Code
+- Download and install [Visual Studio Code](https://code.visualstudio.com/)
 
-3) Do more stuff
+- Install Josh Tynjala's [asconfigc](https://www.npmjs.com/package/asconfigc), a command
line utility for compiling AS/MXML projects
 
-4) Test editing using GitHub Wiki edit tool
+- Install the [AS/MXML VSCode Extension](https://nextgenactionscript.com) by the same author
+
+- Select a workspace in VSCode
+
+- Select SDK for workspace
+
+- Set up project:
+
+      project
+      |
+      + -- src
+      |    |
+      |    \ -- HelloFlexJS.mxml
+      |
+      + -- asconfig.json
+
+  - in '*asconfig.json*':
+
+    ```json
+    {
+	    "compilerOptions": {
+		    "targets": [
+			    "JSFlex"
+		    ]
+	    },
+	    "files": [
+		    "src/HelloFlexJS.mxml"
+	    ]
+    }
+    ```
+
+  - in '*src/HelloFlexJS.mxml*'
+
+    ```xml
+    <?xml version="1.0" encoding="utf-8"?>
+    <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
+    	<js:initialView>
+    		<js:View>
+    			<js:Label text="Hello World" x="100" y="100"/>
+    		</js:View>
+    	</js:initialView>
+    </js:Application>
+    ```
+
+- Select the Debug panel in VSCode and hit the green arrow ('run') to build and run the application.
+
+- Hello World!

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message