[FlexJS] Camera/Microphone access and Streaming with new FlexJS

2016-10-18 Thread Sahil Sharma
Dear Community member, Can you please help me in clarifying about the use of FlexJS to create Audio/Video applications in web based environment. Basically i want to create a live audio/video sharing application with a streaming server like Adobe media server/Red5 or others. I wanted to know if my

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread OmPrakash Muppirala
On Oct 18, 2016 7:51 PM, "bilbosax" wrote: > > OK, so it just got really interesting. I have 35 columns of data that have > to be displayed, which is too much to fit on the screen. So I put about 12 > columns on the screen at a time, and then use a "previous" or "next" button > to change the vis

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread Josh Tynjala
You could listen for mouse/touch events on the DataGrid (or maybe the stage) and check the target property of the event. It might give you a clue what is actually being touched. It could be that something unexpected (and invisible) is blocking it. - Josh On Oct 18, 2016 7:51 PM, "bilbosax" wrote

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread bilbosax
OK, so it just got really interesting. I have 35 columns of data that have to be displayed, which is too much to fit on the screen. So I put about 12 columns on the screen at a time, and then use a "previous" or "next" button to change the visibility of the columns that I want to display. So ess

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread bilbosax
I think that I am getting this error because the database is just a test database on an unsecure website server and it is not a secure connection. I handled it by changing some of the Apple Transport Security settings in my descriptor file and the problem is gone. But I am getting no exceptions t

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread bilbosax
I do get an error being thrown, but long before any actual sorting, so I don't know if it is having an effect on the sorting or not. The error is as follows: Error #2044: Unhandled ErrorEvent:. text=The resource could not be loaded because the App Transport Security policy requires the use of a s

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread OmPrakash Muppirala
You connect the USB cable and run it on Debug mode on the device itself. This link would help: http://help.adobe.com/en_US/flex/mobileapps/WSa8161994b114d624-33657d5912b7ab2d73b-7fe5.html#WSe4e4b720da9dedb5-2d82208b12e46a72ded-7ffc The only change is that you dont need to involve iTunes anymore.

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread OmPrakash Muppirala
Did you try running it in debug mode? Most likely a exception occurred. Thanks, Om On Tue, Oct 18, 2016 at 5:48 PM, bilbosax wrote: > I am able to connect to my services on my mobile device and retrieve data > from a remote database. I now have it displaying in a spark datagrid. I > want the

Re: Datagrid Sorting Problem on Mobile

2016-10-18 Thread bilbosax
When I run it in debug mode in the simulator, no exception is thrown and it sorts as it should. Is there a way to debug on the device to see if an exception has been thrown? (Device is an iPad) Thanks -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Datagrid-Sor

Datagrid Sorting Problem on Mobile

2016-10-18 Thread bilbosax
I am able to connect to my services on my mobile device and retrieve data from a remote database. I now have it displaying in a spark datagrid. I want the user to be able to sort the columns by clicking on the headers. It works great on the desktop. But on a mobile device, only the first five c

Re: Can't get custom component to size down properly

2016-10-18 Thread Clint M
Does this work for you? http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"> On Tue, Oct 18, 2016 at 12:31 PM, kamcknig wrote: > I think it has something to do with the fact that I'm setting the >

Re: Can't get custom component to size down properly

2016-10-18 Thread kamcknig
I think it has something to do with the fact that I'm setting the measuredMinWidth in the measure() method. So when sizing down, it's looking at the measuredMinWidth and it can't size it down below that. But if I take that out then my app runs forever. And continues to grow in width/height non-stop

Can't get custom component to size down properly

2016-10-18 Thread kamcknig
Hey everyone, I'm porting a project over to RobotLegs and I had a huge issue of the components not properly resizing. It has taken me almost two weeks but I've finally narrowed it down to one (hopefully) component causing all of the issues. I have boiled it down to a simple test project. In my t

Re: disableAutoUpdate

2016-10-18 Thread mark goldin
Unfortunately, my sort is a column header click with a sortfunction. On Tue, Oct 18, 2016 at 10:55 AM Clint M wrote: > var ac:ArrayCollection = grid.dataProvider as ArrayCollection > if(ac) { > ac.disableAutoUpdate(); > ac.sort = new Sort(); > ac.sort.fields = ["name"]; > ac.refresh(); >

Re: disableAutoUpdate

2016-10-18 Thread Clint M
var ac:ArrayCollection = grid.dataProvider as ArrayCollection if(ac) { ac.disableAutoUpdate(); ac.sort = new Sort(); ac.sort.fields = ["name"]; ac.refresh(); ac.enableAutoUpdate(); } On Tue, Oct 18, 2016 at 8:47 AM, mark goldin wrote: > But how am I going to know that a sort is done an

Re: disableAutoUpdate

2016-10-18 Thread mark goldin
But how am I going to know that a sort is done and I can enable it? On Tue, Oct 18, 2016 at 10:42 AM Clint M wrote: > ya... with enableAutoUpdate() > > On Tue, Oct 18, 2016 at 8:36 AM, mark goldin > wrote: > > > when I sort on some columns I > > do ArrayCollection(gird.dataProvider).disableAuto

Re: disableAutoUpdate

2016-10-18 Thread Clint M
ya... with enableAutoUpdate() On Tue, Oct 18, 2016 at 8:36 AM, mark goldin wrote: > when I sort on some columns I > do ArrayCollection(gird.dataProvider).disableAutoUpdate();. Should I at > some point enable it back? > > Thanks >

disableAutoUpdate

2016-10-18 Thread mark goldin
when I sort on some columns I do ArrayCollection(gird.dataProvider).disableAutoUpdate();. Should I at some point enable it back? Thanks

Re: [FlexJS] Support in BlazeDS communication

2016-10-18 Thread Alex Harui
On 10/17/16, 3:07 PM, "Justin Mclean" wrote: >Hi, > >> I'm hoping to start testing FlexJS in the very near future and one of >>the JS >> libraries I was going to try to test is amfjs >> (https://github.com/emilkm/amfjs). > >Licensing wise it's Apache licensed and bundles some MIT code (Promises

Re: My Services Don't Work On Mobile

2016-10-18 Thread Harbs
Good info, but the wrong answer was marked as correct on the forum. I just fixed that… ;-) On Oct 18, 2016, at 9:52 AM, OmPrakash Muppirala wrote: > You are welcome! I got hit by this recently, hence it is fresh in my > mind. Glad it all worked out for you :-) > > Thanks, > Om > > On Mon, O