Click event issues in Android build

2016-12-08 Thread griffo
Hi new to this forum. Flex mobile app iOS build is working well but when compiled for Android there are many issues which seem to be caused by events that don't complete. Some code runs while other code doesn't and this is for a MouseEvent.CLICK event, animation or other custom events. I've

Re: Flex as an operating system

2016-12-08 Thread Josh Tynjala
Some historical context for this behavior: https://sourceforge.net/adobe/flexsdk/wiki/Marshall%20Plan/ - Josh On Dec 8, 2016 7:17 AM, "flex capacitor" wrote: > Was Flex going to be an operating system at some point? The way it's setup > allows you to load multiple

Flex as an operating system

2016-12-08 Thread flex capacitor
Was Flex going to be an operating system at some point? The way it's setup allows you to load multiple applications into a system manager. Each of those applications can be moved and sized. Pop ups appear over all of them and they each have their own invalidation cycle. Was there ever a plan for

Re: Click event issues in Android build

2016-12-08 Thread Josh Tynjala
It might help if you could provide some example code that demonstrates the issue on Android. If others can't easily run the code to reproduce on their own devices, we can only guess what might be wrong. By the way, have you tried connecting the debugger to the app while it's running on Android?

Re: Flex as an operating system

2016-12-08 Thread Clint M
RIM used it as a front end on top of QNX for the Playbook. (AIR Based) http://www.adobe.com/devnet/devices/articles/blackberry-difference.html On Thu, Dec 8, 2016 at 7:16 AM, flex capacitor wrote: > Was Flex going to be an operating system at some point? The way it's

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Alex Harui
See MXMLItemRenderer. You either want to have a default layout or assign one. A parent sizes its children and if no layout is specified the children do not get size. Check the DOM to make sure all of the elements got created. It could also be that the renderer itself doesn't have a good size.

Re: Why there are same files exists in multiple places?

2016-12-08 Thread Carlos Rovira
2016-12-05 17:17 GMT+01:00 Alex Harui : > We could just fill HTML and HTML5 with the direct wrappers of elements. > Currently we are using more Flex-familiar names like Container and Label. > If we can think of a better SWC name for those things that's fine. The > point of HTML

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Carlos Rovira
Ok, I follow your indications and created a ListItemRenderer ni MDL swc, this will be the basic IR and outputs LI with appropriate MDL class. Now, I want this renderer to be able to be customized on user project (MDLExample), so to test I did: http://ns.adobe.com/mxml/2009;

Re: Slow performance > 1000 objects

2016-12-08 Thread Alex Harui
Run a profiler to see what is taking so much time. It could be just adding that many children, or it could be something each child does when being added that could be optimized or deferred for later. If it is just adding that many children, you could create an array of them and add them in

Re: Slow performance > 1000 objects

2016-12-08 Thread Clint M
instead of list.addChild you might want to have a look at using an mx:List or s:List with useVirtualLayout for that many items On Thu, Dec 8, 2016 at 9:54 AM, gmanupnorth wrote: > This piece of code is causing significant lag in our UI and was looking for > suggestions

Re: Why there are same files exists in multiple places?

2016-12-08 Thread Carlos Rovira
2016-12-05 16:41 GMT+01:00 Peter Ent : > Maybe we should have HTML just be the , , etc. components > that were recently introduced. Have HTML5 product be additional > HTML5-specific components, and leave Basic to be the original set. > > This way you would layer as needed: if you

Re: Flex as an operating system

2016-12-08 Thread Alex Harui
The Marshall Plan still generally expects a one-to-one association of a SystemManager with an Application. Lots of Flex apps have a central main Application that loads sub-Applications. By default, the main and sub-apps all have to be compiled with the same version of Flex otherwise changes to

Slow performance > 1000 objects

2016-12-08 Thread gmanupnorth
This piece of code is causing significant lag in our UI and was looking for suggestions on how to improve it. This builds up a list of approx 1400 items and takes 35-50 seconds to finish. AssetTreeChild is a custom component based on the VBOX AssetTreeChild.mxml

Re: Slow performance > 1000 objects

2016-12-08 Thread Justin Mclean
Hi, > Probably not the main issue but this line were chocolate length every time > through the list chocolate == calculate Damn autocorrect! But chocolate is nice as well. Justin

Re: Slow performance > 1000 objects

2016-12-08 Thread Justin Mclean
Hi. Probably not the main issue but this line were chocolate length every time through the list > for each ( var item:SmartAgentVO in value.Children ) It usually faster to use the more verbose: var length:int = value.children.length for (var i:int =0; i < length; i++)

Re: Slow performance > 1000 objects

2016-12-08 Thread Alex Harui
On 12/8/16, 12:17 PM, "João Fernandes" wrote: >Alex, didn't tell me once about the order of the actions (setStyle, >addChild) would also impact? Cant' remember what was the order but styling >and adding it as a child would also force additional

Re: Slow performance > 1000 objects

2016-12-08 Thread João Fernandes
Alex, didn't tell me once about the order of the actions (setStyle, addChild) would also impact? Cant' remember what was the order but styling and adding it as a child would also force additional invalidations. Regarding virtual layout, do the items need to be all visible at the same time? I

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Alex Harui
On 12/8/16, 2:08 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I changed ListItemRenderer to extend MXMLItemRenderer, but nothing changed >output is still: > > >WidgetsThingysclass="

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Carlos Rovira
No, I'm saying that I put a in the custom item renderer and is ignored (not hello in html output ) I only get the generated from createElement in the ListItemRenderer. So the problem is how to get the components declared in customitemrenderer outputs in html inside the tag created in

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Carlos Rovira
No Alex, the createElement only generates a tag (the container) I want the custom renderer to add inside the custom things (span,...icons,...img,...) http://ns.adobe.com/mxml/2009; xmlns:js="library://ns.apache.org/flexjs/basic"

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Alex Harui
On 12/8/16, 11:29 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >No Alex, > >the createElement only generates a tag (the container) I was trying to ask if the js:Span's constructor and/or createElement get

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Carlos Rovira
Hi Alex, I changed ListItemRenderer to extend MXMLItemRenderer, but nothing changed output is still: WidgetsThingysSprocketsDoohickies I don't have any issue with sizes and layouts. My problem is that I want to nest custom HTML things, for example a , and I don't get any output but the current

Re: Slow performance > 1000 objects

2016-12-08 Thread gmanupnorth
Thanks for all of the suggestions thus far. I removed the call to setstylebut the performance is still poor. The profiler so far has not been that useful, but I will keep digging tomorrow. Forgot to mention this project is locked on AS 3. The SDK is 3.6 I believe. Thanks, Gordon --

Re: [FlexJS] Conditional compilation in user projects

2016-12-08 Thread Alex Harui
Is the Span's createElement getting called? I would recommend using the debugger watch the Span get instantiated and added to the renderer. HTH, -Alex On 12/8/16, 2:41 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"

Re: Slow performance > 1000 objects

2016-12-08 Thread Alex Harui
On 12/8/16, 3:10 PM, "gmanupnorth" wrote: >Thanks for all of the suggestions thus far. I removed the call to >setstylebut the performance is still poor. > >The profiler so far has not been that useful, but I will keep digging >tomorrow. Feel free to post a link to