Re: convert mx:HTTPService to js:HTTPService

2019-04-24 Thread Piotr Zarzycki
; >> > >> > >> > >> *From: *Carlos Rovira > > > carlosrovira@ > > > > >> *Reply-To: *" > > > users@.apache > > > " > > > users@.apache > > > > >> *Date: *Monday, April 22, 2019 at 5:47

Re: convert mx:HTTPService to js:HTTPService

2019-04-22 Thread choirul anam
Harbs would know better. >> >> >> >> -Alex >> >> >> >> *From: *Carlos Rovira > carlosrovira@ > >> *Reply-To: *" > users@.apache > " > users@.apache > >> *Date: *Monday, April 22, 2019 at 5:47 AM >

Re: convert mx:HTTPService to js:HTTPService

2019-04-22 Thread Piotr Zarzycki
ovira > *Reply-To: *"users@royale.apache.org" > *Date: *Monday, April 22, 2019 at 5:47 AM > *To: *"users@royale.apache.org" > *Subject: *Re: convert mx:HTTPService to js:HTTPService > > > > Hi Alex, > > > > did you know if js:HTTPService can be used to se

Re: convert mx:HTTPService to js:HTTPService

2019-04-22 Thread Alex Harui
I think Yishay and/or Harbs would know better. -Alex From: Carlos Rovira Reply-To: "users@royale.apache.org" Date: Monday, April 22, 2019 at 5:47 AM To: "users@royale.apache.org" Subject: Re: convert mx:HTTPService to js:HTTPService Hi Alex, did you know if js:HTT

Re: convert mx:HTTPService to js:HTTPService

2019-04-22 Thread Carlos Rovira
Hi Alex, did you know if js:HTTPService can be used to send with POST so we can help choirul? thanks El sáb., 20 abr. 2019 a las 15:04, choirul anam () escribió: > Yes, I confirm this js:HTTPService is build successfully and running. > This example is for receiving data from the server. > >

Re: convert mx:HTTPService to js:HTTPService

2019-04-20 Thread choirul anam
Yes, I confirm this js:HTTPService is build successfully and running. This example is for receiving data from the server. Very appreciate if there is sample code using js:HTTPService that use to send some POST data to the server. Regards, Choirul -- Sent from:

Re: convert mx:HTTPService to js:HTTPService

2019-04-20 Thread Carlos Rovira
Hi Choriul, to start from a safe point. I suppose you started from this project: https://royale.apache.org/loading-external-data-through-httpservice/ right? This is using Jewel with HTTPService from Network, not from MXRoyale Can you confirm this compile and runs from you? Then we can move

Re: convert mx:HTTPService to js:HTTPService

2019-04-17 Thread Alex Harui
I have not used VSCode and asconfig.json. Check other examples. Maybe some others will help you, but I'm wondering if you have the options in the wrong place, maybe they should be fields of "compilerOptions". HTH, -Alex On 4/17/19, 9:43 PM, "choirul anam" wrote: Alex, Unable

Re: convert mx:HTTPService to js:HTTPService

2019-04-17 Thread choirul anam
Alex, Unable to build HelloWorld under examples/mxroyale This is link my vscode setting: https://pastebin.com/aeh61zCF I ensure that MXRoyale.swc is exists on my folder: D:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\frameworks\js\libs Regards, Choirul -- Sent from:

Re: convert mx:HTTPService to js:HTTPService

2019-04-17 Thread Alex Harui
I am unable to follow what has been tested and tried. First, try to build the HelloWorld.mxml in examples/mxroyale (not the one in examples/royale). If that doesn't build then we need to verify your settings. Put all of the console output (if you can get some from VSCode) into pastebin and

Re: convert mx:HTTPService to js:HTTPService

2019-04-17 Thread choirul anam
Hi, I Already add these lines to asconfig.json: "library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], "js-library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], But still get the same message: Error: This tag could not be resolved to an ActionScript

Re: convert mx:HTTPService to js:HTTPService

