how to run Flex app programmatically?

2015-07-02 Thread modjklist
Regarding Flex for desktop web app, I'd like to make an application that can be launched/run programmatically by a computing language (for example C+, or java, python, etc), where the program submits login credentials, then the application will run as its intended. This isn't for testing

Re: how to run Flex app programmatically?

2015-07-02 Thread Alex Harui
Are you asking about how to launch an AIR app with command line parameters? See the Invoke event. On 7/2/15, 7:51 AM, modjkl...@comcast.net modjkl...@comcast.net wrote: Thanks Tom, submit the POST yourself : http://flex.apache.org/asdoc/mx/rpc/http/HTTPService.html I guess the issue is my

Re: how to run Flex app programmatically?

2015-07-02 Thread pkumar.flex
Yes you can achieve this. Check for selenium flex api. You can directly lauch flex appp from java On 02-Jul-2015 7:03 pm, modjklist [via Apache Flex Users] ml-node+s246n1069...@n4.nabble.com wrote: Regarding Flex for desktop web app, I'd like to make an application that can be launched/run

Re: how to run Flex app programmatically?

2015-07-02 Thread modjklist
Thanks Alex, This may be the closest to what I'm asking. Have the customer save the Air application to their hard drive, then have their code launch it with arguments that can be used by the application to auto-log them in, perform processing, then exit the application. What if I update the

Re: how to run Flex app programmatically?

2015-07-02 Thread Tom Chiverton
If you just need to go to a web site and submit a form, the best thing to do is submit the POST yourself : http://flex.apache.org/asdoc/mx/rpc/http/HTTPService.html But it all depends what else you need to send (such as cookie) and if there really are not other steps to take once the form is

Re: how to run Flex app programmatically?

2015-07-02 Thread modjklist
Thanks Tom, submit the POST yourself : http://flex.apache.org/asdoc/mx/rpc/http/HTTPService.html I guess the issue is my application needs to submit the post, because it has to be running to receive the reply from the post, and continue further processing. The customer's manufacturing code

Re: how to run Flex app programmatically?

2015-07-02 Thread Alex Harui
On 7/2/15, 8:24 AM, modjkl...@comcast.net modjkl...@comcast.net wrote: Thanks Alex, This may be the closest to what I'm asking. Have the customer save the Air application to their hard drive, then have their code launch it with arguments that can be used by the application to auto-log them

Re: Show/hide checkbox in grid

2015-07-02 Thread Alex Harui
Wrap CheckBox in something else like a Canvas The DataGrid uses the visible property when recycling so you can’t use it for other purposes. On 7/2/15, 12:27 PM, mark goldin markzolo...@gmail.com wrote: I have the following datagrid: mx:DataGridColumn dataField=visible2 headerText=

Show/hide checkbox in grid

2015-07-02 Thread mark goldin
I have the following datagrid: mx:DataGridColumn dataField=visible2 headerText= textAlign=center width=35 mx:itemRenderer mx:Component mx:CheckBox visible={data.headerText2 != ''} / /mx:Component /mx:itemRenderer /mx:DataGridColumn mx:DataGridColumn headerText=Name dataField=headerText2 / The