Re: FlexJS: Cross Compilation Issue

2016-04-23 Thread Alex Harui
Ah yes, that's a bug. If your code is simple enough to not require the Language class, it doesn't get imported and things go bad. Please file a bug. It looks like JIRA may be up again. As a workaround, you can add a simple variable that forces the inclusion of the Language class such as:

Re: FlexJS: Cross Compilation Issue

2016-04-23 Thread PKumar
I am using FlexJS0.6.0 and below is code that I have written. * http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic">

Re: Determining Maximum Date from Array

2016-04-23 Thread Nemi
Did you try "if (tempDate.time > mxm.time)" ? Also, you should check if the first one is parsed ok! So check mxm after: var mxm:Date = convertSQLDate(ac1[0].eventDate); -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Determining-Maximum-Date-from-Array-tp12434p1

Re: Bad Datagrid scrolling performance on Yoga3 (core i5 / geforce 940M)

2016-04-23 Thread Nemi
Check how do you set data, is it binding, dataChange event or overriden set data() There is also a "trick" where you can speed up DataGrid scrolling, I can't remember exact code, it is something like: datagrid.scroller.verticalScrollbar.addEventListener(Event.CHANGE then in handler you force

Re: Scale font size of text to fit into a label with fixed dimensions?

2016-04-23 Thread Nemi
Check out TextlineMetrix and FontMetrics . Also Calculating Text Width In ActionScript

Re: Thanks to the Team

2016-04-23 Thread Karl KTA
I'm not a Facebook fan and I am sure any one of us have developed and app that we can use for our own community. I have just joined the FB group that was posted just now on this thread. Flex needs us to be ambassadors, to encourage more coders and even better still - and more quickly AS2 coder

Re: FlexJS: Cross Compilation Issue

2016-04-23 Thread Alex Harui
Which version of FlexJS are you using? Thanks, -Alex On 4/22/16, 11:38 PM, "PKumar" wrote: >Hi, > >I am creating demo to show app background image. I can see the image in >Flash version but when i am cross compiling it to JS then app compiles >successfully but i can not view image in browser. H

Re: Thanks to the Team

2016-04-23 Thread Nemi
I agree. What I found out in last few years, when someone approaches me and talks about Flex/AIR in like not having future, I always found that that they haven't never build a larger project, and don't understand common developer needs and the offer Flex gives you. Many still don't understand Flash

Re: Build Flex Mobile Apps with different Assets

2016-04-23 Thread Nemi
Use ANT script per app you want to build. Organize that "additional" (in your case only assets) source files paths like: app1/src/MyAssets.as app2/src/MyAssets.as app3/src/MyAssets.as ... and move them outside main src source files path. In ANT build scripts include proper assets source files. I

FlexJS: Cross Compilation Issue

2016-04-23 Thread PKumar
Hi, I am creating demo to show app background image. I can see the image in Flash version but when i am cross compiling it to JS then app compiles successfully but i can not view image in browser. Here i am attaching the chrome browser console output and compilation warning. Apr 23, 2016 12:32:0

Re: Multi select combo

2016-04-23 Thread Evyatar Ben Halevi-Arbib
I once created a custom component per our Product Manager's request where a list of check-boxes was displayed (using PopupAnchor) and the selected values concatenation (with commas) was displayed in a text-area. Clicking the text-area opened the list... בתאריך 22 באפר 2016 15:56,‏ "mark goldin" כת