2019-04-16 Thread Carlos Rovira
Hi, ok so you're using asconfig.json. I only use it for VSCode completion, but I'm not building with it. try adding this: "library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], "js-library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], El mar., 16 abr. 2019 a las 11:22, choirul anam ()

Re: convert mx:HTTPService to js:HTTPService

2019-04-16 Thread choirul anam
This is my asconfig.json file in visual studio code: { "config": "royale", "compilerOptions": { "debug": false, "targets": ["JSRoyale"], "source-map": true, "html-template": "src/main/resources/jewel-example-index-template.html", "theme":

Re: convert mx:HTTPService to js:HTTPService

2019-04-16 Thread Carlos Rovira
t; > -Alex > > > > From: Carlos Rovira > > > carlosrovira@ > > > > > Reply-To: " > > > users@.apache > > > " > > > users@.apache > > > > > Date: Monday, April 15, 2019 at 2:45 AM > > To: &

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread choirul anam
o: " > users@.apache > " > users@.apache > > Subject: Re: convert mx:HTTPService to js:HTTPService > > I was checking my config and don't see other needs > > just this: > -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:d

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread choirul anam
Yes -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread Alex Harui
Do other mx tags work? You might need to use nightly builds/snapshot builds to get mx:HTTPService. HTH, -Alex From: Carlos Rovira Reply-To: "users@royale.apache.org" Date: Monday, April 15, 2019 at 2:45 AM To: "users@royale.apache.org" Subject: Re: convert mx:HTTPServi

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread Carlos Rovira
I was checking my config and don't see other needs just this: -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css but is to avoid css conflicts with MXRoyale until we get break MXRoyale in various SWCs El lun., 15 abr. 2019 a las 11:31, Carlos Rovira

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread Carlos Rovira
Do you have mx namespace added to the MXML file? xmlns:mx="library://ns.apache.org/royale/mx" El lun., 15 abr. 2019 a las 11:16, choirul anam () escribió: > I am using Visual Studio Code with ActionScript & MXML Extension. > > Trying to add your code to my pom.xml, but when i declare >

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread choirul anam
I am using Visual Studio Code with ActionScript & MXML Extension. Trying to add your code to my pom.xml, but when i declare compiler said : This tag is unexpected. It will be ignored.(1443) -- Sent from:

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread Carlos Rovira
In my app maven pom I have this: org.apache.royale.framework MXRoyale ${royale.framework.version} swc swf org.apache.royale.framework MXRoyale ${royale.framework.version} swc js Are you using ANT or other way? I think others use "additionalOptions": "+configname=flex" but I think that

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread choirul anam
i use royale royale 0.9.6 that already have MXRoyale.swc file in the : *apache-royale-0.9.6-bin-js-swf\royale-asjs\frameworks\js\libs* Sholud i add that file to my project folder too (is there any configuration file myabe)? Regards, Choirul -- Sent from:

Re: convert mx:HTTPService to js:HTTPService

2019-04-15 Thread Carlos Rovira
Hi Choriul, talking from my experience using RemoteObject, HTTPService should be the same. You add MXRoyale.swc to your project to make the MX HTTPService class available, then instantiate HTTPService as you use to do in flex, in MXML or AS3. Can you try and let us now if that works for you?

Re: convert mx:HTTPService to js:HTTPService

2019-04-14 Thread choirul anam
How to use MX Emulation of HTTPService together with jewel? I can't see in the example folder of royale how to send POST data using js:HTTPService Please help. Regards, Choirul -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: convert mx:HTTPService to js:HTTPService

2019-04-12 Thread Carlos Rovira
ers,...), so migration is more easy, but leverage the new things we have today in browsers and interfaces. El vie., 12 abr. 2019 a las 10:18, choirul anam () escribió: > How to convert mx:HTTPService to js:HTTPService ? > > method="POST" > resultFormat="text"

convert mx:HTTPService to js:HTTPService

2019-04-12 Thread choirul anam
How to convert mx:HTTPService to js:HTTPService ? {value1} {value2} {value3} I don't see Regards, Choirul -- Sent from: http://apache-royale-users.20374.n8.nabble.com/